@bizmap/sdk 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.d.ts CHANGED
@@ -181,7 +181,7 @@ declare const CompanyRegistrationClaims: z.ZodObject<{
181
181
  type CompanyRegistrationClaims = z.infer<typeof CompanyRegistrationClaims>;
182
182
 
183
183
  declare const UserCompaniesDTO: z.ZodObject<{
184
- companies: {
184
+ companies: z.ZodArray<z.ZodObject<{
185
185
  createdAt: z.ZodReadonly<z.ZodNumber>;
186
186
  lastModified: z.ZodNullable<z.ZodNumber>;
187
187
  uid: z.ZodString;
@@ -196,7 +196,7 @@ declare const UserCompaniesDTO: z.ZodObject<{
196
196
  country: "country";
197
197
  }>, z.ZodString>;
198
198
  phoneNumber: z.ZodOptional<z.ZodString>;
199
- };
199
+ }, z.core.$strip>>;
200
200
  }, z.core.$strip>;
201
201
  type UserCompaniesDTO = z.infer<typeof UserCompaniesDTO>;
202
202
  declare const companyUserRoles: z.ZodEnum<{
package/dist/main.js CHANGED
@@ -44,7 +44,7 @@ import * as z4 from "zod";
44
44
  import * as z3 from "zod";
45
45
  import { UserModel } from "@wavy/util";
46
46
  var UserCompaniesDTO = z3.object({
47
- companies: CompanyInfo.shape
47
+ companies: z3.array(CompanyInfo)
48
48
  });
49
49
  var companyUserRoles = z3.enum([
50
50
  "doc",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizmap/sdk",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "main": "./dist/main.js",
5
5
  "types": "./dist/main.d.ts",
6
6
  "type": "module",
@@ -15,9 +15,12 @@
15
15
  "keywords": [],
16
16
  "author": "",
17
17
  "license": "MIT",
18
+ "peerDependencies": {
19
+ "zod": "^4.2.1"
20
+ },
18
21
  "description": "",
19
22
  "devDependencies": {
20
- "@wavy/util": "^0.0.6",
23
+ "@wavy/util": "^0.0.7",
21
24
  "tsup": "^8.5.0",
22
25
  "typescript": "^5.9.2",
23
26
  "zod": "^4.2.1"