@spotify-confidence/csr-recorder 0.17.4 → 0.17.6
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/CHANGELOG.md +21 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
- package/src/engine/rrweb-engine.ts +1 -0
- package/src/types.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.17.6](https://github.com/spotify/confidence-sdk-js/compare/csr-recorder-v0.17.5...csr-recorder-v0.17.6) (2026-07-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ✨ New Features
|
|
7
|
+
|
|
8
|
+
* **csr:** expose userTriggeredOnInput option ([#389](https://github.com/spotify/confidence-sdk-js/issues/389)) ([9780b29](https://github.com/spotify/confidence-sdk-js/commit/9780b29f87a8847fed6190ce0322c8f48cc27d98))
|
|
9
|
+
|
|
10
|
+
## [0.17.5](https://github.com/spotify/confidence-sdk-js/compare/csr-recorder-v0.17.4...csr-recorder-v0.17.5) (2026-06-30)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### 🐛 Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **csr:** use workspace:* for inter-package deps ([#383](https://github.com/spotify/confidence-sdk-js/issues/383)) ([cb46378](https://github.com/spotify/confidence-sdk-js/commit/cb46378716d7c2402e400167dec2e31c1c6ffe4b))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Dependencies
|
|
19
|
+
|
|
20
|
+
* The following workspace dependencies were updated
|
|
21
|
+
* dependencies
|
|
22
|
+
* @spotify-confidence/csr-common bumped to 0.18.0
|
|
23
|
+
|
|
3
24
|
## [0.17.4](https://github.com/spotify/confidence-sdk-js/compare/csr-recorder-v0.17.3...csr-recorder-v0.17.4) (2026-06-24)
|
|
4
25
|
|
|
5
26
|
|
package/dist/index.cjs
CHANGED
|
@@ -11104,6 +11104,7 @@ var RrwebEngine = class {
|
|
|
11104
11104
|
...maskSelectors.length ? { maskTextSelector: maskSelectors.join(",") } : {},
|
|
11105
11105
|
...blockSelectors.length ? { blockSelector: blockSelectors.join(",") } : {},
|
|
11106
11106
|
...plugins.length ? { plugins } : {},
|
|
11107
|
+
...config.userTriggeredOnInput ? { userTriggeredOnInput: true } : {},
|
|
11107
11108
|
sampling: {
|
|
11108
11109
|
mousemove: 100,
|
|
11109
11110
|
input: "last"
|
package/dist/index.d.cts
CHANGED
|
@@ -84,6 +84,11 @@ interface RecordingConfig {
|
|
|
84
84
|
* Import `defaultParameterizeRoute` to compose with the built-in rules.
|
|
85
85
|
*/
|
|
86
86
|
parameterizeRoute?: (route: string) => string;
|
|
87
|
+
/**
|
|
88
|
+
* Tag each input event with a `userTriggered` flag derived from the
|
|
89
|
+
* browser's `event.isTrusted` property. Defaults to `false`.
|
|
90
|
+
*/
|
|
91
|
+
userTriggeredOnInput?: boolean;
|
|
87
92
|
}
|
|
88
93
|
declare enum RecorderState {
|
|
89
94
|
Idle = "idle",
|
package/dist/index.d.ts
CHANGED
|
@@ -84,6 +84,11 @@ interface RecordingConfig {
|
|
|
84
84
|
* Import `defaultParameterizeRoute` to compose with the built-in rules.
|
|
85
85
|
*/
|
|
86
86
|
parameterizeRoute?: (route: string) => string;
|
|
87
|
+
/**
|
|
88
|
+
* Tag each input event with a `userTriggered` flag derived from the
|
|
89
|
+
* browser's `event.isTrusted` property. Defaults to `false`.
|
|
90
|
+
*/
|
|
91
|
+
userTriggeredOnInput?: boolean;
|
|
87
92
|
}
|
|
88
93
|
declare enum RecorderState {
|
|
89
94
|
Idle = "idle",
|
package/dist/index.js
CHANGED
|
@@ -11103,6 +11103,7 @@ var RrwebEngine = class {
|
|
|
11103
11103
|
...maskSelectors.length ? { maskTextSelector: maskSelectors.join(",") } : {},
|
|
11104
11104
|
...blockSelectors.length ? { blockSelector: blockSelectors.join(",") } : {},
|
|
11105
11105
|
...plugins.length ? { plugins } : {},
|
|
11106
|
+
...config.userTriggeredOnInput ? { userTriggeredOnInput: true } : {},
|
|
11106
11107
|
sampling: {
|
|
11107
11108
|
mousemove: 100,
|
|
11108
11109
|
input: "last"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotify-confidence/csr-recorder",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.6",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/spotify/confidence-sdk-js.git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@rrweb/rrweb-plugin-console-record": "^2.0.1",
|
|
38
|
-
"@spotify-confidence/csr-common": "
|
|
38
|
+
"@spotify-confidence/csr-common": "0.18.0",
|
|
39
39
|
"rrweb": "^2.0.1"
|
|
40
40
|
},
|
|
41
41
|
"module": "./dist/index.js",
|
|
@@ -34,6 +34,7 @@ export class RrwebEngine implements RecordingEngine {
|
|
|
34
34
|
...(maskSelectors.length ? { maskTextSelector: maskSelectors.join(',') } : {}),
|
|
35
35
|
...(blockSelectors.length ? { blockSelector: blockSelectors.join(',') } : {}),
|
|
36
36
|
...(plugins.length ? { plugins } : {}),
|
|
37
|
+
...(config.userTriggeredOnInput ? { userTriggeredOnInput: true } : {}),
|
|
37
38
|
sampling: {
|
|
38
39
|
mousemove: 100,
|
|
39
40
|
input: 'last',
|
package/src/types.ts
CHANGED
|
@@ -71,6 +71,11 @@ export interface RecordingConfig {
|
|
|
71
71
|
* Import `defaultParameterizeRoute` to compose with the built-in rules.
|
|
72
72
|
*/
|
|
73
73
|
parameterizeRoute?: (route: string) => string;
|
|
74
|
+
/**
|
|
75
|
+
* Tag each input event with a `userTriggered` flag derived from the
|
|
76
|
+
* browser's `event.isTrusted` property. Defaults to `false`.
|
|
77
|
+
*/
|
|
78
|
+
userTriggeredOnInput?: boolean;
|
|
74
79
|
}
|
|
75
80
|
|
|
76
81
|
export enum RecorderState {
|