@shopify/hydrogen 2025.10.0 → 2026.1.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.
@@ -434,7 +434,7 @@ function getPrivacyBanner() {
434
434
  }
435
435
 
436
436
  // package.json
437
- var version = "2025.10.0";
437
+ var version = "2026.1.0";
438
438
 
439
439
  // src/analytics-manager/ShopifyAnalytics.tsx
440
440
  function getCustomerPrivacyRequired() {
@@ -1829,7 +1829,7 @@ function generateUUID() {
1829
1829
  }
1830
1830
 
1831
1831
  // src/version.ts
1832
- var LIB_VERSION = "2025.10.0";
1832
+ var LIB_VERSION = "2026.1.0";
1833
1833
 
1834
1834
  // src/utils/graphql.ts
1835
1835
  function minifyQuery(string) {
@@ -2672,7 +2672,7 @@ function cartDiscountCodesUpdateDefault(options) {
2672
2672
  var CART_DISCOUNT_CODE_UPDATE_MUTATION = (cartFragment = MINIMAL_CART_FRAGMENT) => `#graphql
2673
2673
  mutation cartDiscountCodesUpdate(
2674
2674
  $cartId: ID!
2675
- $discountCodes: [String!]
2675
+ $discountCodes: [String!]!
2676
2676
  $language: LanguageCode
2677
2677
  $country: CountryCode
2678
2678
  $visitorConsent: VisitorConsent
@@ -3420,7 +3420,7 @@ var hydrogenContext = {
3420
3420
  };
3421
3421
 
3422
3422
  // src/customer/constants.ts
3423
- var DEFAULT_CUSTOMER_API_VERSION = "2025-10";
3423
+ var DEFAULT_CUSTOMER_API_VERSION = "2026-01";
3424
3424
  var USER_AGENT = `Shopify Hydrogen ${LIB_VERSION}`;
3425
3425
  var CUSTOMER_API_CLIENT_ID = "30243aa5-17c1-465a-8493-944bcc4e88aa";
3426
3426
  var CUSTOMER_ACCOUNT_SESSION_KEY = "customerAccount";
@@ -4485,7 +4485,7 @@ function LazyScript({
4485
4485
 
4486
4486
  // src/dev/hydrogen-routes.ts
4487
4487
  async function hydrogenRoutes(currentRoutes) {
4488
- const { getVirtualRoutesV3 } = await import('./get-virtual-routes-XE7G57DS.js');
4488
+ const { getVirtualRoutesV3 } = await import('./get-virtual-routes-ACFZHU42.js');
4489
4489
  const { layout, routes: virtualRoutes } = await getVirtualRoutesV3();
4490
4490
  const childVirtualRoutes = virtualRoutes.map(({ path, file, index, id }) => {
4491
4491
  return {
@@ -6395,14 +6395,14 @@ var QUERIES = {
6395
6395
  //! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartNoteUpdate
6396
6396
  //! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartSelectedDeliveryOptionsUpdate
6397
6397
  //! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartMetafieldsSet
6398
- //! @see https://shopify.dev/docs/api/storefront/2025-10/mutations/cartMetafieldDelete
6398
+ //! @see https://shopify.dev/docs/api/storefront/2026-01/mutations/cartMetafieldDelete
6399
6399
  //! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartGiftCardCodesUpdate
6400
6400
  //! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartGiftCardCodesAdd
6401
6401
  //! @see https://shopify.dev/docs/api/storefront/latest/mutations/cartGiftCardCodesRemove
6402
6402
  //! @see: https://shopify.dev/docs/api/storefront/latest/mutations/cartDeliveryAddressesAdd
6403
6403
  //! @see: https://shopify.dev/docs/api/storefront/latest/mutations/cartDeliveryAddressesRemove
6404
6404
  //! @see: https://shopify.dev/docs/api/storefront/latest/mutations/cartDeliveryAddressesUpdate
6405
- //! @see: https://shopify.dev/docs/api/storefront/2025-10/mutations/cartDeliveryAddressesReplace
6405
+ //! @see: https://shopify.dev/docs/api/storefront/2026-01/mutations/cartDeliveryAddressesReplace
6406
6406
 
6407
6407
  export { Analytics, AnalyticsEvent, CacheCustom, CacheLong, CacheNone, CacheShort, CartForm, InMemoryCache, NonceProvider, OptimisticInput, Pagination, RichText, Script, Seo, ShopPayButton, VariantSelector, cartAttributesUpdateDefault, cartBuyerIdentityUpdateDefault, cartCreateDefault, cartDiscountCodesUpdateDefault, cartGetDefault, cartGetIdDefault, cartGiftCardCodesAddDefault, cartGiftCardCodesRemoveDefault, cartGiftCardCodesUpdateDefault, cartLinesAddDefault, cartLinesRemoveDefault, cartLinesUpdateDefault, cartMetafieldDeleteDefault, cartMetafieldsSetDefault, cartNoteUpdateDefault, cartSelectedDeliveryOptionsUpdateDefault, cartSetIdDefault, changelogHandler, createCartHandler, createContentSecurityPolicy, createCustomerAccountClient, createHydrogenContext, createRequestHandler, createStorefrontClient, createWithCache, formatAPIResult, generateCacheControlHeader, getPaginationVariables, getSelectedProductOptions, getSeoMeta, getShopAnalytics, getSitemap, getSitemapIndex, graphiqlLoader, hydrogenContext, hydrogenPreset, hydrogenRoutes, storefrontRedirect, useAnalytics, useCustomerPrivacy, useNonce, useOptimisticCart, useOptimisticData, useOptimisticVariant };
6408
6408
  //# sourceMappingURL=index.js.map