@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.
- package/dist/browser/index.js +4 -2
- package/dist/exporters/index.js +1 -1
- package/dist/exporters/index.js.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/services/socket.service.d.ts +1 -0
- package/dist/services/socket.service.d.ts.map +1 -1
- package/dist/services/socket.service.js +3 -1
- package/dist/services/socket.service.js.map +1 -1
- package/package.json +2 -2
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.
|
|
24155
|
+
const PACKAGE_VERSION_EXPORT = "1.3.36" || 0;
|
|
24156
24156
|
// Regex patterns for OpenTelemetry ignore URLs
|
|
24157
24157
|
const OTEL_IGNORE_URLS = [
|
|
24158
24158
|
// Traces endpoint
|
|
@@ -26947,6 +26947,7 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_4__.Observa
|
|
|
26947
26947
|
this.attempts = 0;
|
|
26948
26948
|
this.sessionId = null;
|
|
26949
26949
|
this.usePostMessage = false;
|
|
26950
|
+
this.isInitialized = false;
|
|
26950
26951
|
this.options = {
|
|
26951
26952
|
apiKey: '',
|
|
26952
26953
|
socketUrl: '',
|
|
@@ -26963,6 +26964,7 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_4__.Observa
|
|
|
26963
26964
|
...this.options,
|
|
26964
26965
|
...config
|
|
26965
26966
|
};
|
|
26967
|
+
this.isInitialized = true;
|
|
26966
26968
|
if (this.options.keepAlive && this.options.socketUrl && this.options.apiKey) {
|
|
26967
26969
|
this._initConnection();
|
|
26968
26970
|
}
|
|
@@ -26990,7 +26992,7 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_4__.Observa
|
|
|
26990
26992
|
}
|
|
26991
26993
|
}
|
|
26992
26994
|
_initConnection() {
|
|
26993
|
-
if (this.isConnecting || this.isConnected)
|
|
26995
|
+
if (this.isConnecting || this.isConnected || !this.isInitialized)
|
|
26994
26996
|
return;
|
|
26995
26997
|
this.attempts++;
|
|
26996
26998
|
this.isConnecting = true;
|