@amplitude/plugin-session-replay-browser 1.13.12 → 1.13.13
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/README.md +8 -0
- package/lib/cjs/typings/session-replay.d.ts +38 -0
- package/lib/cjs/typings/session-replay.d.ts.map +1 -1
- package/lib/cjs/typings/session-replay.js.map +1 -1
- package/lib/cjs/version.d.ts +1 -1
- package/lib/cjs/version.js +1 -1
- package/lib/cjs/version.js.map +1 -1
- package/lib/esm/typings/session-replay.d.ts +38 -0
- package/lib/esm/typings/session-replay.d.ts.map +1 -1
- package/lib/esm/typings/session-replay.js.map +1 -1
- package/lib/esm/version.d.ts +1 -1
- package/lib/esm/version.js +1 -1
- package/lib/esm/version.js.map +1 -1
- package/lib/scripts/amplitude-min.js +1 -1
- package/lib/scripts/amplitude-min.js.gz +0 -0
- package/lib/scripts/amplitude-min.js.map +1 -1
- package/lib/scripts/amplitude-min.umd.js +1 -1
- package/lib/scripts/amplitude-min.umd.js.gz +0 -0
- package/lib/scripts/typings/session-replay.d.ts +38 -0
- package/lib/scripts/typings/session-replay.d.ts.map +1 -1
- package/lib/scripts/version.d.ts +1 -1
- package/package.json +4 -4
|
Binary file
|
|
@@ -12,17 +12,55 @@ export interface SessionReplayPerformanceConfig {
|
|
|
12
12
|
timeout?: number;
|
|
13
13
|
}
|
|
14
14
|
export interface SessionReplayOptions {
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link StandaloneSessionReplayOptions.sampleRate}
|
|
17
|
+
*/
|
|
15
18
|
sampleRate?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @see {@link StandaloneSessionReplayOptions.privacyConfig}
|
|
21
|
+
*/
|
|
16
22
|
privacyConfig?: SessionReplayPrivacyConfig;
|
|
23
|
+
/**
|
|
24
|
+
* @see {@link StandaloneSessionReplayOptions.debugMode}
|
|
25
|
+
*/
|
|
17
26
|
debugMode?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* If this is enabled we will force the browser SDK to also send start and end session events.
|
|
29
|
+
*/
|
|
18
30
|
forceSessionTracking?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @see {@link StandaloneSessionReplayOptions.configServerUrl}
|
|
33
|
+
*/
|
|
19
34
|
configServerUrl?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link StandaloneSessionReplayOptions.trackServerUrl}
|
|
37
|
+
*/
|
|
20
38
|
trackServerUrl?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link StandaloneSessionReplayOptions.shouldInlineStylesheet}
|
|
41
|
+
*/
|
|
21
42
|
shouldInlineStylesheet?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* @see {@link StandaloneSessionReplayOptions.performanceConfig}
|
|
45
|
+
*/
|
|
22
46
|
performanceConfig?: SessionReplayPerformanceConfig;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link StandaloneSessionReplayOptions.storeType}
|
|
49
|
+
*/
|
|
23
50
|
storeType?: StoreType;
|
|
51
|
+
/**
|
|
52
|
+
* Override the device ID for session replay.
|
|
53
|
+
*/
|
|
24
54
|
deviceId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Dynamically overrides the session ID for replay. Ensure stability to avoid frequent restarts.
|
|
57
|
+
* @param event Browser SDK event
|
|
58
|
+
* @returns The session ID for the session replay.
|
|
59
|
+
*/
|
|
25
60
|
customSessionId?: (event: Event) => string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* @see {@link StandaloneSessionReplayOptions.experimental}
|
|
63
|
+
*/
|
|
26
64
|
experimental?: {
|
|
27
65
|
useWebWorker: boolean;
|
|
28
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-replay.d.ts","sourceRoot":"","sources":["../../../src/typings/session-replay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"session-replay.d.ts","sourceRoot":"","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.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.13.
|
|
1
|
+
export declare const VERSION = "1.13.13";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amplitude/plugin-session-replay-browser",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.13",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Amplitude Inc",
|
|
6
6
|
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"@amplitude/analytics-client-common": ">=1 <2",
|
|
42
42
|
"@amplitude/analytics-core": ">=1 <2",
|
|
43
43
|
"@amplitude/analytics-types": ">=1 <2",
|
|
44
|
-
"@amplitude/session-replay-browser": "^1.20.
|
|
44
|
+
"@amplitude/session-replay-browser": "^1.20.2",
|
|
45
45
|
"idb-keyval": "^6.2.1",
|
|
46
46
|
"tslib": "^2.4.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@amplitude/analytics-browser": "^2.13.
|
|
49
|
+
"@amplitude/analytics-browser": "^2.13.3",
|
|
50
50
|
"@rollup/plugin-commonjs": "^23.0.4",
|
|
51
51
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
52
52
|
"@rollup/plugin-typescript": "^10.0.1",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"files": [
|
|
62
62
|
"lib"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "71161aaa132c2ee9f2d5fc4eedc1ce2ec1e553f5"
|
|
65
65
|
}
|