@multiplayer-app/session-recorder-browser 1.3.30 → 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.umd.js CHANGED
@@ -24326,7 +24326,7 @@ const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
24326
24326
  const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
24327
24327
  const REMOTE_SESSION_RECORDING_START = 'remote-session-recording:start';
24328
24328
  const REMOTE_SESSION_RECORDING_STOP = 'remote-session-recording:stop';
24329
- const PACKAGE_VERSION_EXPORT = "1.3.30" || 0;
24329
+ const PACKAGE_VERSION_EXPORT = "1.3.31" || 0;
24330
24330
  // Regex patterns for OpenTelemetry ignore URLs
24331
24331
  const OTEL_IGNORE_URLS = [
24332
24332
  // Traces endpoint
@@ -27323,8 +27323,8 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_4__.Observa
27323
27323
  }
27324
27324
  }
27325
27325
  }
27326
- setUser(userAttributes) {
27327
- this.emitSocketEvent(_config__WEBPACK_IMPORTED_MODULE_2__.SOCKET_SET_USER_EVENT, userAttributes);
27326
+ setUser(data) {
27327
+ this.emitSocketEvent(_config__WEBPACK_IMPORTED_MODULE_2__.SOCKET_SET_USER_EVENT, data);
27328
27328
  }
27329
27329
  close() {
27330
27330
  return new Promise((resolve) => {
@@ -27791,7 +27791,12 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_16__.Obse
27791
27791
  return;
27792
27792
  }
27793
27793
  this._userAttributes = userAttributes;
27794
- this._socketService.setUser(this._userAttributes);
27794
+ this._tracer.clientId;
27795
+ const data = {
27796
+ userAttributes: this._userAttributes,
27797
+ clientId: this._tracer.clientId
27798
+ };
27799
+ this._socketService.setUser(data);
27795
27800
  }
27796
27801
  /**
27797
27802
  * Updates the button click handler in the library.