@leanbase-giangnd/js 0.1.2 → 0.2.2
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/LICENSE +37 -0
- package/dist/index.cjs +344 -784
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.mjs +345 -785
- package/dist/index.mjs.map +1 -1
- package/dist/leanbase.iife.js +5549 -911
- package/dist/leanbase.iife.js.map +1 -1
- package/package.json +46 -47
- package/src/extensions/replay/extension-shim.ts +117 -7
- package/src/extensions/replay/external/lazy-loaded-session-recorder.ts +72 -11
- package/src/extensions/replay/session-recording.ts +52 -2
- package/src/utils/index.ts +3 -0
- package/src/version.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1406,6 +1406,7 @@ declare class SessionRecording$1 {
|
|
|
1406
1406
|
private _clearRemoteConfig;
|
|
1407
1407
|
onRemoteConfig(response: RemoteConfig$1): void;
|
|
1408
1408
|
log(message: string, level?: 'log' | 'warn' | 'error'): void;
|
|
1409
|
+
private get _scriptName();
|
|
1409
1410
|
private _onScriptLoaded;
|
|
1410
1411
|
/**
|
|
1411
1412
|
* this is maintained on the public API only because it has always been on the public API
|
|
@@ -3824,7 +3825,7 @@ declare class SessionIdManager {
|
|
|
3824
3825
|
changeReason: {
|
|
3825
3826
|
noSessionId: boolean;
|
|
3826
3827
|
activityTimeout: boolean;
|
|
3827
|
-
sessionPastMaximumLength:
|
|
3828
|
+
sessionPastMaximumLength: boolean;
|
|
3828
3829
|
} | undefined;
|
|
3829
3830
|
lastActivityTimestamp: number;
|
|
3830
3831
|
};
|
|
@@ -4292,7 +4293,7 @@ declare class PostHogSurveys {
|
|
|
4292
4293
|
private _isInitializingSurveys;
|
|
4293
4294
|
private _surveyCallbacks;
|
|
4294
4295
|
constructor(_instance: PostHog);
|
|
4295
|
-
onRemoteConfig(response: RemoteConfig):
|
|
4296
|
+
onRemoteConfig(response: RemoteConfig): void;
|
|
4296
4297
|
reset(): void;
|
|
4297
4298
|
loadIfEnabled(): void;
|
|
4298
4299
|
/** Helper to finalize survey initialization */
|