@newrelic/browser-agent 1.273.1 → 1.274.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,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.274.0](https://github.com/newrelic/newrelic-browser-agent/compare/v1.273.1...v1.274.0) (2024-11-19)
7
+
8
+
9
+ ### Features
10
+
11
+ * Upgrade SessionReplay libraries to latest version ([#1251](https://github.com/newrelic/newrelic-browser-agent/issues/1251)) ([2d8d114](https://github.com/newrelic/newrelic-browser-agent/commit/2d8d114e70ba2861fb5639e132f25c9c03df871b))
12
+
6
13
  ## [1.273.1](https://github.com/newrelic/newrelic-browser-agent/compare/v1.273.0...v1.273.1) (2024-11-18)
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.273.1";
15
+ const VERSION = exports.VERSION = "1.274.0";
16
16
 
17
17
  /**
18
18
  * Exposes the build type of the agent
@@ -28,4 +28,4 @@ const DIST_METHOD = exports.DIST_METHOD = 'CDN';
28
28
  /**
29
29
  * Exposes the lib version of rrweb
30
30
  */
31
- const RRWEB_VERSION = exports.RRWEB_VERSION = "2.0.0-alpha.12";
31
+ const RRWEB_VERSION = exports.RRWEB_VERSION = "^2.0.0-alpha.17";
@@ -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.273.1";
15
+ const VERSION = exports.VERSION = "1.274.0";
16
16
 
17
17
  /**
18
18
  * Exposes the build type of the agent
@@ -29,4 +29,4 @@ const DIST_METHOD = exports.DIST_METHOD = 'NPM';
29
29
  /**
30
30
  * Exposes the lib version of rrweb
31
31
  */
32
- const RRWEB_VERSION = exports.RRWEB_VERSION = "2.0.0-alpha.12";
32
+ const RRWEB_VERSION = exports.RRWEB_VERSION = "^2.0.0-alpha.17";
@@ -110,13 +110,6 @@ class Recorder {
110
110
  inlineImages: inline_images,
111
111
  collectFonts: collect_fonts,
112
112
  checkoutEveryNms: _constants.CHECKOUT_MS[this.parent.mode],
113
- /** Emits errors thrown by rrweb directly before bubbling them up to the window */
114
- errorHandler: err => {
115
- /** capture rrweb errors as "internal" errors only */
116
- this.parent.ee.emit('internal-error', [err]);
117
- /** returning true informs rrweb to swallow the error instead of throwing it to the window */
118
- return true;
119
- },
120
113
  recordAfter: 'DOMContentLoaded'
121
114
  });
122
115
  this.stopRecording = () => {
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * Exposes the version of the agent
8
8
  */
9
- export const VERSION = "1.273.1";
9
+ export const VERSION = "1.274.0";
10
10
 
11
11
  /**
12
12
  * Exposes the build type of the agent
@@ -22,4 +22,4 @@ export const DIST_METHOD = 'CDN';
22
22
  /**
23
23
  * Exposes the lib version of rrweb
24
24
  */
25
- export const RRWEB_VERSION = "2.0.0-alpha.12";
25
+ export const RRWEB_VERSION = "^2.0.0-alpha.17";
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * Exposes the version of the agent
8
8
  */
9
- export const VERSION = "1.273.1";
9
+ export const VERSION = "1.274.0";
10
10
 
11
11
  /**
12
12
  * Exposes the build type of the agent
@@ -23,4 +23,4 @@ export const DIST_METHOD = 'NPM';
23
23
  /**
24
24
  * Exposes the lib version of rrweb
25
25
  */
26
- export const RRWEB_VERSION = "2.0.0-alpha.12";
26
+ export const RRWEB_VERSION = "^2.0.0-alpha.17";
@@ -104,13 +104,6 @@ export class Recorder {
104
104
  inlineImages: inline_images,
105
105
  collectFonts: collect_fonts,
106
106
  checkoutEveryNms: CHECKOUT_MS[this.parent.mode],
107
- /** Emits errors thrown by rrweb directly before bubbling them up to the window */
108
- errorHandler: err => {
109
- /** capture rrweb errors as "internal" errors only */
110
- this.parent.ee.emit('internal-error', [err]);
111
- /** returning true informs rrweb to swallow the error instead of throwing it to the window */
112
- return true;
113
- },
114
107
  recordAfter: 'DOMContentLoaded'
115
108
  });
116
109
  this.stopRecording = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"recorder.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_replay/shared/recorder.js"],"names":[],"mappings":"AAaA;IAUE,yBAkBC;IAdC,iEAAiE;IACjE,mBAAsB;IACtB,6DAA6D;IAC7D,oCAAuC;IACvC,+IAA+I;IAC/I,yBAA4B;IAC5B,kIAAkI;IAClI,kBAAqB;IACrB,sDAAsD;IACtD,YAAoB;IACpB,0FAA0F;IAC1F,eAAqG;IACrG,uIAAuI;IACvI,0BAAyE;IAG3E;;;;;;;;;MAmBC;IAED,mFAAmF;IACnF,oBAKC;IAED,qDAAqD;IACrD,uBA2CC;IAED;;;;;OAKG;IACH,aAHW,GAAC,cACD,GAAC,QAgCX;IAED,0HAA0H;IAC1H,yCAoDC;IA1CG,8BAAoB;IA4CxB,0HAA0H;IAC1H,yBAOC;IAED,wBAEC;IAED,gCAAgC;IAChC,uCAGC;IAED;;;SAGK;IACL,oCAGC;;CACF;+BA3O8B,mBAAmB"}
