@shopify/hydrogen-react 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.
Files changed (129) hide show
  1. package/customer-account.schema.json +1 -1
  2. package/dist/browser-dev/CartLineProvider.mjs.map +1 -1
  3. package/dist/browser-dev/CartProvider.mjs.map +1 -1
  4. package/dist/browser-dev/Image.mjs.map +1 -1
  5. package/dist/browser-dev/ModelViewer.mjs.map +1 -1
  6. package/dist/browser-dev/Money.mjs.map +1 -1
  7. package/dist/browser-dev/Video.mjs.map +1 -1
  8. package/dist/browser-dev/cart-queries.mjs +1 -1
  9. package/dist/browser-dev/cart-queries.mjs.map +1 -1
  10. package/dist/browser-dev/codegen.helpers.mjs.map +1 -1
  11. package/dist/browser-dev/optionValueDecoder.mjs.map +1 -1
  12. package/dist/browser-dev/packages/hydrogen-react/package.json.mjs +1 -1
  13. package/dist/browser-dev/storefront-api-constants.mjs +1 -1
  14. package/dist/browser-dev/storefront-api-constants.mjs.map +1 -1
  15. package/dist/browser-dev/storefront-client.mjs +0 -1
  16. package/dist/browser-dev/storefront-client.mjs.map +1 -1
  17. package/dist/browser-dev/useCartAPIStateMachine.mjs.map +1 -1
  18. package/dist/browser-dev/useCartActions.mjs.map +1 -1
  19. package/dist/browser-dev/useMoney.mjs.map +1 -1
  20. package/dist/browser-prod/CartLineProvider.mjs.map +1 -1
  21. package/dist/browser-prod/CartProvider.mjs.map +1 -1
  22. package/dist/browser-prod/Image.mjs.map +1 -1
  23. package/dist/browser-prod/ModelViewer.mjs.map +1 -1
  24. package/dist/browser-prod/Money.mjs.map +1 -1
  25. package/dist/browser-prod/Video.mjs.map +1 -1
  26. package/dist/browser-prod/cart-queries.mjs +1 -1
  27. package/dist/browser-prod/cart-queries.mjs.map +1 -1
  28. package/dist/browser-prod/codegen.helpers.mjs.map +1 -1
  29. package/dist/browser-prod/optionValueDecoder.mjs.map +1 -1
  30. package/dist/browser-prod/packages/hydrogen-react/package.json.mjs +1 -1
  31. package/dist/browser-prod/storefront-api-constants.mjs +1 -1
  32. package/dist/browser-prod/storefront-api-constants.mjs.map +1 -1
  33. package/dist/browser-prod/storefront-client.mjs +0 -1
  34. package/dist/browser-prod/storefront-client.mjs.map +1 -1
  35. package/dist/browser-prod/useCartAPIStateMachine.mjs.map +1 -1
  36. package/dist/browser-prod/useCartActions.mjs.map +1 -1
  37. package/dist/browser-prod/useMoney.mjs.map +1 -1
  38. package/dist/node-dev/CartLineProvider.js.map +1 -1
  39. package/dist/node-dev/CartLineProvider.mjs.map +1 -1
  40. package/dist/node-dev/CartProvider.js.map +1 -1
  41. package/dist/node-dev/CartProvider.mjs.map +1 -1
  42. package/dist/node-dev/Image.js.map +1 -1
  43. package/dist/node-dev/Image.mjs.map +1 -1
  44. package/dist/node-dev/ModelViewer.js.map +1 -1
  45. package/dist/node-dev/ModelViewer.mjs.map +1 -1
  46. package/dist/node-dev/Money.js.map +1 -1
  47. package/dist/node-dev/Money.mjs.map +1 -1
  48. package/dist/node-dev/Video.js.map +1 -1
  49. package/dist/node-dev/Video.mjs.map +1 -1
  50. package/dist/node-dev/cart-queries.js +1 -1
  51. package/dist/node-dev/cart-queries.js.map +1 -1
  52. package/dist/node-dev/cart-queries.mjs +1 -1
  53. package/dist/node-dev/cart-queries.mjs.map +1 -1
  54. package/dist/node-dev/codegen.helpers.js.map +1 -1
  55. package/dist/node-dev/codegen.helpers.mjs.map +1 -1
  56. package/dist/node-dev/optionValueDecoder.js.map +1 -1
  57. package/dist/node-dev/optionValueDecoder.mjs.map +1 -1
  58. package/dist/node-dev/packages/hydrogen-react/package.json.js +1 -1
  59. package/dist/node-dev/packages/hydrogen-react/package.json.mjs +1 -1
  60. package/dist/node-dev/storefront-api-constants.js +1 -1
  61. package/dist/node-dev/storefront-api-constants.js.map +1 -1
  62. package/dist/node-dev/storefront-api-constants.mjs +1 -1
  63. package/dist/node-dev/storefront-api-constants.mjs.map +1 -1
  64. package/dist/node-dev/storefront-client.js +0 -1
  65. package/dist/node-dev/storefront-client.js.map +1 -1
  66. package/dist/node-dev/storefront-client.mjs +0 -1
  67. package/dist/node-dev/storefront-client.mjs.map +1 -1
  68. package/dist/node-dev/useCartAPIStateMachine.js.map +1 -1
  69. package/dist/node-dev/useCartAPIStateMachine.mjs.map +1 -1
  70. package/dist/node-dev/useCartActions.js.map +1 -1
  71. package/dist/node-dev/useCartActions.mjs.map +1 -1
  72. package/dist/node-dev/useMoney.js.map +1 -1
  73. package/dist/node-dev/useMoney.mjs.map +1 -1
  74. package/dist/node-prod/CartLineProvider.js.map +1 -1
  75. package/dist/node-prod/CartLineProvider.mjs.map +1 -1
  76. package/dist/node-prod/CartProvider.js.map +1 -1
  77. package/dist/node-prod/CartProvider.mjs.map +1 -1
  78. package/dist/node-prod/Image.js.map +1 -1
  79. package/dist/node-prod/Image.mjs.map +1 -1
  80. package/dist/node-prod/ModelViewer.js.map +1 -1
  81. package/dist/node-prod/ModelViewer.mjs.map +1 -1
  82. package/dist/node-prod/Money.js.map +1 -1
  83. package/dist/node-prod/Money.mjs.map +1 -1
  84. package/dist/node-prod/Video.js.map +1 -1
  85. package/dist/node-prod/Video.mjs.map +1 -1
  86. package/dist/node-prod/cart-queries.js +1 -1
  87. package/dist/node-prod/cart-queries.js.map +1 -1
  88. package/dist/node-prod/cart-queries.mjs +1 -1
  89. package/dist/node-prod/cart-queries.mjs.map +1 -1
  90. package/dist/node-prod/codegen.helpers.js.map +1 -1
  91. package/dist/node-prod/codegen.helpers.mjs.map +1 -1
  92. package/dist/node-prod/optionValueDecoder.js.map +1 -1
  93. package/dist/node-prod/optionValueDecoder.mjs.map +1 -1
  94. package/dist/node-prod/packages/hydrogen-react/package.json.js +1 -1
  95. package/dist/node-prod/packages/hydrogen-react/package.json.mjs +1 -1
  96. package/dist/node-prod/storefront-api-constants.js +1 -1
  97. package/dist/node-prod/storefront-api-constants.js.map +1 -1
  98. package/dist/node-prod/storefront-api-constants.mjs +1 -1
  99. package/dist/node-prod/storefront-api-constants.mjs.map +1 -1
  100. package/dist/node-prod/storefront-client.js +0 -1
  101. package/dist/node-prod/storefront-client.js.map +1 -1
  102. package/dist/node-prod/storefront-client.mjs +0 -1
  103. package/dist/node-prod/storefront-client.mjs.map +1 -1
  104. package/dist/node-prod/useCartAPIStateMachine.js.map +1 -1
  105. package/dist/node-prod/useCartAPIStateMachine.mjs.map +1 -1
  106. package/dist/node-prod/useCartActions.js.map +1 -1
  107. package/dist/node-prod/useCartActions.mjs.map +1 -1
  108. package/dist/node-prod/useMoney.js.map +1 -1
  109. package/dist/node-prod/useMoney.mjs.map +1 -1
  110. package/dist/types/CartLineProvider.d.ts +1 -1
  111. package/dist/types/CartProvider.d.ts +2 -2
  112. package/dist/types/Image.d.ts +1 -1
  113. package/dist/types/ModelViewer.d.ts +1 -1
  114. package/dist/types/Money.d.ts +4 -4
  115. package/dist/types/Video.d.ts +1 -1
  116. package/dist/types/codegen.helpers.d.ts +2 -2
  117. package/dist/types/customer-account-api-types.d.ts +643 -8
  118. package/dist/types/optionValueDecoder.d.ts +2 -2
  119. package/dist/types/storefront-api-constants.d.ts +1 -1
  120. package/dist/types/storefront-api-types.d.ts +48 -4
  121. package/dist/types/useCartAPIStateMachine.d.ts +2 -2
  122. package/dist/types/useCartActions.d.ts +2 -2
  123. package/dist/types/useMoney.d.ts +2 -2
  124. package/dist/umd/hydrogen-react.dev.js +3 -4
  125. package/dist/umd/hydrogen-react.dev.js.map +1 -1
  126. package/dist/umd/hydrogen-react.prod.js +9 -9
  127. package/dist/umd/hydrogen-react.prod.js.map +1 -1
  128. package/package.json +1 -1
  129. package/storefront.schema.json +1 -1
