@fuul/sdk 0.11.0 → 0.11.1
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/lib/cjs/index.js +1 -1
- package/lib/esm/index.mjs +1 -1
- package/package.json +1 -1
package/lib/cjs/index.js
CHANGED
|
@@ -85,7 +85,7 @@ class Fuul {
|
|
|
85
85
|
var _a;
|
|
86
86
|
return __awaiter(this, void 0, void 0, function* () {
|
|
87
87
|
globalThis.Fuul = this;
|
|
88
|
-
if (typeof window !== "undefined" && ((_a = this.settings) === null || _a === void 0 ? void 0 : _a.
|
|
88
|
+
if (typeof window !== "undefined" && !((_a = this.settings) === null || _a === void 0 ? void 0 : _a.preventAutoPageView)) {
|
|
89
89
|
yield this.sendEvent("pageview");
|
|
90
90
|
}
|
|
91
91
|
});
|
package/lib/esm/index.mjs
CHANGED
|
@@ -82,7 +82,7 @@ export class Fuul {
|
|
|
82
82
|
var _a;
|
|
83
83
|
return __awaiter(this, void 0, void 0, function* () {
|
|
84
84
|
globalThis.Fuul = this;
|
|
85
|
-
if (typeof window !== "undefined" && ((_a = this.settings) === null || _a === void 0 ? void 0 : _a.
|
|
85
|
+
if (typeof window !== "undefined" && !((_a = this.settings) === null || _a === void 0 ? void 0 : _a.preventAutoPageView)) {
|
|
86
86
|
yield this.sendEvent("pageview");
|
|
87
87
|
}
|
|
88
88
|
});
|