@tripsam/onboarding 1.0.15 → 1.0.16

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/index.cjs CHANGED
@@ -111,9 +111,9 @@ var pickupLandmark = import_zod3.z.object({
111
111
  distanceKm: import_zod3.z.coerce.number()
112
112
  });
113
113
  var save = import_zod3.z.object({
114
- locationId: import_zod3.z.string(),
115
- safariLocation: import_zod3.z.string(),
116
- pickupLocation: import_zod3.z.string(),
114
+ locationId: import_zod3.z.string().trim().nonempty("required"),
115
+ safariLocation: import_zod3.z.string().trim().nonempty("required"),
116
+ pickupLocation: import_zod3.z.string().trim().nonempty("required"),
117
117
  pickupLandmarks: import_zod3.z.array(pickupLandmark)
118
118
  });
119
119
  var me2 = import_zod3.z.object({
package/dist/index.js CHANGED
@@ -89,9 +89,9 @@ var pickupLandmark = z3.object({
89
89
  distanceKm: z3.coerce.number()
90
90
  });
91
91
  var save = z3.object({
92
- locationId: z3.string(),
93
- safariLocation: z3.string(),
94
- pickupLocation: z3.string(),
92
+ locationId: z3.string().trim().nonempty("required"),
93
+ safariLocation: z3.string().trim().nonempty("required"),
94
+ pickupLocation: z3.string().trim().nonempty("required"),
95
95
  pickupLandmarks: z3.array(pickupLandmark)
96
96
  });
97
97
  var me2 = z3.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -12,7 +12,9 @@
12
12
  "require": "./dist/index.cjs"
13
13
  }
14
14
  },
15
- "files": ["dist/"],
15
+ "files": [
16
+ "dist/"
17
+ ],
16
18
  "scripts": {
17
19
  "build": "tsup src/index.ts --dts --format esm,cjs --out-dir dist --clean --splitting false",
18
20
  "clean": "rimraf dist",
@@ -27,5 +29,7 @@
27
29
  "rimraf": "^5.0.0",
28
30
  "zod": "^4.1.11"
29
31
  },
30
- "publishConfig": { "access": "public" }
31
- }
32
+ "publishConfig": {
33
+ "access": "public"
34
+ }
35
+ }