@shopify/hydrogen 2024.7.6 → 2024.7.7
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/development/index.cjs +5 -4
- package/dist/development/index.cjs.map +1 -1
- package/dist/development/index.js +5 -4
- package/dist/development/index.js.map +1 -1
- package/dist/production/index.cjs +2 -2
- package/dist/production/index.cjs.map +1 -1
- package/dist/production/index.js +2 -2
- package/dist/production/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -511,7 +511,7 @@ var errorOnce = (string) => {
|
|
|
511
511
|
};
|
|
512
512
|
|
|
513
513
|
// src/version.ts
|
|
514
|
-
var LIB_VERSION = "2024.7.
|
|
514
|
+
var LIB_VERSION = "2024.7.7";
|
|
515
515
|
|
|
516
516
|
// src/utils/graphql.ts
|
|
517
517
|
function minifyQuery(string) {
|
|
@@ -4369,12 +4369,13 @@ function overrideCustomerPrivacySetTrackingConsent({
|
|
|
4369
4369
|
config
|
|
4370
4370
|
}) {
|
|
4371
4371
|
const original = customerPrivacy.setTrackingConsent;
|
|
4372
|
+
const { locale, country, ...rest } = config;
|
|
4372
4373
|
function updatedSetTrackingConsent(consent, callback) {
|
|
4373
4374
|
original(
|
|
4374
4375
|
{
|
|
4375
|
-
...
|
|
4376
|
+
...rest,
|
|
4376
4377
|
headlessStorefront: true,
|
|
4377
|
-
...
|
|
4378
|
+
...consent
|
|
4378
4379
|
},
|
|
4379
4380
|
callback
|
|
4380
4381
|
);
|
|
@@ -4419,7 +4420,7 @@ function getPrivacyBanner() {
|
|
|
4419
4420
|
}
|
|
4420
4421
|
|
|
4421
4422
|
// package.json
|
|
4422
|
-
var version = "2024.7.
|
|
4423
|
+
var version = "2024.7.7";
|
|
4423
4424
|
|
|
4424
4425
|
// src/analytics-manager/ShopifyAnalytics.tsx
|
|
4425
4426
|
function getCustomerPrivacyRequired() {
|