@spotify-confidence/session-recording 0.18.8 → 0.18.9

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.18.9](https://github.com/spotify/confidence-sdk-js/compare/session-recording-v0.18.8...session-recording-v0.18.9) (2026-08-20)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @spotify-confidence/csr-recorder bumped to 0.17.14
11
+
3
12
  ## [0.18.8](https://github.com/spotify/confidence-sdk-js/compare/session-recording-v0.18.7...session-recording-v0.18.8) (2026-08-18)
4
13
 
5
14
 
package/dist/index.cjs CHANGED
@@ -11140,16 +11140,17 @@ function clickModifiersPlugin() {
11140
11140
  observer: (_callback, win) => {
11141
11141
  const onClick = (event) => {
11142
11142
  const click = event;
11143
- pendingClick = {
11143
+ const modifiers = {
11144
11144
  button: click.button,
11145
11145
  altKey: click.altKey,
11146
11146
  ctrlKey: click.ctrlKey,
11147
11147
  metaKey: click.metaKey,
11148
11148
  shiftKey: click.shiftKey
11149
11149
  };
11150
- queueMicrotask(() => {
11151
- pendingClick = null;
11152
- });
11150
+ pendingClick = modifiers;
11151
+ win.setTimeout(() => {
11152
+ if (pendingClick === modifiers) pendingClick = null;
11153
+ }, 0);
11153
11154
  };
11154
11155
  win.addEventListener("click", onClick, true);
11155
11156
  return () => win.removeEventListener("click", onClick, true);
@@ -11250,7 +11251,7 @@ function observeFlags(onFlagWrite) {
11250
11251
  }
11251
11252
  //#endregion
11252
11253
  //#region src/version.ts
11253
- const SDK_VERSION = "0.18.8";
11254
+ const SDK_VERSION = "0.18.9";
11254
11255
  //#endregion
11255
11256
  //#region src/index.ts
11256
11257
  const DEFAULT_API_URL = "https://recording.confidence.dev";
package/dist/index.js CHANGED
@@ -11121,16 +11121,17 @@ function clickModifiersPlugin() {
11121
11121
  observer: (_callback, win) => {
11122
11122
  const onClick = (event) => {
11123
11123
  const click = event;
11124
- pendingClick = {
11124
+ const modifiers = {
11125
11125
  button: click.button,
11126
11126
  altKey: click.altKey,
11127
11127
  ctrlKey: click.ctrlKey,
11128
11128
  metaKey: click.metaKey,
11129
11129
  shiftKey: click.shiftKey
11130
11130
  };
11131
- queueMicrotask(() => {
11132
- pendingClick = null;
11133
- });
11131
+ pendingClick = modifiers;
11132
+ win.setTimeout(() => {
11133
+ if (pendingClick === modifiers) pendingClick = null;
11134
+ }, 0);
11134
11135
  };
11135
11136
  win.addEventListener("click", onClick, true);
11136
11137
  return () => win.removeEventListener("click", onClick, true);
@@ -11231,7 +11232,7 @@ function observeFlags(onFlagWrite) {
11231
11232
  }
11232
11233
  //#endregion
11233
11234
  //#region src/version.ts
11234
- const SDK_VERSION = "0.18.8";
11235
+ const SDK_VERSION = "0.18.9";
11235
11236
  //#endregion
11236
11237
  //#region src/index.ts
11237
11238
  const DEFAULT_API_URL = "https://recording.confidence.dev";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotify-confidence/session-recording",
3
3
  "license": "Apache-2.0",
4
- "version": "0.18.8",
4
+ "version": "0.18.9",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/spotify/confidence-sdk-js.git",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@spotify-confidence/csr-common": "0.18.7",
45
- "@spotify-confidence/csr-recorder": "0.17.13"
45
+ "@spotify-confidence/csr-recorder": "0.17.14"
46
46
  },
47
47
  "module": "./dist/index.js",
48
48
  "exports": {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const SDK_VERSION = '0.18.8';
1
+ export const SDK_VERSION = '0.18.9';