@multiplayer-app/session-recorder-browser 1.3.28 → 1.3.31

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/index.js CHANGED
@@ -24152,7 +24152,7 @@ const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
24152
24152
  const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
24153
24153
  const REMOTE_SESSION_RECORDING_START = 'remote-session-recording:start';
24154
24154
  const REMOTE_SESSION_RECORDING_STOP = 'remote-session-recording:stop';
24155
- const PACKAGE_VERSION_EXPORT = "1.3.28" || 0;
24155
+ const PACKAGE_VERSION_EXPORT = "1.3.31" || 0;
24156
24156
  // Regex patterns for OpenTelemetry ignore URLs
24157
24157
  const OTEL_IGNORE_URLS = [
24158
24158
  // Traces endpoint
@@ -27125,8 +27125,8 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_4__.Observa
27125
27125
  }
27126
27126
  }
27127
27127
  }
27128
- setUser(userAttributes) {
27129
- this.emitSocketEvent(_config__WEBPACK_IMPORTED_MODULE_2__.SOCKET_SET_USER_EVENT, userAttributes);
27128
+ setUser(data) {
27129
+ this.emitSocketEvent(_config__WEBPACK_IMPORTED_MODULE_2__.SOCKET_SET_USER_EVENT, data);
27130
27130
  }
27131
27131
  close() {
27132
27132
  return new Promise((resolve) => {
@@ -27592,7 +27592,12 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_16__.Obse
27592
27592
  return;
27593
27593
  }
27594
27594
  this._userAttributes = userAttributes;
27595
- this._socketService.setUser(this._userAttributes);
27595
+ this._tracer.clientId;
27596
+ const data = {
27597
+ userAttributes: this._userAttributes,
27598
+ clientId: this._tracer.clientId
27599
+ };
27600
+ this._socketService.setUser(data);
27596
27601
  }
27597
27602
  /**
27598
27603
  * Updates the button click handler in the library.