@multiplayer-app/session-recorder-browser 2.0.55 → 2.0.56

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.
@@ -25163,7 +25163,7 @@ const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
25163
25163
  const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
25164
25164
  const REMOTE_SESSION_RECORDING_START = 'remote-session-recording:start';
25165
25165
  const REMOTE_SESSION_RECORDING_STOP = 'remote-session-recording:stop';
25166
- const PACKAGE_VERSION_EXPORT = "2.0.55" || 0;
25166
+ const PACKAGE_VERSION_EXPORT = "2.0.56" || 0;
25167
25167
  // Regex patterns for OpenTelemetry ignore URLs
25168
25168
  const OTEL_IGNORE_URLS = [
25169
25169
  // Traces endpoint
@@ -28971,7 +28971,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_16__.Obse
28971
28971
  * Start tracing and recording for the session
28972
28972
  */
28973
28973
  _start() {
28974
- var _a;
28974
+ var _a, _b;
28975
28975
  this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started;
28976
28976
  // eslint-disable-next-line no-self-assign
28977
28977
  this.sessionType = this.sessionType;
@@ -28980,9 +28980,11 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_16__.Obse
28980
28980
  void this._recorder.restart(this.sessionId, this.sessionType);
28981
28981
  this._navigationRecorder.start({ sessionId: this.sessionId, sessionType: this.sessionType });
28982
28982
  if (this.session) {
28983
- _eventBus__WEBPACK_IMPORTED_MODULE_7__.recorderEventBus.emit(_config__WEBPACK_IMPORTED_MODULE_5__.SESSION_STARTED_EVENT, this.session);
28984
28983
  this._socketService.subscribeToSession(this.session);
28985
28984
  this._sessionWidget.seconds = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getTimeDifferenceInSeconds)((_a = this.session) === null || _a === void 0 ? void 0 : _a.startedAt);
28985
+ if ((_b = this.session) === null || _b === void 0 ? void 0 : _b.url) {
28986
+ _eventBus__WEBPACK_IMPORTED_MODULE_7__.recorderEventBus.emit(_config__WEBPACK_IMPORTED_MODULE_5__.SESSION_AUTO_CREATED, this.session.url);
28987
+ }
28986
28988
  }
28987
28989
  }
28988
28990
  /**