@newrelic/browser-agent 1.324.0-rc.9 → 1.324.1-rc.0

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 CHANGED
@@ -3,6 +3,18 @@
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.324.1](https://github.com/newrelic/newrelic-browser-agent/compare/v1.324.0...v1.324.1) (2026-10-26)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * correct hasMeta/hasSnapshot flags on session replay harvests ([#1911](https://github.com/newrelic/newrelic-browser-agent/issues/1911)) ([f2129de](https://github.com/newrelic/newrelic-browser-agent/commit/f2129deb18e25a7efc8ffc8993617c7e531141ba))
12
+
13
+
14
+ ### Security Fixes
15
+
16
+ * bump fflate to 0.8.3 ([#1909](https://github.com/newrelic/newrelic-browser-agent/issues/1909)) ([fa97b77](https://github.com/newrelic/newrelic-browser-agent/commit/fa97b77fa0c33047b7403e85ef7ea3800d62449a))
17
+
6
18
  ## [1.324.0](https://github.com/newrelic/newrelic-browser-agent/compare/v1.323.0...v1.324.0) (2026-10-12)
7
19
 
8
20
 
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.RRWEB_PACKAGE_NAME = exports.D
17
17
  /**
18
18
  * Exposes the version of the agent
19
19
  */
20
- const VERSION = exports.VERSION = "1.324.0-rc.9";
20
+ const VERSION = exports.VERSION = "1.324.1-rc.0";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.RRWEB_PACKAGE_NAME = exports.D
17
17
  /**
18
18
  * Exposes the version of the agent
19
19
  */
20
- const VERSION = exports.VERSION = "1.324.0-rc.9";
20
+ const VERSION = exports.VERSION = "1.324.1-rc.0";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -205,11 +205,10 @@ class Recorder {
205
205
  // we are still waiting for an error to throw, so keep wiping the buffer over time
206
206
  this.clearBuffer();
207
207
  }
208
-
209
- // meta event
210
- this.hasSeenMeta ||= this.events.hasMeta ||= event.type === _constants.RRWEB_EVENT_TYPES.Meta;
211
- // snapshot event
212
- this.hasSeenSnapshot ||= this.events.hasSnapshot ||= event.type === _constants.RRWEB_EVENT_TYPES.FullSnapshot;
208
+ this.events.hasMeta ||= event.type === _constants.RRWEB_EVENT_TYPES.Meta;
209
+ this.events.hasSnapshot ||= event.type === _constants.RRWEB_EVENT_TYPES.FullSnapshot;
210
+ this.hasSeenMeta ||= this.events.hasMeta;
211
+ this.hasSeenSnapshot ||= this.events.hasSnapshot;
213
212
 
214
213
  //* dont let the EventBuffer class double evaluate the event data size, it's a performance burden and we have special reasons to do it outside the event buffer */
215
214
  this.events.add(event, eventBytes);
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.324.0-rc.9";
14
+ export const VERSION = "1.324.1-rc.0";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.324.0-rc.9";
14
+ export const VERSION = "1.324.1-rc.0";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
@@ -198,11 +198,10 @@ export class Recorder {
198
198
  // we are still waiting for an error to throw, so keep wiping the buffer over time
199
199
  this.clearBuffer();
200
200
  }
201
-
202
- // meta event
203
- this.hasSeenMeta ||= this.events.hasMeta ||= event.type === RRWEB_EVENT_TYPES.Meta;
204
- // snapshot event
205
- this.hasSeenSnapshot ||= this.events.hasSnapshot ||= event.type === RRWEB_EVENT_TYPES.FullSnapshot;
201
+ this.events.hasMeta ||= event.type === RRWEB_EVENT_TYPES.Meta;
202
+ this.events.hasSnapshot ||= event.type === RRWEB_EVENT_TYPES.FullSnapshot;
203
+ this.hasSeenMeta ||= this.events.hasMeta;
204
+ this.hasSeenSnapshot ||= this.events.hasSnapshot;
206
205
 
207
206
  //* dont let the EventBuffer class double evaluate the event data size, it's a performance burden and we have special reasons to do it outside the event buffer */
208
207
  this.events.add(event, eventBytes);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/browser-agent",
3
- "version": "1.324.0-rc.9",
3
+ "version": "1.324.1-rc.0",
4
4
  "private": false,
5
5
  "author": "New Relic Browser Agent Team <browser-agent@newrelic.com>",
6
6
  "description": "New Relic Browser Agent",
@@ -170,7 +170,7 @@
170
170
  "runtime": {
171
171
  "name": "node",
172
172
  "onFail": "error",
173
- "version": ">=24.14.0"
173
+ "version": ">=24.22.1"
174
174
  },
175
175
  "packageManager": {
176
176
  "name": "npm",
@@ -194,10 +194,10 @@ export class Recorder {
194
194
  this.clearBuffer()
195
195
  }
196
196
 
197
- // meta event
198
- this.hasSeenMeta ||= this.events.hasMeta ||= event.type === RRWEB_EVENT_TYPES.Meta
199
- // snapshot event
200
- this.hasSeenSnapshot ||= this.events.hasSnapshot ||= event.type === RRWEB_EVENT_TYPES.FullSnapshot
197
+ this.events.hasMeta ||= event.type === RRWEB_EVENT_TYPES.Meta
198
+ this.events.hasSnapshot ||= event.type === RRWEB_EVENT_TYPES.FullSnapshot
199
+ this.hasSeenMeta ||= this.events.hasMeta
200
+ this.hasSeenSnapshot ||= this.events.hasSnapshot
201
201
 
202
202
  //* dont let the EventBuffer class double evaluate the event data size, it's a performance burden and we have special reasons to do it outside the event buffer */
203
203
  this.events.add(event, eventBytes)