@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.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
|
@@ -1157,7 +1157,6 @@ function ensureScript(gtagId) {
|
|
|
1157
1157
|
var TrackingConfigRuntime = class {
|
|
1158
1158
|
constructor(ref, fetchImpl = globalThis.fetch) {
|
|
1159
1159
|
this.ref = ref;
|
|
1160
|
-
this.fetchImpl = fetchImpl;
|
|
1161
1160
|
this.current = null;
|
|
1162
1161
|
this.etag = null;
|
|
1163
1162
|
this.stateValue = "unconfirmed";
|
|
@@ -1172,6 +1171,7 @@ var TrackingConfigRuntime = class {
|
|
|
1172
1171
|
this.automaticQueue = [];
|
|
1173
1172
|
this.pageQueue = [];
|
|
1174
1173
|
this.listeners = /* @__PURE__ */ new Set();
|
|
1174
|
+
this.fetchImpl = fetchImpl.bind(globalThis);
|
|
1175
1175
|
const cached = readCache2(ref.cdnUrl);
|
|
1176
1176
|
this.current = cached?.config ?? null;
|
|
1177
1177
|
this.etag = cached?.etag ?? null;
|
|
@@ -3637,7 +3637,7 @@ function GoogleAdsTracking(props) {
|
|
|
3637
3637
|
var import_react6 = require("react");
|
|
3638
3638
|
|
|
3639
3639
|
// package.json
|
|
3640
|
-
var version = "0.19.
|
|
3640
|
+
var version = "0.19.2";
|
|
3641
3641
|
|
|
3642
3642
|
// ../tracking-core/src/phone-react.tsx
|
|
3643
3643
|
var import_react5 = require("react");
|