@coralogix/browser 3.0.1 → 3.0.2
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/CHANGELOG.md +6 -0
- package/index.esm2.js +1 -1
- package/package.json +1 -1
- package/sessionRecorder.esm.js +2 -5
- package/src/session/sessionRecorder.d.ts +0 -1
- package/src/version.d.ts +1 -1
package/CHANGELOG.md
CHANGED
package/index.esm2.js
CHANGED
|
@@ -4138,7 +4138,7 @@ function resolveUrlBlueprinters(urlBlueprinters) {
|
|
|
4138
4138
|
return resolvedUrlBlueprinters;
|
|
4139
4139
|
}
|
|
4140
4140
|
|
|
4141
|
-
var SDK_VERSION = '3.0.
|
|
4141
|
+
var SDK_VERSION = '3.0.2';
|
|
4142
4142
|
|
|
4143
4143
|
function shouldDropEvent(cxRumEvent, options) {
|
|
4144
4144
|
if (isDocumentErrorWithoutMessage(cxRumEvent)) {
|
package/package.json
CHANGED
package/sessionRecorder.esm.js
CHANGED
|
@@ -1484,7 +1484,6 @@ var SessionRecorder = (function () {
|
|
|
1484
1484
|
this.isErrorOccurred = false;
|
|
1485
1485
|
this.debugMode = !!((_a = getSdkConfig()) === null || _a === void 0 ? void 0 : _a.debug);
|
|
1486
1486
|
this._recordingStopDueToTimeout = false;
|
|
1487
|
-
this.mutationCallbackCount = 0;
|
|
1488
1487
|
this.handleRecordEvent = function (event, isCheckout) {
|
|
1489
1488
|
if (!_this.recordingStopped) {
|
|
1490
1489
|
if (_this.onlySessionWithErrorMode) {
|
|
@@ -1607,7 +1606,6 @@ var SessionRecorder = (function () {
|
|
|
1607
1606
|
if (this.debugMode) {
|
|
1608
1607
|
console.debug('Coralogix Browser SDK - Session recording started');
|
|
1609
1608
|
}
|
|
1610
|
-
this.mutationCallbackCount = 0;
|
|
1611
1609
|
this.startMutationObserver();
|
|
1612
1610
|
this.resetBatching();
|
|
1613
1611
|
this.recordingStopped = false;
|
|
@@ -1657,9 +1655,8 @@ var SessionRecorder = (function () {
|
|
|
1657
1655
|
var _this = this;
|
|
1658
1656
|
this.stopMutationObserver();
|
|
1659
1657
|
this.mutationObserver = new MutationObserver(function (mutations) {
|
|
1660
|
-
_this.
|
|
1661
|
-
|
|
1662
|
-
var message = "Coralogix Browser SDK - Recording stopped due to too many mutations ".concat(_this.mutationCallbackCount);
|
|
1658
|
+
if (mutations.length > _this.maxMutations) {
|
|
1659
|
+
var message = "Coralogix Browser SDK - Recording stopped due to too many mutations ".concat(mutations.length);
|
|
1663
1660
|
console.warn(message);
|
|
1664
1661
|
reportInternalEvent('recording-stop', message);
|
|
1665
1662
|
_this.stopRecording();
|
|
@@ -25,7 +25,6 @@ export declare class SessionRecorder {
|
|
|
25
25
|
private request;
|
|
26
26
|
private workerManager;
|
|
27
27
|
private isWorkerReady;
|
|
28
|
-
private mutationCallbackCount;
|
|
29
28
|
constructor(sessionManager: SessionManager, recordConfig: SessionRecordingConfig);
|
|
30
29
|
getSessionHasScreenshot(): boolean;
|
|
31
30
|
getSessionHasRecording(): boolean;
|
package/src/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.0.
|
|
1
|
+
export declare const SDK_VERSION = "3.0.2";
|