@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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1146,7 +1146,6 @@ function ensureScript(gtagId) {
|
|
|
1146
1146
|
var TrackingConfigRuntime = class {
|
|
1147
1147
|
constructor(ref, fetchImpl = globalThis.fetch) {
|
|
1148
1148
|
this.ref = ref;
|
|
1149
|
-
this.fetchImpl = fetchImpl;
|
|
1150
1149
|
this.current = null;
|
|
1151
1150
|
this.etag = null;
|
|
1152
1151
|
this.stateValue = "unconfirmed";
|
|
@@ -1161,6 +1160,7 @@ var TrackingConfigRuntime = class {
|
|
|
1161
1160
|
this.automaticQueue = [];
|
|
1162
1161
|
this.pageQueue = [];
|
|
1163
1162
|
this.listeners = /* @__PURE__ */ new Set();
|
|
1163
|
+
this.fetchImpl = fetchImpl.bind(globalThis);
|
|
1164
1164
|
const cached = readCache2(ref.cdnUrl);
|
|
1165
1165
|
this.current = cached?.config ?? null;
|
|
1166
1166
|
this.etag = cached?.etag ?? null;
|
|
@@ -3470,7 +3470,7 @@ function GoogleAdsTracking(props) {
|
|
|
3470
3470
|
var import_navigation3 = require("next/navigation");
|
|
3471
3471
|
|
|
3472
3472
|
// package.json
|
|
3473
|
-
var version = "0.19.
|
|
3473
|
+
var version = "0.19.2";
|
|
3474
3474
|
|
|
3475
3475
|
// src/factory.tsx
|
|
3476
3476
|
var import_react5 = require("react");
|