@@ -14,7 +14,7 @@ export type IsOptionValueCombinationInEncodedVariant = (targetOptionValueCombina
14
14
  * Determine whether an option value combination is present in an encoded option value string. Function is memoized by encodedVariantField.
15
15
  *
16
16
  * @param targetOptionValueCombination - Indices of option values to look up in the encoded option value string. A partial set of indices may be passed to determine whether a node or any children is present. For example, if a product has 3 options, passing [0] will return true if any option value combination for the first option's option value is present in the encoded string.
17
- * @param encodedVariantField - Encoded option value string from the Storefront API, e.g. [product.encodedVariantExistence](/docs/api/storefront/2025-10/objects/Product#field-encodedvariantexistence) or [product.encodedVariantAvailability](/docs/api/storefront/2025-10/objects/Product#field-encodedvariantavailability)
17
+ * @param encodedVariantField - Encoded option value string from the Storefront API, e.g. [product.encodedVariantExistence](/docs/api/storefront/2026-01/objects/Product#field-encodedvariantexistence) or [product.encodedVariantAvailability](/docs/api/storefront/2026-01/objects/Product#field-encodedvariantavailability)
18
18
  * @returns - True if a full or partial targetOptionValueIndices is present in the encoded option value string, false otherwise.
19
19
  */
20
20
  export declare const isOptionValueCombinationInEncodedVariant: IsOptionValueCombinationInEncodedVariant;
@@ -22,7 +22,7 @@ type EncodedVariantField = Product['encodedVariantAvailability'] | Product['enco
22
22
  type DecodedOptionValues = number[][];
23
23
  /**
24
24
  * For an encoded option value string, decode into option value combinations. Entries represent a valid combination formatted as an array of option value positions.
25
- * @param encodedVariantField - Encoded option value string from the Storefront API, e.g. [product.encodedVariantExistence](/docs/api/storefront/2025-10/objects/Product#field-encodedvariantexistence) or [product.encodedVariantAvailability](/docs/api/storefront/2025-10/objects/Product#field-encodedvariantavailability)
25
+ * @param encodedVariantField - Encoded option value string from the Storefront API, e.g. [product.encodedVariantExistence](/docs/api/storefront/2026-01/objects/Product#field-encodedvariantexistence) or [product.encodedVariantAvailability](/docs/api/storefront/2026-01/objects/Product#field-encodedvariantavailability)
26
26
  * @returns Decoded option value combinations
27
27
  */
28
28
  export declare function decodeEncodedVariant(encodedVariantField: EncodedVariantField): DecodedOptionValues;
@@ -1 +1 @@
1
- export declare const SFAPI_VERSION = "2025-10";
1
+ export declare const SFAPI_VERSION = "2026-01";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE IS AUTO-GENERATED, DO NOT EDIT
3
- * Based on Storefront API 2025-10
3
+ * Based on Storefront API 2026-01
4
4
  * If changes need to happen to the types defined in this file, then generally the Storefront API needs to update. After it's updated, you can run `npm run graphql-types`.
5
5
  * Except custom Scalars, which are defined in the `codegen.ts` file
6
6
  */
@@ -1335,6 +1335,8 @@ export type CartErrorCode =
1335
1335
  | 'BUYER_CANNOT_PURCHASE_FOR_COMPANY_LOCATION'
1336
1336
  /** The cart is too large to save. */
1337
1337
  | 'CART_TOO_LARGE'
1338
+ /** The specified gift card recipient is invalid. */
1339
+ | 'GIFT_CARD_RECIPIENT_INVALID'
1338
1340
  /** The input value is invalid. */
1339
1341
  | 'INVALID'
1340
1342
  /** Company location not found or not allowed. */
@@ -1379,6 +1381,8 @@ export type CartErrorCode =
1379
1381
  | 'NOTE_TOO_LONG'
1380
1382
  /** Only one delivery address can be selected. */
1381
1383
  | 'ONLY_ONE_DELIVERY_ADDRESS_CAN_BE_SELECTED'
1384
+ /** Cannot reference existing parent lines by variant_id. */
1385
+ | 'PARENT_LINE_INVALID_REFERENCE'
1382
1386
  /** Parent line nesting is too deep or circular. */
1383
1387
  | 'PARENT_LINE_NESTING_TOO_DEEP'
1384
1388
  /** Parent line not found. */
@@ -1533,7 +1537,12 @@ export type CartInput = {
1533
1537
  note?: InputMaybe<Scalars['String']['input']>;
1534
1538
  };
1535
1539
 
1536
- /** The input fields for a cart metafield value to set. */
1540
+ /**
1541
+ * The input fields for a cart metafield value to set.
1542
+ *
1543
+ * Cart metafields will be copied to order metafields at order creation time if there is a matching order metafield definition with the [`cart to order copyable`](https://shopify.dev/docs/apps/build/metafields/use-metafield-capabilities#cart-to-order-copyable) capability enabled.
1544
+ *
1545
+ */
1537
1546
  export type CartInputMetafieldInput = {
1538
1547
  /** The key name of the metafield. */
1539
1548
  key: Scalars['String']['input'];
@@ -3295,6 +3304,8 @@ export type Customer = HasMetafields & {
3295
3304
  acceptsMarketing: Scalars['Boolean']['output'];
3296
3305
  /** A list of addresses for the customer. */
3297
3306
  addresses: MailingAddressConnection;
3307
+ /** The URL of the customer's avatar image. */
3308
+ avatarUrl?: Maybe<Scalars['String']['output']>;
3298
3309
  /** The date and time when the customer was created. */
3299
3310
  createdAt: Scalars['DateTime']['output'];
3300
3311
  /** The customer’s default address. */
@@ -3319,6 +3330,8 @@ export type Customer = HasMetafields & {
3319
3330
  orders: OrderConnection;
3320
3331
  /** The customer’s phone number. */
3321
3332
  phone?: Maybe<Scalars['String']['output']>;
3333
+ /** The social login provider associated with the customer. */
3334
+ socialLoginProvider?: Maybe<SocialLoginProvider>;
3322
3335
  /**
3323
3336
  * A comma separated list of tags that have been added to the customer.
3324
3337
  * Additional access scope required: unauthenticated_read_customer_tags.
@@ -5442,13 +5455,24 @@ export type Mutation = {
5442
5455
  cartLinesRemove?: Maybe<CartLinesRemovePayload>;
5443
5456
  /** Updates one or more merchandise lines on a cart. */
5444
5457
  cartLinesUpdate?: Maybe<CartLinesUpdatePayload>;
5445
- /** Deletes a cart metafield. */
5458
+ /**
5459
+ * Deletes a cart metafield.
5460
+ *
5461
+ * > Note:
5462
+ * > This mutation won't trigger [Shopify Functions](https://shopify.dev/docs/api/functions). The changes won't be available to Shopify Functions until the buyer goes to checkout or performs another cart interaction that triggers the functions.
5463
+ *
5464
+ */
5446
5465
  cartMetafieldDelete?: Maybe<CartMetafieldDeletePayload>;
5447
5466
  /**
5448
5467
  * Sets cart metafield values. Cart metafield values will be set regardless if they were previously created or not.
5449
5468
  *
5450
5469
  * Allows a maximum of 25 cart metafields to be set at a time.
5451
5470
  *
5471
+ * Cart metafields will be copied to order metafields at order creation time if there is a matching order metafield definition with the [`cart to order copyable`](https://shopify.dev/docs/apps/build/metafields/use-metafield-capabilities#cart-to-order-copyable) capability enabled.
5472
+ *
5473
+ * > Note:
5474
+ * > This mutation won't trigger [Shopify Functions](https://shopify.dev/docs/api/functions). The changes won't be available to Shopify Functions until the buyer goes to checkout or performs another cart interaction that triggers the functions.
5475
+ *
5452
5476
  */
5453
5477
  cartMetafieldsSet?: Maybe<CartMetafieldsSetPayload>;
5454
5478
  /** Updates the note on the cart. */
@@ -5590,7 +5614,7 @@ export type MutationCartDeliveryAddressesUpdateArgs = {
5590
5614
  /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
5591
5615
  export type MutationCartDiscountCodesUpdateArgs = {
5592
5616
  cartId: Scalars['ID']['input'];
5593
- discountCodes?: InputMaybe<Array<Scalars['String']['input']>>;
5617
+ discountCodes: Array<Scalars['String']['input']>;
5594
5618
  };
5595
5619
 
5596
5620
  /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
@@ -8127,6 +8151,8 @@ export type Shop = HasMetafields &
8127
8151
  __typename?: 'Shop';
8128
8152
  /** The shop's branding configuration. */
8129
8153
  brand?: Maybe<Brand>;
8154
+ /** Translations for customer accounts. */
8155
+ customerAccountTranslations?: Maybe<Array<Translation>>;
8130
8156
  /** The URL for the customer account (only present if shop has a customer account vanity domain). */
8131
8157
  customerAccountUrl?: Maybe<Scalars['String']['output']>;
8132
8158
  /** A description of the shop. */
@@ -8155,6 +8181,8 @@ export type Shop = HasMetafields &
8155
8181
  shipsToCountries: Array<CountryCode>;
8156
8182
  /** The Shop Pay Installments pricing information for the shop. */
8157
8183
  shopPayInstallmentsPricing?: Maybe<ShopPayInstallmentsPricing>;
8184
+ /** The social login providers for customer accounts. */
8185
+ socialLoginProviders: Array<SocialLoginProvider>;
8158
8186
  /** The shop’s subscription policy. */
8159
8187
  subscriptionPolicy?: Maybe<ShopPolicyWithDefault>;
8160
8188
  /** The shop’s terms of service. */
@@ -8716,6 +8744,13 @@ export type SitemapType =
8716
8744
  /** Products present in the sitemap. */
8717
8745
  | 'PRODUCT';
8718
8746
 
8747
+ /** A social login provider for customer accounts. */
8748
+ export type SocialLoginProvider = {
8749
+ __typename?: 'SocialLoginProvider';
8750
+ /** The handle of the social login provider. */
8751
+ handle: Scalars['String']['output'];
8752
+ };
8753
+
8719
8754
  /**
8720
8755
  * The availability of a product variant at a particular location.
8721
8756
  * Local pick-up must be enabled in the store's shipping settings, otherwise this will return an empty result.
@@ -8973,6 +9008,15 @@ export type Trackable = {
8973
9008
  trackingParameters?: Maybe<Scalars['String']['output']>;
8974
9009
  };
8975
9010
 
9011
+ /** Translation represents a translation of a key-value pair. */
9012
+ export type Translation = {
9013
+ __typename?: 'Translation';
9014
+ /** The key of the translation. */
9015
+ key: Scalars['String']['output'];
9016
+ /** The value of the translation. */
9017
+ value: Scalars['String']['output'];
9018
+ };
9019
+
8976
9020
  /**
8977
9021
  * The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).
8978
9022
  *
@@ -11,11 +11,11 @@ export declare function useCartAPIStateMachine({ numCartLines, onCartActionEntry
11
11
  onCartActionOptimisticUI?: (context: CartMachineContext, event: CartMachineEvent) => Partial<CartMachineContext>;
12
12
  /** A callback that is invoked after a Cart API completes. */
13
13
  onCartActionComplete?: (context: CartMachineContext, event: CartMachineFetchResultEvent) => void;
14
- /** An object with fields that correspond to the Storefront API's [Cart object](https://shopify.dev/api/storefront/2025-10/objects/cart). */
14
+ /** An object with fields that correspond to the Storefront API's [Cart object](https://shopify.dev/api/storefront/2026-01/objects/cart). */
15
15
  data?: PartialDeep<CartType, {
16
16
  recurseIntoArrays: true;
17
17
  }>;
18
- /** A fragment used to query the Storefront API's [Cart object](https://shopify.dev/api/storefront/2025-10/objects/cart) for all queries and mutations. A default value is used if no argument is provided. */
18
+ /** A fragment used to query the Storefront API's [Cart object](https://shopify.dev/api/storefront/2026-01/objects/cart) for all queries and mutations. A default value is used if no argument is provided. */
19
19
  cartFragment: string;
20
20
  /** The ISO country code for i18n. */
21
21
  countryCode?: CountryCode;
@@ -6,12 +6,12 @@ type CartResponse = PartialDeep<CartType, {
6
6
  /**
7
7
  * The `useCartActions` hook returns helper graphql functions for Storefront Cart API
8
8
  *
9
- * See [cart API graphql mutations](https://shopify.dev/api/storefront/2025-10/objects/Cart)
9
+ * See [cart API graphql mutations](https://shopify.dev/api/storefront/2026-01/objects/Cart)
10
10
  */
11
11
  export declare function useCartActions({ numCartLines, cartFragment, countryCode, languageCode, }: {
12
12
  /** Maximum number of cart lines to fetch. Defaults to 250 cart lines. */
13
13
  numCartLines?: number;
14
- /** A fragment used to query the Storefront API's [Cart object](https://shopify.dev/api/storefront/2025-10/objects/cart) for all queries and mutations. A default value is used if no argument is provided. */
14
+ /** A fragment used to query the Storefront API's [Cart object](https://shopify.dev/api/storefront/2026-01/objects/cart) for all queries and mutations. A default value is used if no argument is provided. */
15
15
  cartFragment: string;
16
16
  /** The ISO country code for i18n. Default to `US` */
17
17
  countryCode?: CountryCode;
@@ -59,8 +59,8 @@ export type UseMoneyValue = {
59
59
  withoutTrailingZerosAndCurrency: string;
60
60
  };
61
61
  /**
62
- * The `useMoney` hook takes a [MoneyV2 object from the Storefront API](https://shopify.dev/docs/api/storefront/2025-10/objects/MoneyV2)
63
- * or a [MoneyV2 object from the Customer Account API](https://shopify.dev/docs/api/customer/2025-10/objects/moneyv2) and returns a
62
+ * The `useMoney` hook takes a [MoneyV2 object from the Storefront API](https://shopify.dev/docs/api/storefront/2026-01/objects/MoneyV2)
63
+ * or a [MoneyV2 object from the Customer Account API](https://shopify.dev/docs/api/customer/2026-01/objects/moneyv2) and returns a
64
64
  * default-formatted string of the amount with the correct currency indicator, along with some of the parts provided by
65
65
  * [Intl.NumberFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat).
66
66
  * Uses `locale` from `ShopifyProvider`
@@ -633,7 +633,7 @@
633
633
  `
634
634
  mutation CartDiscountCodesUpdate(
635
635
  $cartId: ID!
636
- $discountCodes: [String!]
636
+ $discountCodes: [String!]!
637
637
  $numCartLines: Int = 250
638
638
  $country: CountryCode = ZZ
639
639
  $language: LanguageCode
@@ -782,7 +782,7 @@
782
782
  }
783
783
  `
784
784
  );
785
- const SFAPI_VERSION = "2025-10";
785
+ const SFAPI_VERSION = "2026-01";
786
786
  const MOCK_SHOP_DOMAIN = "mock.shop";
787
787
  const isMockShop = (domain) => domain.includes(MOCK_SHOP_DOMAIN);
788
788
  function createStorefrontClient({
@@ -827,7 +827,6 @@ Refer to the authentication https://shopify.dev/api/storefront#authentication do
827
827
  getStorefrontApiUrl(overrideProps) {
828
828
  const domain = getShopifyDomain(overrideProps);
829
829
  const apiUrl = domain + (domain.endsWith("/") ? "api" : "/api");
830
- if (isMockShop(domain)) return apiUrl;
831
830
  return `${apiUrl}/${(overrideProps == null ? void 0 : overrideProps.storefrontApiVersion) ?? storefrontApiVersion}/graphql.json`;
832
831
  },
833
832
  getPrivateTokenHeaders(overrideProps) {
@@ -2479,7 +2478,7 @@ Refer to the authentication https://shopify.dev/api/storefront#authentication do
2479
2478
  }
2480
2479
  return false;
2481
2480
  }
2482
- const version = "2025.10.0";
2481
+ const version = "2026.1.0";
2483
2482
  const SCHEMA_ID = "custom_storefront_customer_tracking/1.2";
2484
2483
  const PAGE_RENDERED_EVENT_NAME = "page_rendered";
2485
2484
  const COLLECTION_PAGE_RENDERED_EVENT_NAME = "collection_page_rendered";