@brainfish-ai/web-tracker 0.0.5-beta.3 → 0.0.6-alpha.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/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.gz +0 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3772,7 +3772,7 @@ const Te = class Te {
|
|
|
3772
3772
|
};
|
|
3773
3773
|
N(Te, "instance");
|
|
3774
3774
|
let Ut = Te;
|
|
3775
|
-
const Mi = "0.0.
|
|
3775
|
+
const Mi = "0.0.6-alpha.1";
|
|
3776
3776
|
class Mn extends Er {
|
|
3777
3777
|
constructor(t) {
|
|
3778
3778
|
super(de({ sdk: "web", sdkVersion: Mi }, t));
|
|
@@ -3780,7 +3780,7 @@ class Mn extends Er {
|
|
|
3780
3780
|
N(this, "debounceTimer", null);
|
|
3781
3781
|
N(this, "agent");
|
|
3782
3782
|
N(this, "sessionManager", Ut.getInstance());
|
|
3783
|
-
this.options = t, this.agent = new Ni(), this.isServer() || (this.setGlobalProperties({ __referrer: document.referrer }), this.options.trackOutgoingLinks && this.trackOutgoingLinks(), this.options.trackScreenViews && this.trackScreenViews(), this.options.trackAttributes && this.trackAttributes(), this.options.enableRecording && this.startRecording());
|
|
3783
|
+
this.options = t, this.agent = new Ni(), this.isServer() || (this.setGlobalProperties({ __referrer: document.referrer }), this.options.trackOutgoingLinks && this.trackOutgoingLinks(), this.options.trackScreenViews && this.trackScreenViews(), this.options.trackAttributes && this.trackAttributes(), this.options.enableRecording && typeof window != "undefined" && window.location.hostname === "localhost" && this.startRecording());
|
|
3784
3784
|
}
|
|
3785
3785
|
debounce(t, n) {
|
|
3786
3786
|
this.debounceTimer && clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(t, n);
|
package/dist/index.js.gz
CHANGED
|
Binary file
|