1
+ {"version":3,"file":"recorder.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_replay/shared/recorder.js"],"names":[],"mappings":"AAaA;IAUE,yBAkBC;IAdC,iEAAiE;IACjE,mBAAsB;IACtB,6DAA6D;IAC7D,oCAAuC;IACvC,+IAA+I;IAC/I,yBAA4B;IAC5B,kIAAkI;IAClI,kBAAqB;IACrB,sDAAsD;IACtD,YAAoB;IACpB,0FAA0F;IAC1F,eAAqG;IACrG,uIAAuI;IACvI,0BAAyE;IAG3E;;;;;;;;;MAmBC;IAED,mFAAmF;IACnF,oBAKC;IAED,qDAAqD;IACrD,uBAoCC;IAED;;;;;OAKG;IACH,aAHW,GAAC,cACD,GAAC,QAgCX;IAED,0HAA0H;IAC1H,yCAoDC;IA1CG,8BAAoB;IA4CxB,0HAA0H;IAC1H,yBAOC;IAED,wBAEC;IAED,gCAAgC;IAChC,uCAGC;IAED;;;SAGK;IACL,oCAGC;;CACF;+BApO8B,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/browser-agent",
3
- "version": "1.273.1",
3
+ "version": "1.274.0",
4
4
  "private": false,
5
5
  "author": "New Relic Browser Agent Team <browser-agent@newrelic.com>",
6
6
  "description": "New Relic Browser Agent",
@@ -195,7 +195,7 @@
195
195
  },
196
196
  "dependencies": {
197
197
  "fflate": "0.7.4",
198
- "rrweb": "2.0.0-alpha.12",
198
+ "rrweb": "^2.0.0-alpha.17",
199
199
  "web-vitals": "4.2.3"
200
200
  },
201
201
  "devDependencies": {
@@ -99,13 +99,6 @@ export class Recorder {
99
99
  inlineImages: inline_images,
100
100
  collectFonts: collect_fonts,
101
101
  checkoutEveryNms: CHECKOUT_MS[this.parent.mode],
102
- /** Emits errors thrown by rrweb directly before bubbling them up to the window */
103
- errorHandler: (err) => {
104
- /** capture rrweb errors as "internal" errors only */
105
- this.parent.ee.emit('internal-error', [err])
106
- /** returning true informs rrweb to swallow the error instead of throwing it to the window */
107
- return true
108
- },
109
102
  recordAfter: 'DOMContentLoaded'
110
103
  })
111
104