@multiplayer-app/session-recorder-browser 1.3.35 → 1.3.36

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.
@@ -25054,7 +25054,7 @@ const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
25054
25054
  const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
25055
25055
  const REMOTE_SESSION_RECORDING_START = 'remote-session-recording:start';
25056
25056
  const REMOTE_SESSION_RECORDING_STOP = 'remote-session-recording:stop';
25057
- const PACKAGE_VERSION_EXPORT = "1.3.35" || 0;
25057
+ const PACKAGE_VERSION_EXPORT = "1.3.36" || 0;
25058
25058
  // Regex patterns for OpenTelemetry ignore URLs
25059
25059
  const OTEL_IGNORE_URLS = [
25060
25060
  // Traces endpoint
@@ -27915,6 +27915,7 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_4__.Observa
27915
27915
  this.attempts = 0;
27916
27916
  this.sessionId = null;
27917
27917
  this.usePostMessage = false;
27918
+ this.isInitialized = false;
27918
27919
  this.options = {
27919
27920
  apiKey: '',
27920
27921
  socketUrl: '',
@@ -27931,6 +27932,7 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_4__.Observa
27931
27932
  ...this.options,
27932
27933
  ...config
27933
27934
  };
27935
+ this.isInitialized = true;
27934
27936
  if (this.options.keepAlive && this.options.socketUrl && this.options.apiKey) {
27935
27937
  this._initConnection();
27936
27938
  }
@@ -27958,7 +27960,7 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_4__.Observa
27958
27960
  }
27959
27961
  }
27960
27962
  _initConnection() {
27961
- if (this.isConnecting || this.isConnected)
27963
+ if (this.isConnecting || this.isConnected || !this.isInitialized)
27962
27964
  return;
27963
27965
  this.attempts++;
27964
27966
  this.isConnecting = true;