@voyantjs/storefront-sdk 0.105.0 → 0.106.0

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.d.ts CHANGED
@@ -381,7 +381,7 @@ export declare function createVoyantStorefrontClient(options: VoyantStorefrontCl
381
381
  kind: "code" | "slug";
382
382
  value: string;
383
383
  result: {
384
- status: "applied" | "not_applicable" | "conflict" | "invalid";
384
+ status: "applied" | "invalid" | "not_applicable" | "conflict";
385
385
  reason: "currency" | "scope" | "booking_mismatch" | "min_pax" | "conflict" | "eligibility" | "no_discount" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "session_mismatch" | null;
386
386
  offer: {
387
387
  id: string;
@@ -370,7 +370,7 @@ export declare function previewStorefrontDeparturePrice(client: ResolvedClientOp
370
370
  kind: "code" | "slug";
371
371
  value: string;
372
372
  result: {
373
- status: "applied" | "not_applicable" | "conflict" | "invalid";
373
+ status: "applied" | "invalid" | "not_applicable" | "conflict";
374
374
  reason: "currency" | "scope" | "booking_mismatch" | "min_pax" | "conflict" | "eligibility" | "no_discount" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "session_mismatch" | null;
375
375
  offer: {
376
376
  id: string;
package/dist/schemas.d.ts CHANGED
@@ -433,9 +433,9 @@ export declare const storefrontDeparturePricePreviewResponseSchema: z.ZodObject<
433
433
  result: z.ZodNullable<z.ZodLazy<z.ZodObject<{
434
434
  status: z.ZodEnum<{
435
435
  applied: "applied";
436
+ invalid: "invalid";
436
437
  not_applicable: "not_applicable";
437
438
  conflict: "conflict";
438
- invalid: "invalid";
439
439
  }>;
440
440
  reason: z.ZodNullable<z.ZodEnum<{
441
441
  currency: "currency";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/storefront-sdk",
3
- "version": "0.105.0",
3
+ "version": "0.106.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,17 +48,17 @@
48
48
  },
49
49
  "peerDependencies": {
50
50
  "zod": "^4.0.0",
51
- "@voyantjs/bookings": "^0.105.0",
52
- "@voyantjs/checkout": "^0.105.0",
53
- "@voyantjs/storefront": "^0.105.0"
51
+ "@voyantjs/bookings": "^0.106.0",
52
+ "@voyantjs/checkout": "^0.106.0",
53
+ "@voyantjs/storefront": "^0.106.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "typescript": "^6.0.2",
57
57
  "vitest": "^4.1.2",
58
58
  "zod": "^4.3.6",
59
- "@voyantjs/bookings": "^0.105.0",
60
- "@voyantjs/checkout": "^0.105.0",
61
- "@voyantjs/storefront": "^0.105.0",
59
+ "@voyantjs/bookings": "^0.106.0",
60
+ "@voyantjs/checkout": "^0.106.0",
61
+ "@voyantjs/storefront": "^0.106.0",
62
62
  "@voyantjs/voyant-typescript-config": "^0.1.0"
63
63
  },
64
64
  "files": [