@newrelic/browser-agent 1.270.0 → 1.270.1
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 +7 -0
- package/dist/cjs/common/constants/env.cdn.js +1 -1
- package/dist/cjs/common/constants/env.npm.js +1 -1
- package/dist/cjs/features/session_trace/aggregate/trace/storage.js +1 -1
- package/dist/esm/common/constants/env.cdn.js +1 -1
- package/dist/esm/common/constants/env.npm.js +1 -1
- package/dist/esm/features/session_trace/aggregate/trace/storage.js +1 -1
- package/package.json +1 -1
- package/src/features/session_trace/aggregate/trace/storage.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.270.1](https://github.com/newrelic/newrelic-browser-agent/compare/v1.270.0...v1.270.1) (2024-10-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Remove undefined agentRuntime in Session Trace ([#1227](https://github.com/newrelic/newrelic-browser-agent/issues/1227)) ([dc5938f](https://github.com/newrelic/newrelic-browser-agent/commit/dc5938f26e43686759de976d4631b22f112b71e8))
|
|
12
|
+
|
|
6
13
|
## [1.270.0](https://github.com/newrelic/newrelic-browser-agent/compare/v1.269.0...v1.270.0) (2024-10-22)
|
|
7
14
|
|
|
8
15
|
|
|
@@ -12,7 +12,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.DIST_METHOD = exports.BUILD_EN
|
|
|
12
12
|
/**
|
|
13
13
|
* Exposes the version of the agent
|
|
14
14
|
*/
|
|
15
|
-
const VERSION = exports.VERSION = "1.270.
|
|
15
|
+
const VERSION = exports.VERSION = "1.270.1";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Exposes the build type of the agent
|
|
@@ -12,7 +12,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.DIST_METHOD = exports.BUILD_EN
|
|
|
12
12
|
/**
|
|
13
13
|
* Exposes the version of the agent
|
|
14
14
|
*/
|
|
15
|
-
const VERSION = exports.VERSION = "1.270.
|
|
15
|
+
const VERSION = exports.VERSION = "1.270.1";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Exposes the build type of the agent
|
|
@@ -52,7 +52,7 @@ class TraceStorage {
|
|
|
52
52
|
if (this.parent.blocked) return;
|
|
53
53
|
if (this.nodeCount >= _constants2.MAX_NODES_PER_HARVEST) {
|
|
54
54
|
// limit the amount of pending data awaiting next harvest
|
|
55
|
-
if (this.parent.
|
|
55
|
+
if (this.parent.mode !== _constants.MODE.ERROR) return;
|
|
56
56
|
const openedSpace = this.trimSTNs(ERROR_MODE_SECONDS_WINDOW); // but maybe we could make some space by discarding irrelevant nodes if we're in sessioned Error mode
|
|
57
57
|
if (openedSpace === 0) return;
|
|
58
58
|
}
|
|
@@ -46,7 +46,7 @@ export class TraceStorage {
|
|
|
46
46
|
if (this.parent.blocked) return;
|
|
47
47
|
if (this.nodeCount >= MAX_NODES_PER_HARVEST) {
|
|
48
48
|
// limit the amount of pending data awaiting next harvest
|
|
49
|
-
if (this.parent.
|
|
49
|
+
if (this.parent.mode !== MODE.ERROR) return;
|
|
50
50
|
const openedSpace = this.trimSTNs(ERROR_MODE_SECONDS_WINDOW); // but maybe we could make some space by discarding irrelevant nodes if we're in sessioned Error mode
|
|
51
51
|
if (openedSpace === 0) return;
|
|
52
52
|
}
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@ export class TraceStorage {
|
|
|
40
40
|
storeSTN (stn) {
|
|
41
41
|
if (this.parent.blocked) return
|
|
42
42
|
if (this.nodeCount >= MAX_NODES_PER_HARVEST) { // limit the amount of pending data awaiting next harvest
|
|
43
|
-
if (this.parent.
|
|
43
|
+
if (this.parent.mode !== MODE.ERROR) return
|
|
44
44
|
const openedSpace = this.trimSTNs(ERROR_MODE_SECONDS_WINDOW) // but maybe we could make some space by discarding irrelevant nodes if we're in sessioned Error mode
|
|
45
45
|
if (openedSpace === 0) return
|
|
46
46
|
}
|