@shopify/hydrogen 2025.10.1 → 2026.1.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/customer-account-api-types.d.ts +643 -8
- package/dist/customer-account.schema.json +1 -1
- package/dist/development/index.cjs +6 -6
- package/dist/development/index.cjs.map +1 -1
- package/dist/development/index.js +7 -7
- package/dist/development/index.js.map +1 -1
- package/dist/production/index.cjs +7 -7
- package/dist/production/index.cjs.map +1 -1
- package/dist/production/index.d.cts +486 -114
- package/dist/production/index.d.ts +486 -114
- package/dist/production/index.js +7 -7
- package/dist/production/index.js.map +1 -1
- package/dist/storefront-api-types.d.ts +48 -4
- package/dist/storefront.schema.json +1 -1
- package/dist/vite/{chunk-MDCIB6DS.js → chunk-XTDF5RJS.js} +1 -3
- package/dist/vite/hydrogen-middleware.js +1 -1
- package/dist/vite/plugin.js +1 -1
- package/package.json +23 -19
|
@@ -610,7 +610,7 @@ function getPrivacyBanner() {
|
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
// package.json
|
|
613
|
-
var version = "
|
|
613
|
+
var version = "2026.1.1";
|
|
614
614
|
|
|
615
615
|
// src/analytics-manager/ShopifyAnalytics.tsx
|
|
616
616
|
function getCustomerPrivacyRequired() {
|
|
@@ -2005,7 +2005,7 @@ function generateUUID() {
|
|
|
2005
2005
|
}
|
|
2006
2006
|
|
|
2007
2007
|
// src/version.ts
|
|
2008
|
-
var LIB_VERSION = "
|
|
2008
|
+
var LIB_VERSION = "2026.1.1";
|
|
2009
2009
|
|
|
2010
2010
|
// src/utils/graphql.ts
|
|
2011
2011
|
function minifyQuery(string) {
|
|
@@ -2848,7 +2848,7 @@ function cartDiscountCodesUpdateDefault(options) {
|
|
|
2848
2848
|
var CART_DISCOUNT_CODE_UPDATE_MUTATION = (cartFragment = MINIMAL_CART_FRAGMENT) => `#graphql
|
|
2849
2849
|
mutation cartDiscountCodesUpdate(
|
|
2850
2850
|
$cartId: ID!
|
|
2851
|
-
$discountCodes: [String!]
|
|
2851
|
+
$discountCodes: [String!]!
|
|
2852
2852
|
$language: LanguageCode
|
|
2853
2853
|
$country: CountryCode
|
|
2854
2854
|
$visitorConsent: VisitorConsent
|
|
@@ -3596,7 +3596,7 @@ var hydrogenContext = {
|
|
|
3596
3596
|
};
|
|
3597
3597
|
|
|
3598
3598
|
// src/customer/constants.ts
|
|
3599
|
-
var DEFAULT_CUSTOMER_API_VERSION = "
|
|
3599
|
+
var DEFAULT_CUSTOMER_API_VERSION = "2026-01";
|
|
3600
3600
|
var USER_AGENT = `Shopify Hydrogen ${LIB_VERSION}`;
|
|
3601
3601
|
var CUSTOMER_API_CLIENT_ID = "30243aa5-17c1-465a-8493-944bcc4e88aa";
|
|
3602
3602
|
var CUSTOMER_ACCOUNT_SESSION_KEY = "customerAccount";
|
|
@@ -6571,14 +6571,14 @@ var QUERIES = {
|
|
|
6571
6571
|
//! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartNoteUpdate
|
|
6572
6572
|
//! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartSelectedDeliveryOptionsUpdate
|
|
6573
6573
|
//! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartMetafieldsSet
|
|
6574
|
-
//! @see https://shopify.dev/docs/api/storefront/
|
|
6574
|
+
//! @see https://shopify.dev/docs/api/storefront/2026-01/mutations/cartMetafieldDelete
|
|
6575
6575
|
//! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartGiftCardCodesUpdate
|
|
6576
6576
|
//! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartGiftCardCodesAdd
|
|
6577
6577
|
//! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartGiftCardCodesRemove
|
|
6578
6578
|
//! @see: https://shopify.dev/docs/api/storefront/latest/mutations/cartDeliveryAddressesAdd
|
|
6579
6579
|
//! @see: https://shopify.dev/docs/api/storefront/latest/mutations/cartDeliveryAddressesRemove
|
|
6580
6580
|
//! @see: https://shopify.dev/docs/api/storefront/latest/mutations/cartDeliveryAddressesUpdate
|
|
6581
|
-
//! @see: https://shopify.dev/docs/api/storefront/
|
|
6581
|
+
//! @see: https://shopify.dev/docs/api/storefront/2026-01/mutations/cartDeliveryAddressesReplace
|
|
6582
6582
|
|
|
6583
6583
|
Object.defineProperty(exports, "AnalyticsEventName", {
|
|
6584
6584
|
enumerable: true,
|