@voyantjs/storefront-react 0.6.8 → 0.6.9

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.
@@ -15,7 +15,7 @@ export declare function useStorefrontOffer(slug: string | null | undefined, opti
15
15
  applicableDepartureIds: string[];
16
16
  validFrom: string | null;
17
17
  validTo: string | null;
18
- minPassengers: number | null;
18
+ minTravelers: number | null;
19
19
  imageMobileUrl: string | null;
20
20
  imageDesktopUrl: string | null;
21
21
  stackable: boolean;
@@ -15,7 +15,7 @@ export declare function useStorefrontProductOffers(productId: string | null | un
15
15
  applicableDepartureIds: string[];
16
16
  validFrom: string | null;
17
17
  validTo: string | null;
18
- minPassengers: number | null;
18
+ minTravelers: number | null;
19
19
  imageMobileUrl: string | null;
20
20
  imageDesktopUrl: string | null;
21
21
  stackable: boolean;
@@ -32,7 +32,7 @@ export declare function useStorefrontSettings(options?: UseStorefrontSettingsOpt
32
32
  }[];
33
33
  }[];
34
34
  };
35
- passengers: {
35
+ travelers: {
36
36
  fields: {
37
37
  key: string;
38
38
  label: string;
@@ -31,7 +31,7 @@ export declare function getStorefrontSettings(client: FetchWithValidationOptions
31
31
  }[];
32
32
  }[];
33
33
  };
34
- passengers: {
34
+ travelers: {
35
35
  fields: {
36
36
  key: string;
37
37
  label: string;
@@ -246,7 +246,7 @@ export declare function listStorefrontProductOffers(client: FetchWithValidationO
246
246
  applicableDepartureIds: string[];
247
247
  validFrom: string | null;
248
248
  validTo: string | null;
249
- minPassengers: number | null;
249
+ minTravelers: number | null;
250
250
  imageMobileUrl: string | null;
251
251
  imageDesktopUrl: string | null;
252
252
  stackable: boolean;
@@ -267,7 +267,7 @@ export declare function getStorefrontOfferBySlug(client: FetchWithValidationOpti
267
267
  applicableDepartureIds: string[];
268
268
  validFrom: string | null;
269
269
  validTo: string | null;
270
- minPassengers: number | null;
270
+ minTravelers: number | null;
271
271
  imageMobileUrl: string | null;
272
272
  imageDesktopUrl: string | null;
273
273
  stackable: boolean;
@@ -31,7 +31,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
31
31
  }[];
32
32
  }[];
33
33
  };
34
- passengers: {
34
+ travelers: {
35
35
  fields: {
36
36
  key: string;
37
37
  label: string;
@@ -88,7 +88,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
88
88
  }[];
89
89
  }[];
90
90
  };
91
- passengers: {
91
+ travelers: {
92
92
  fields: {
93
93
  key: string;
94
94
  label: string;
@@ -146,7 +146,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
146
146
  }[];
147
147
  }[];
148
148
  };
149
- passengers: {
149
+ travelers: {
150
150
  fields: {
151
151
  key: string;
152
152
  label: string;
@@ -206,7 +206,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
206
206
  }[];
207
207
  }[];
208
208
  };
209
- passengers: {
209
+ travelers: {
210
210
  fields: {
211
211
  key: string;
212
212
  label: string;
@@ -920,7 +920,7 @@ export declare function getStorefrontProductOffersQueryOptions(client: FetchWith
920
920
  applicableDepartureIds: string[];
921
921
  validFrom: string | null;
922
922
  validTo: string | null;
923
- minPassengers: number | null;
923
+ minTravelers: number | null;
924
924
  imageMobileUrl: string | null;
925
925
  imageDesktopUrl: string | null;
926
926
  stackable: boolean;
@@ -940,7 +940,7 @@ export declare function getStorefrontProductOffersQueryOptions(client: FetchWith
940
940
  applicableDepartureIds: string[];
941
941
  validFrom: string | null;
942
942
  validTo: string | null;
943
- minPassengers: number | null;
943
+ minTravelers: number | null;
944
944
  imageMobileUrl: string | null;
945
945
  imageDesktopUrl: string | null;
946
946
  stackable: boolean;
@@ -964,7 +964,7 @@ export declare function getStorefrontProductOffersQueryOptions(client: FetchWith
964
964
  applicableDepartureIds: string[];
965
965
  validFrom: string | null;
966
966
  validTo: string | null;
967
- minPassengers: number | null;
967
+ minTravelers: number | null;
968
968
  imageMobileUrl: string | null;
969
969
  imageDesktopUrl: string | null;
970
970
  stackable: boolean;
@@ -993,7 +993,7 @@ export declare function getStorefrontProductOffersQueryOptions(client: FetchWith
993
993
  applicableDepartureIds: string[];
994
994
  validFrom: string | null;
995
995
  validTo: string | null;
996
- minPassengers: number | null;
996
+ minTravelers: number | null;
997
997
  imageMobileUrl: string | null;
998
998
  imageDesktopUrl: string | null;
999
999
  stackable: boolean;
@@ -1017,7 +1017,7 @@ export declare function getStorefrontOfferQueryOptions(client: FetchWithValidati
1017
1017
  applicableDepartureIds: string[];
1018
1018
  validFrom: string | null;
1019
1019
  validTo: string | null;
1020
- minPassengers: number | null;
1020
+ minTravelers: number | null;
1021
1021
  imageMobileUrl: string | null;
1022
1022
  imageDesktopUrl: string | null;
1023
1023
  stackable: boolean;
@@ -1037,7 +1037,7 @@ export declare function getStorefrontOfferQueryOptions(client: FetchWithValidati
1037
1037
  applicableDepartureIds: string[];
1038
1038
  validFrom: string | null;
1039
1039
  validTo: string | null;
1040
- minPassengers: number | null;
1040
+ minTravelers: number | null;
1041
1041
  imageMobileUrl: string | null;
1042
1042
  imageDesktopUrl: string | null;
1043
1043
  stackable: boolean;
@@ -1058,7 +1058,7 @@ export declare function getStorefrontOfferQueryOptions(client: FetchWithValidati
1058
1058
  applicableDepartureIds: string[];
1059
1059
  validFrom: string | null;
1060
1060
  validTo: string | null;
1061
- minPassengers: number | null;
1061
+ minTravelers: number | null;
1062
1062
  imageMobileUrl: string | null;
1063
1063
  imageDesktopUrl: string | null;
1064
1064
  stackable: boolean;
@@ -1081,7 +1081,7 @@ export declare function getStorefrontOfferQueryOptions(client: FetchWithValidati
1081
1081
  applicableDepartureIds: string[];
1082
1082
  validFrom: string | null;
1083
1083
  validTo: string | null;
1084
- minPassengers: number | null;
1084
+ minTravelers: number | null;
1085
1085
  imageMobileUrl: string | null;
1086
1086
  imageDesktopUrl: string | null;
1087
1087
  stackable: boolean;
package/dist/schemas.d.ts CHANGED
@@ -47,7 +47,7 @@ export declare const storefrontSettingsResponseSchema: z.ZodObject<{
47
47
  }, z.core.$strip>>;
48
48
  }, z.core.$strip>>;
49
49
  }, z.core.$strip>;
50
- passengers: z.ZodObject<{
50
+ travelers: z.ZodObject<{
51
51
  fields: z.ZodArray<z.ZodObject<{
52
52
  key: z.ZodString;
53
53
  label: z.ZodString;
@@ -200,7 +200,7 @@ export declare const storefrontPromotionalOfferListResponseSchema: z.ZodObject<{
200
200
  applicableDepartureIds: z.ZodArray<z.ZodString>;
201
201
  validFrom: z.ZodNullable<z.ZodString>;
202
202
  validTo: z.ZodNullable<z.ZodString>;
203
- minPassengers: z.ZodNullable<z.ZodNumber>;
203
+ minTravelers: z.ZodNullable<z.ZodNumber>;
204
204
  imageMobileUrl: z.ZodNullable<z.ZodString>;
205
205
  imageDesktopUrl: z.ZodNullable<z.ZodString>;
206
206
  stackable: z.ZodBoolean;
@@ -224,7 +224,7 @@ export declare const storefrontPromotionalOfferResponseSchema: z.ZodObject<{
224
224
  applicableDepartureIds: z.ZodArray<z.ZodString>;
225
225
  validFrom: z.ZodNullable<z.ZodString>;
226
226
  validTo: z.ZodNullable<z.ZodString>;
227
- minPassengers: z.ZodNullable<z.ZodNumber>;
227
+ minTravelers: z.ZodNullable<z.ZodNumber>;
228
228
  imageMobileUrl: z.ZodNullable<z.ZodString>;
229
229
  imageDesktopUrl: z.ZodNullable<z.ZodString>;
230
230
  stackable: z.ZodBoolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/storefront-react",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "react": "^19.0.0",
36
36
  "react-dom": "^19.0.0",
37
37
  "zod": "^4.0.0",
38
- "@voyantjs/storefront": "0.6.8"
38
+ "@voyantjs/storefront": "0.6.9"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@tanstack/react-query": "^5.96.2",
@@ -46,12 +46,12 @@
46
46
  "typescript": "^6.0.2",
47
47
  "vitest": "^4.1.2",
48
48
  "zod": "^4.3.6",
49
- "@voyantjs/react": "0.6.8",
50
- "@voyantjs/storefront": "0.6.8",
51
- "@voyantjs/voyant-typescript-config": "0.1.0"
49
+ "@voyantjs/storefront": "0.6.9",
50
+ "@voyantjs/voyant-typescript-config": "0.1.0",
51
+ "@voyantjs/react": "0.6.9"
52
52
  },
53
53
  "dependencies": {
54
- "@voyantjs/react": "0.6.8"
54
+ "@voyantjs/react": "0.6.9"
55
55
  },
56
56
  "files": [
57
57
  "dist"