@aranova/tracking-next 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
@@ -1059,7 +1059,6 @@ function ensureScript(gtagId) {
1059
1059
  var TrackingConfigRuntime = class {
1060
1060
  constructor(ref, fetchImpl = globalThis.fetch) {
1061
1061
  this.ref = ref;
1062
- this.fetchImpl = fetchImpl;
1063
1062
  this.current = null;
1064
1063
  this.etag = null;
1065
1064
  this.stateValue = "unconfirmed";
@@ -1074,6 +1073,7 @@ var TrackingConfigRuntime = class {
1074
1073
  this.automaticQueue = [];
1075
1074
  this.pageQueue = [];
1076
1075
  this.listeners = /* @__PURE__ */ new Set();
1076
+ this.fetchImpl = fetchImpl.bind(globalThis);
1077
1077
  const cached = readCache2(ref.cdnUrl);
1078
1078
  this.current = cached?.config ?? null;
1079
1079
  this.etag = cached?.etag ?? null;
@@ -3383,7 +3383,7 @@ function GoogleAdsTracking(props) {
3383
3383
  import { usePathname, useSearchParams } from "next/navigation";
3384
3384
 
3385
3385
  // package.json
3386
- var version = "0.19.1";
3386
+ var version = "0.19.2";
3387
3387
 
3388
3388
  // src/factory.tsx
3389
3389
  import {