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/index.mjs
CHANGED
|
@@ -2766,7 +2766,7 @@ var SitePongClient = class {
|
|
|
2766
2766
|
}
|
|
2767
2767
|
for (const hook of this.identifyHooks) {
|
|
2768
2768
|
try {
|
|
2769
|
-
hook(userId);
|
|
2769
|
+
hook(userId, traits);
|
|
2770
2770
|
} catch (err) {
|
|
2771
2771
|
this.log("identify hook failed:", err);
|
|
2772
2772
|
}
|
|
@@ -2872,6 +2872,10 @@ var SitePongClient = class {
|
|
|
2872
2872
|
flushInterval: opts.flushInterval,
|
|
2873
2873
|
blockSelector: opts.blockSelector,
|
|
2874
2874
|
maskSelector: opts.maskSelector,
|
|
2875
|
+
// Channel defaults to the SDK environment; ignoreChannels defaults to
|
|
2876
|
+
// ['development'] inside the capture when omitted.
|
|
2877
|
+
channel: opts.channel ?? this.config.environment,
|
|
2878
|
+
ignoreChannels: opts.ignoreChannels,
|
|
2875
2879
|
debug: this.config.debug
|
|
2876
2880
|
});
|
|
2877
2881
|
this.watchtowerCapture.start(this.analyticsManager?.getAutocaptureModule() ?? null);
|