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.js
CHANGED
|
@@ -2773,7 +2773,7 @@ var SitePongClient = class {
|
|
|
2773
2773
|
}
|
|
2774
2774
|
for (const hook of this.identifyHooks) {
|
|
2775
2775
|
try {
|
|
2776
|
-
hook(userId);
|
|
2776
|
+
hook(userId, traits);
|
|
2777
2777
|
} catch (err) {
|
|
2778
2778
|
this.log("identify hook failed:", err);
|
|
2779
2779
|
}
|
|
@@ -2879,6 +2879,10 @@ var SitePongClient = class {
|
|
|
2879
2879
|
flushInterval: opts.flushInterval,
|
|
2880
2880
|
blockSelector: opts.blockSelector,
|
|
2881
2881
|
maskSelector: opts.maskSelector,
|
|
2882
|
+
// Channel defaults to the SDK environment; ignoreChannels defaults to
|
|
2883
|
+
// ['development'] inside the capture when omitted.
|
|
2884
|
+
channel: opts.channel ?? this.config.environment,
|
|
2885
|
+
ignoreChannels: opts.ignoreChannels,
|
|
2882
2886
|
debug: this.config.debug
|
|
2883
2887
|
});
|
|
2884
2888
|
this.watchtowerCapture.start(this.analyticsManager?.getAutocaptureModule() ?? null);
|