@aranova/tracking-react 0.19.1 → 0.19.2

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/index.mjs CHANGED
@@ -1080,7 +1080,6 @@ function ensureScript(gtagId) {
1080
1080
  var TrackingConfigRuntime = class {
1081
1081
  constructor(ref, fetchImpl = globalThis.fetch) {
1082
1082
  this.ref = ref;
1083
- this.fetchImpl = fetchImpl;
1084
1083
  this.current = null;
1085
1084
  this.etag = null;
1086
1085
  this.stateValue = "unconfirmed";
@@ -1095,6 +1094,7 @@ var TrackingConfigRuntime = class {
1095
1094
  this.automaticQueue = [];
1096
1095
  this.pageQueue = [];
1097
1096
  this.listeners = /* @__PURE__ */ new Set();
1097
+ this.fetchImpl = fetchImpl.bind(globalThis);
1098
1098
  const cached = readCache2(ref.cdnUrl);
1099
1099
  this.current = cached?.config ?? null;
1100
1100
  this.etag = cached?.etag ?? null;
@@ -3560,7 +3560,7 @@ function GoogleAdsTracking(props) {
3560
3560
  import { createContext as createContext2, useContext as useContext2, useEffect as useEffect5, useMemo as useMemo4 } from "react";
3561
3561
 
3562
3562
  // package.json
3563
- var version = "0.19.1";
3563
+ var version = "0.19.2";
3564
3564
 
3565
3565
  // ../tracking-core/src/phone-react.tsx
3566
3566
  import {