@tripsam/main 2.0.4 → 2.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/index.cjs +3 -3
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -162,9 +162,9 @@ __export(safari_exports, {
|
|
|
162
162
|
var import_zod6 = __toESM(require("zod"), 1);
|
|
163
163
|
var safariSearchSchema = import_zod6.default.object({
|
|
164
164
|
locationId: import_zod6.default.string().optional(),
|
|
165
|
-
adults: import_zod6.default.number().min(1).default(2),
|
|
166
|
-
kids: import_zod6.default.number().min(0).default(1),
|
|
167
|
-
infants: import_zod6.default.number().min(0).default(0),
|
|
165
|
+
adults: import_zod6.default.coerce.number().min(1).default(2),
|
|
166
|
+
kids: import_zod6.default.coerce.number().min(0).default(1),
|
|
167
|
+
infants: import_zod6.default.coerce.number().min(0).default(0),
|
|
168
168
|
date: import_zod6.default.string().optional().default("")
|
|
169
169
|
});
|
|
170
170
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.d.cts
CHANGED
|
@@ -135,9 +135,9 @@ declare namespace location$1 {
|
|
|
135
135
|
|
|
136
136
|
declare const safariSearchSchema: z$1.ZodObject<{
|
|
137
137
|
locationId: z$1.ZodOptional<z$1.ZodString>;
|
|
138
|
-
adults: z$1.ZodDefault<z$1.
|
|
139
|
-
kids: z$1.ZodDefault<z$1.
|
|
140
|
-
infants: z$1.ZodDefault<z$1.
|
|
138
|
+
adults: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
139
|
+
kids: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
140
|
+
infants: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
141
141
|
date: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
142
142
|
}, z$1.core.$strip>;
|
|
143
143
|
type SafariSearch = z$1.infer<typeof safariSearchSchema>;
|
package/dist/index.d.ts
CHANGED
|
@@ -135,9 +135,9 @@ declare namespace location$1 {
|
|
|
135
135
|
|
|
136
136
|
declare const safariSearchSchema: z$1.ZodObject<{
|
|
137
137
|
locationId: z$1.ZodOptional<z$1.ZodString>;
|
|
138
|
-
adults: z$1.ZodDefault<z$1.
|
|
139
|
-
kids: z$1.ZodDefault<z$1.
|
|
140
|
-
infants: z$1.ZodDefault<z$1.
|
|
138
|
+
adults: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
139
|
+
kids: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
140
|
+
infants: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
141
141
|
date: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
142
142
|
}, z$1.core.$strip>;
|
|
143
143
|
type SafariSearch = z$1.infer<typeof safariSearchSchema>;
|
package/dist/index.js
CHANGED
|
@@ -127,9 +127,9 @@ __export(safari_exports, {
|
|
|
127
127
|
import z6 from "zod";
|
|
128
128
|
var safariSearchSchema = z6.object({
|
|
129
129
|
locationId: z6.string().optional(),
|
|
130
|
-
adults: z6.number().min(1).default(2),
|
|
131
|
-
kids: z6.number().min(0).default(1),
|
|
132
|
-
infants: z6.number().min(0).default(0),
|
|
130
|
+
adults: z6.coerce.number().min(1).default(2),
|
|
131
|
+
kids: z6.coerce.number().min(0).default(1),
|
|
132
|
+
infants: z6.coerce.number().min(0).default(0),
|
|
133
133
|
date: z6.string().optional().default("")
|
|
134
134
|
});
|
|
135
135
|
export {
|