@shopify/hydrogen 1.6.8 → 1.7.1
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/esnext/components/CartProvider/CartActions.client.d.ts +4 -2
- package/dist/esnext/components/CartProvider/CartActions.client.js +20 -11
- package/dist/esnext/components/CartProvider/CartProvider.client.d.ts +4 -2
- package/dist/esnext/components/CartProvider/CartProvider.client.js +6 -2
- package/dist/esnext/components/CartProvider/cart-queries.js +10 -9
- package/dist/esnext/components/CartProvider/graphql/CartAttributesUpdateMutation.d.ts +2 -1
- package/dist/esnext/components/CartProvider/graphql/CartBuyerIdentityUpdateMutation.d.ts +2 -1
- package/dist/esnext/components/CartProvider/graphql/CartCreateMutation.d.ts +2 -1
- package/dist/esnext/components/CartProvider/graphql/CartDiscountCodesUpdateMutation.d.ts +2 -1
- package/dist/esnext/components/CartProvider/graphql/CartFragment.d.ts +1 -1
- package/dist/esnext/components/CartProvider/graphql/CartLineAddMutation.d.ts +2 -1
- package/dist/esnext/components/CartProvider/graphql/CartLineRemoveMutation.d.ts +2 -1
- package/dist/esnext/components/CartProvider/graphql/CartLineUpdateMutation.d.ts +2 -1
- package/dist/esnext/components/CartProvider/graphql/CartNoteUpdateMutation.d.ts +2 -1
- package/dist/esnext/components/CartProvider/graphql/CartQuery.d.ts +2 -1
- package/dist/esnext/components/CartProvider/useCartAPIStateMachine.client.d.ts +4 -2
- package/dist/esnext/components/CartProvider/useCartAPIStateMachine.client.js +2 -1
- package/dist/esnext/entry-server.js +1 -1
- package/dist/esnext/foundation/Cache/cache.js +4 -3
- package/dist/esnext/storefront-api-types.d.ts +114 -95
- package/dist/esnext/storefront-api-types.js +2 -0
- package/dist/esnext/utilities/hash.js +1 -1
- package/dist/esnext/version.d.ts +1 -1
- package/dist/esnext/version.js +1 -1
- package/package.json +1 -1
|
@@ -81,6 +81,8 @@ export var CheckoutErrorCode;
|
|
|
81
81
|
CheckoutErrorCode["CustomerAlreadyUsedOncePerCustomerDiscountNotice"] = "CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE";
|
|
82
82
|
/** Discount already applied. */
|
|
83
83
|
CheckoutErrorCode["DiscountAlreadyApplied"] = "DISCOUNT_ALREADY_APPLIED";
|
|
84
|
+
/** Discount code isn't working right now. Please contact us for help. */
|
|
85
|
+
CheckoutErrorCode["DiscountCodeApplicationFailed"] = "DISCOUNT_CODE_APPLICATION_FAILED";
|
|
84
86
|
/** Discount disabled. */
|
|
85
87
|
CheckoutErrorCode["DiscountDisabled"] = "DISCOUNT_DISABLED";
|
|
86
88
|
/** Discount expired. */
|
package/dist/esnext/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "1.
|
|
1
|
+
export declare const LIB_VERSION = "1.7.1";
|
package/dist/esnext/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const LIB_VERSION = '1.
|
|
1
|
+
export const LIB_VERSION = '1.7.1';
|