@syntrologie/runtime-sdk 2.8.0-canary.27 → 2.8.0-canary.28
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/{chunk-KKEELLKA.js → chunk-LVTOZ5F7.js} +6 -7
- package/dist/chunk-LVTOZ5F7.js.map +7 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +2 -2
- package/dist/react.js +1 -1
- package/dist/smart-canvas.esm.js +3 -3
- package/dist/smart-canvas.esm.js.map +3 -3
- package/dist/smart-canvas.js +8 -8
- package/dist/smart-canvas.js.map +2 -2
- package/dist/smart-canvas.min.js +3 -3
- package/dist/smart-canvas.min.js.map +3 -3
- package/dist/telemetry/adapters/posthog.d.ts +0 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-KKEELLKA.js.map +0 -7
|
@@ -3439,7 +3439,7 @@ function getAntiFlickerSnippet(config = {}) {
|
|
|
3439
3439
|
}
|
|
3440
3440
|
|
|
3441
3441
|
// src/version.ts
|
|
3442
|
-
var SDK_VERSION = "2.8.0-canary.
|
|
3442
|
+
var SDK_VERSION = "2.8.0-canary.28";
|
|
3443
3443
|
|
|
3444
3444
|
// src/types.ts
|
|
3445
3445
|
var SDK_SCHEMA_VERSION = "2.0";
|
|
@@ -6313,7 +6313,7 @@ function SmartCanvasAppInner({
|
|
|
6313
6313
|
configUriFeatureKey = "smart-canvas-config-uri",
|
|
6314
6314
|
configFeatureKey = "smart-canvas-config",
|
|
6315
6315
|
fetchCredentials = "include",
|
|
6316
|
-
pollIntervalMs,
|
|
6316
|
+
pollIntervalMs: _pollIntervalMs,
|
|
6317
6317
|
experiments,
|
|
6318
6318
|
telemetry,
|
|
6319
6319
|
runtime: runtime3,
|
|
@@ -7596,7 +7596,6 @@ var PostHogAdapter = class {
|
|
|
7596
7596
|
__publicField(this, "featureFlagsCallback");
|
|
7597
7597
|
__publicField(this, "captureCallback");
|
|
7598
7598
|
__publicField(this, "rrwebCallback");
|
|
7599
|
-
__publicField(this, "consentUnsub");
|
|
7600
7599
|
this.client = options.client;
|
|
7601
7600
|
this.featureFlagsCallback = options.onFeatureFlagsLoaded;
|
|
7602
7601
|
this.captureCallback = options.onCapture;
|
|
@@ -7607,7 +7606,7 @@ var PostHogAdapter = class {
|
|
|
7607
7606
|
if (currentStatus === "granted") {
|
|
7608
7607
|
this.initPostHog();
|
|
7609
7608
|
}
|
|
7610
|
-
|
|
7609
|
+
consent.subscribe((status) => {
|
|
7611
7610
|
if (status === "granted") {
|
|
7612
7611
|
if (!this.client) {
|
|
7613
7612
|
this.initPostHog();
|
|
@@ -8777,7 +8776,7 @@ function createActionEngine(options) {
|
|
|
8777
8776
|
}
|
|
8778
8777
|
return executor(action, context);
|
|
8779
8778
|
}
|
|
8780
|
-
function subscribeForReeval(id, action, triggerWhen,
|
|
8779
|
+
function subscribeForReeval(id, action, triggerWhen, _handle) {
|
|
8781
8780
|
if (!runtime3) return;
|
|
8782
8781
|
const unsubs = [];
|
|
8783
8782
|
const onReeval = async () => {
|
|
@@ -11708,7 +11707,7 @@ async function _initCore(options) {
|
|
|
11708
11707
|
enableFeatureFlags: true,
|
|
11709
11708
|
// Disable session recording in debug/dev mode (mock telemetry doesn't
|
|
11710
11709
|
// support the PostHog recorder extension, causing console errors)
|
|
11711
|
-
sessionRecording: payload.d
|
|
11710
|
+
sessionRecording: !payload.d,
|
|
11712
11711
|
// Wire up callback for when flags are loaded (Phase 2)
|
|
11713
11712
|
onFeatureFlagsLoaded,
|
|
11714
11713
|
// Wire up event capture to feed into event processor
|
|
@@ -12020,4 +12019,4 @@ export {
|
|
|
12020
12019
|
encodeToken,
|
|
12021
12020
|
Syntro
|
|
12022
12021
|
};
|
|
12023
|
-
//# sourceMappingURL=chunk-
|
|
12022
|
+
//# sourceMappingURL=chunk-LVTOZ5F7.js.map
|