sitepong 0.2.13 → 0.2.15
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/cdn/sitepong.min.js +5 -5
- package/dist/cdn/sitepong.min.js.map +1 -1
- package/dist/entries/rn.d.ts +28 -1
- package/dist/entries/rn.js +44 -5
- package/dist/entries/rn.js.map +1 -1
- package/dist/entries/web.js +30 -2
- package/dist/entries/web.js.map +1 -1
- package/dist/entries/web.mjs +30 -2
- package/dist/entries/web.mjs.map +1 -1
- package/dist/index.d.mts +25 -2
- package/dist/index.d.ts +25 -2
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.js +5 -1
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +5 -1
- package/dist/react/index.mjs.map +1 -1
- package/ios/ScreenRecorder/ScreenRecorderModule.swift +9 -3
- package/ios/WatchtowerCore/StructuralRecorder.swift +163 -19
- package/ios/WatchtowerCore/TapEvent.swift +5 -0
- package/ios/WatchtowerCore/Watchtower.swift +48 -3
- package/ios/WatchtowerCore/WatchtowerEngine.swift +26 -1
- package/package.json +1 -1
package/dist/react/index.mjs
CHANGED
|
@@ -2771,7 +2771,7 @@ var SitePongClient = class {
|
|
|
2771
2771
|
}
|
|
2772
2772
|
for (const hook of this.identifyHooks) {
|
|
2773
2773
|
try {
|
|
2774
|
-
hook(userId);
|
|
2774
|
+
hook(userId, traits);
|
|
2775
2775
|
} catch (err) {
|
|
2776
2776
|
this.log("identify hook failed:", err);
|
|
2777
2777
|
}
|
|
@@ -2877,6 +2877,10 @@ var SitePongClient = class {
|
|
|
2877
2877
|
flushInterval: opts.flushInterval,
|
|
2878
2878
|
blockSelector: opts.blockSelector,
|
|
2879
2879
|
maskSelector: opts.maskSelector,
|
|
2880
|
+
// Channel defaults to the SDK environment; ignoreChannels defaults to
|
|
2881
|
+
// ['development'] inside the capture when omitted.
|
|
2882
|
+
channel: opts.channel ?? this.config.environment,
|
|
2883
|
+
ignoreChannels: opts.ignoreChannels,
|
|
2880
2884
|
debug: this.config.debug
|
|
2881
2885
|
});
|
|
2882
2886
|
this.watchtowerCapture.start(this.analyticsManager?.getAutocaptureModule() ?? null);
|