@tripsam/onboarding 1.0.84 → 1.0.85

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.
@@ -73,10 +73,10 @@ var onboard = import_zod2.z.object({
73
73
  var onboardUser = import_zod2.z.object({
74
74
  id: import_zod2.z.string(),
75
75
  email: import_zod2.z.string(),
76
- countryCode: import_zod2.z.string(),
77
- phone: import_zod2.z.string(),
78
- isPhoneVerified: import_zod2.z.boolean(),
79
- fullName: import_zod2.z.string().optional().default("")
76
+ countryCode: import_zod2.z.string().default("+91"),
77
+ phone: import_zod2.z.string().nullable().default(null),
78
+ isPhoneVerified: import_zod2.z.boolean().default(false),
79
+ fullName: import_zod2.z.string().nullable().default(null)
80
80
  });
81
81
  var list = import_zod2.z.array(onboard);
82
82
 
@@ -1,2 +1,2 @@
1
- export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-3sBFlxcZ.cjs';
1
+ export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-BwP3Ivkt.cjs';
2
2
  import 'zod';
@@ -1,2 +1,2 @@
1
- export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-3sBFlxcZ.js';
1
+ export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-BwP3Ivkt.js';
2
2
  import 'zod';
@@ -40,10 +40,10 @@ var onboard = z2.object({
40
40
  var onboardUser = z2.object({
41
41
  id: z2.string(),
42
42
  email: z2.string(),
43
- countryCode: z2.string(),
44
- phone: z2.string(),
45
- isPhoneVerified: z2.boolean(),
46
- fullName: z2.string().optional().default("")
43
+ countryCode: z2.string().default("+91"),
44
+ phone: z2.string().nullable().default(null),
45
+ isPhoneVerified: z2.boolean().default(false),
46
+ fullName: z2.string().nullable().default(null)
47
47
  });
48
48
  var list = z2.array(onboard);
49
49
 
@@ -39,10 +39,10 @@ declare const onboard: z.ZodObject<{
39
39
  declare const onboardUser: z.ZodObject<{
40
40
  id: z.ZodString;
41
41
  email: z.ZodString;
42
- countryCode: z.ZodString;
43
- phone: z.ZodString;
44
- isPhoneVerified: z.ZodBoolean;
45
- fullName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
42
+ countryCode: z.ZodDefault<z.ZodString>;
43
+ phone: z.ZodDefault<z.ZodNullable<z.ZodString>>;
44
+ isPhoneVerified: z.ZodDefault<z.ZodBoolean>;
45
+ fullName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
46
46
  }, z.core.$strip>;
47
47
  declare const list: z.ZodArray<z.ZodObject<{
48
48
  id: z.ZodString;
@@ -39,10 +39,10 @@ declare const onboard: z.ZodObject<{
39
39
  declare const onboardUser: z.ZodObject<{
40
40
  id: z.ZodString;
41
41
  email: z.ZodString;
42
- countryCode: z.ZodString;
43
- phone: z.ZodString;
44
- isPhoneVerified: z.ZodBoolean;
45
- fullName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
42
+ countryCode: z.ZodDefault<z.ZodString>;
43
+ phone: z.ZodDefault<z.ZodNullable<z.ZodString>>;
44
+ isPhoneVerified: z.ZodDefault<z.ZodBoolean>;
45
+ fullName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
46
46
  }, z.core.$strip>;
47
47
  declare const list: z.ZodArray<z.ZodObject<{
48
48
  id: z.ZodString;
package/dist/index.cjs CHANGED
@@ -440,10 +440,10 @@ var onboard = import_zod13.z.object({
440
440
  var onboardUser = import_zod13.z.object({
441
441
  id: import_zod13.z.string(),
442
442
  email: import_zod13.z.string(),
443
- countryCode: import_zod13.z.string(),
444
- phone: import_zod13.z.string(),
445
- isPhoneVerified: import_zod13.z.boolean(),
446
- fullName: import_zod13.z.string().optional().default("")
443
+ countryCode: import_zod13.z.string().default("+91"),
444
+ phone: import_zod13.z.string().nullable().default(null),
445
+ isPhoneVerified: import_zod13.z.boolean().default(false),
446
+ fullName: import_zod13.z.string().nullable().default(null)
447
447
  });
448
448
  var list3 = import_zod13.z.array(onboard);
449
449
 
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { i as SafariOnboarding } from './index-DWRF0MBf.cjs';
2
- export { i as CommonOnboarding } from './index-3sBFlxcZ.cjs';
2
+ export { i as CommonOnboarding } from './index-BwP3Ivkt.cjs';
3
3
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { i as SafariOnboarding } from './index-DWRF0MBf.js';
2
- export { i as CommonOnboarding } from './index-3sBFlxcZ.js';
2
+ export { i as CommonOnboarding } from './index-BwP3Ivkt.js';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -409,10 +409,10 @@ var onboard = z13.object({
409
409
  var onboardUser = z13.object({
410
410
  id: z13.string(),
411
411
  email: z13.string(),
412
- countryCode: z13.string(),
413
- phone: z13.string(),
414
- isPhoneVerified: z13.boolean(),
415
- fullName: z13.string().optional().default("")
412
+ countryCode: z13.string().default("+91"),
413
+ phone: z13.string().nullable().default(null),
414
+ isPhoneVerified: z13.boolean().default(false),
415
+ fullName: z13.string().nullable().default(null)
416
416
  });
417
417
  var list3 = z13.array(onboard);
418
418
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",