@jetshop/core 6.2.2 → 6.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetshop/core",
3
- "version": "6.2.2",
3
+ "version": "6.2.4",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "**/*.js",
package/polyfills.js CHANGED
@@ -34,7 +34,7 @@ export const createPolyfill = (locale, usePolyfilling) => {
34
34
 
35
35
  // If polyfill.io does not respond, start the shop anyway
36
36
  if (${usePolyfilling}) {
37
- setTimeout(() => {
37
+ setTimeout(function () {
38
38
  if(!window.polyFillsLoaded) {
39
39
  window.bootShop();
40
40
  }
package/types.d.ts CHANGED
@@ -1704,6 +1704,7 @@ export type Tracking = {
1704
1704
  ga4?: Maybe<GoogleAnalytics4>;
1705
1705
  gtm?: Maybe<GoogleTagManager>;
1706
1706
  fca?: Maybe<FacebookConversionsApi>;
1707
+ trackingConsents?: Maybe<TrackingConsents>;
1707
1708
  };
1708
1709
 
1709
1710
  export type GoogleAnalytics = {
@@ -1730,6 +1731,11 @@ export type FacebookConversionsApi = {
1730
1731
  pixelId?: Maybe<Scalars['String']>;
1731
1732
  };
1732
1733
 
1734
+ export type TrackingConsents = {
1735
+ __typename?: 'TrackingConsents';
1736
+ useTrackingConsentApi?: Maybe<Scalars['Boolean']>;
1737
+ };
1738
+
1733
1739
  export type Cart = {
1734
1740
  __typename?: 'Cart';
1735
1741
  id?: Maybe<Scalars['String']>;