@newrelic/browser-agent 1.304.0-rc.0 → 1.304.0-rc.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.
@@ -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.304.0-rc.0";
20
+ const VERSION = exports.VERSION = "1.304.0-rc.2";
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.304.0-rc.0";
20
+ const VERSION = exports.VERSION = "1.304.0-rc.2";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -175,19 +175,19 @@ class Aggregate extends _aggregateBase.AggregateBase {
175
175
  const encoded = textEncoder.encode(value);
176
176
  return acc + encoded.byteLength;
177
177
  }, 0);
178
-
178
+ const BCSError = 'BCS/Error/';
179
179
  // Send SMs about failed RUM request
180
180
  const body = {
181
181
  sm: [{
182
182
  params: {
183
- name: "Browser/Supportability/BCS/Error/".concat(status)
183
+ name: BCSError + status
184
184
  },
185
185
  stats: {
186
186
  c: 1
187
187
  }
188
188
  }, {
189
189
  params: {
190
- name: 'Browser/Supportability/BCS/Error/Dropped/Bytes'
190
+ name: BCSError + 'Dropped/Bytes'
191
191
  },
192
192
  stats: {
193
193
  c: 1,
@@ -195,7 +195,7 @@ class Aggregate extends _aggregateBase.AggregateBase {
195
195
  }
196
196
  }, {
197
197
  params: {
198
- name: 'Browser/Supportability/BCS/Error/Duration/Ms'
198
+ name: BCSError + 'Duration/Ms'
199
199
  },
200
200
  stats: {
201
201
  c: 1,
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.304.0-rc.0";
14
+ export const VERSION = "1.304.0-rc.2";
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.304.0-rc.0";
14
+ export const VERSION = "1.304.0-rc.2";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
@@ -167,19 +167,19 @@ export class Aggregate extends AggregateBase {
167
167
  const encoded = textEncoder.encode(value);
168
168
  return acc + encoded.byteLength;
169
169
  }, 0);
170
-
170
+ const BCSError = 'BCS/Error/';
171
171
  // Send SMs about failed RUM request
172
172
  const body = {
173
173
  sm: [{
174
174
  params: {
175
- name: "Browser/Supportability/BCS/Error/".concat(status)
175
+ name: BCSError + status
176
176
  },
177
177
  stats: {
178
178
  c: 1
179
179
  }
180
180
  }, {
181
181
  params: {
182
- name: 'Browser/Supportability/BCS/Error/Dropped/Bytes'
182
+ name: BCSError + 'Dropped/Bytes'
183
183
  },
184
184
  stats: {
185
185
  c: 1,
@@ -187,7 +187,7 @@ export class Aggregate extends AggregateBase {
187
187
  }
188
188
  }, {
189
189
  params: {
190
- name: 'Browser/Supportability/BCS/Error/Duration/Ms'
190
+ name: BCSError + 'Duration/Ms'
191
191
  },
192
192
  stats: {
193
193
  c: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/browser-agent",
3
- "version": "1.304.0-rc.0",
3
+ "version": "1.304.0-rc.2",
4
4
  "private": false,
5
5
  "author": "New Relic Browser Agent Team <browser-agent@newrelic.com>",
6
6
  "description": "New Relic Browser Agent",
@@ -161,12 +161,12 @@ export class Aggregate extends AggregateBase {
161
161
  const encoded = textEncoder.encode(value)
162
162
  return acc + encoded.byteLength
163
163
  }, 0)
164
-
164
+ const BCSError = 'BCS/Error/'
165
165
  // Send SMs about failed RUM request
166
166
  const body = {
167
167
  sm: [{
168
168
  params: {
169
- name: `Browser/Supportability/BCS/Error/${status}`
169
+ name: BCSError + status
170
170
  },
171
171
  stats: {
172
172
  c: 1
@@ -174,7 +174,7 @@ export class Aggregate extends AggregateBase {
174
174
  },
175
175
  {
176
176
  params: {
177
- name: 'Browser/Supportability/BCS/Error/Dropped/Bytes'
177
+ name: BCSError + 'Dropped/Bytes'
178
178
  },
179
179
  stats: {
180
180
  c: 1,
@@ -183,7 +183,7 @@ export class Aggregate extends AggregateBase {
183
183
  },
184
184
  {
185
185
  params: {
186
- name: 'Browser/Supportability/BCS/Error/Duration/Ms'
186
+ name: BCSError + 'Duration/Ms'
187
187
  },
188
188
  stats: {
189
189
  c: 1,