@newrelic/browser-agent 1.295.0-rc.0 → 1.295.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.DIST_METHOD = exports.BUILD_EN
17
17
  /**
18
18
  * Exposes the version of the agent
19
19
  */
20
- const VERSION = exports.VERSION = "1.295.0-rc.0";
20
+ const VERSION = exports.VERSION = "1.295.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.DIST_METHOD = exports.BUILD_EN
17
17
  /**
18
18
  * Exposes the version of the agent
19
19
  */
20
- const VERSION = exports.VERSION = "1.295.0-rc.0";
20
+ const VERSION = exports.VERSION = "1.295.0-rc.2";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.EventStoreManager = void 0;
7
7
  var _agentConstants = require("../../common/constants/agent-constants");
8
- var _globalEvent = require("../../common/dispatch/global-event");
9
- var _featureFlags = require("../../common/util/feature-flags");
10
8
  var _target = require("../../common/util/target");
11
9
  /**
12
10
  * Copyright 2020-2025 New Relic, Inc. All rights reserved.
@@ -73,14 +71,6 @@ class EventStoreManager {
73
71
  * @returns {boolean} True if the event was successfully added
74
72
  */
75
73
  add(event, targetEntityGuid) {
76
- (0, _globalEvent.dispatchGlobalEvent)({
77
- agentIdentifier: this.agentRef.agentIdentifier,
78
- drained: !!_featureFlags.activatedFeatures?.[this.agentRef.agentIdentifier],
79
- type: 'data',
80
- name: 'buffer',
81
- feature: this.featureAgg.featureName,
82
- data: event
83
- });
84
74
  return this.#getEventStore(targetEntityGuid).add(event);
85
75
  }
86
76
 
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.295.0-rc.0";
14
+ export const VERSION = "1.295.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.295.0-rc.0";
14
+ export const VERSION = "1.295.0-rc.2";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
@@ -3,8 +3,6 @@
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
  import { DEFAULT_KEY, MAX_PAYLOAD_SIZE } from '../../common/constants/agent-constants';
6
- import { dispatchGlobalEvent } from '../../common/dispatch/global-event';
7
- import { activatedFeatures } from '../../common/util/feature-flags';
8
6
  import { isContainerAgentTarget } from '../../common/util/target';
9
7
  /**
10
8
  * This layer allows multiple browser entity apps, or "target", to each have their own segregated storage instance.
@@ -66,14 +64,6 @@ export class EventStoreManager {
66
64
  * @returns {boolean} True if the event was successfully added
67
65
  */
68
66
  add(event, targetEntityGuid) {
69
- dispatchGlobalEvent({
70
- agentIdentifier: this.agentRef.agentIdentifier,
71
- drained: !!activatedFeatures?.[this.agentRef.agentIdentifier],
72
- type: 'data',
73
- name: 'buffer',
74
- feature: this.featureAgg.featureName,
75
- data: event
76
- });
77
67
  return this.#getEventStore(targetEntityGuid).add(event);
78
68
  }
79
69
 
@@ -1 +1 @@
1
- {"version":3,"file":"event-store-manager.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/event-store-manager.js"],"names":[],"mappings":"AAQA;;;GAGG;AACH;IACE;;;;;OAKG;IACH,sBALW,MAAM,gBACN,WAAW,GAAC,eAAe,sBAC3B,MAAM,cACN,MAAM,EAShB;IANC,iBAAwB;IACxB,mBAAmD;IACnD,kBAAgC;IAChC,gCAAkG;IAClG,mBAA4B;IAc9B,2CAQC;IAID;;;;;OAKG;IACH,uBAJW,MAAM,0BAEJ,OAAO,CASnB;IAED;;;;;OAKG;IACH,WAJW,MAAM,oBACN,MAAM,GACJ,OAAO,CAYnB;IAED,0GAA0G;IAC1G,8DAEC;IAED;;;;;OAKG;IACH,WAJW,MAAM,YAAC,gCAgBjB;IAED;;;;OAIG;IACH,2BAHW,GAAC,OAKX;IAED;;;;;OAKG;IACH,iCAJW,GAAC,oBACD,GAAC,OAKX;IAED;;;;;OAKG;IACH,oBAJW,GAAC,oBACD,GAAC,OAMX;IAED;;;;;OAKG;IACH,qBAJW,GAAC,oBACD,GAAC,OAMX;IAGD,2DAEC;IAED,0DAEC;;CACF"}
1
+ {"version":3,"file":"event-store-manager.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/event-store-manager.js"],"names":[],"mappings":"AAMA;;;GAGG;AACH;IACE;;;;;OAKG;IACH,sBALW,MAAM,gBACN,WAAW,GAAC,eAAe,sBAC3B,MAAM,cACN,MAAM,EAShB;IANC,iBAAwB;IACxB,mBAAmD;IACnD,kBAAgC;IAChC,gCAAkG;IAClG,mBAA4B;IAc9B,2CAQC;IAID;;;;;OAKG;IACH,uBAJW,MAAM,0BAEJ,OAAO,CASnB;IAED;;;;;OAKG;IACH,WAJW,MAAM,oBACN,MAAM,GACJ,OAAO,CAInB;IAED,0GAA0G;IAC1G,8DAEC;IAED;;;;;OAKG;IACH,WAJW,MAAM,YAAC,gCAgBjB;IAED;;;;OAIG;IACH,2BAHW,GAAC,OAKX;IAED;;;;;OAKG;IACH,iCAJW,GAAC,oBACD,GAAC,OAKX;IAED;;;;;OAKG;IACH,oBAJW,GAAC,oBACD,GAAC,OAMX;IAED;;;;;OAKG;IACH,qBAJW,GAAC,oBACD,GAAC,OAMX;IAGD,2DAEC;IAED,0DAEC;;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/browser-agent",
3
- "version": "1.295.0-rc.0",
3
+ "version": "1.295.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",
@@ -3,8 +3,6 @@
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
  import { DEFAULT_KEY, MAX_PAYLOAD_SIZE } from '../../common/constants/agent-constants'
6
- import { dispatchGlobalEvent } from '../../common/dispatch/global-event'
7
- import { activatedFeatures } from '../../common/util/feature-flags'
8
6
  import { isContainerAgentTarget } from '../../common/util/target'
9
7
  /**
10
8
  * This layer allows multiple browser entity apps, or "target", to each have their own segregated storage instance.
@@ -70,14 +68,6 @@ export class EventStoreManager {
70
68
  * @returns {boolean} True if the event was successfully added
71
69
  */
72
70
  add (event, targetEntityGuid) {
73
- dispatchGlobalEvent({
74
- agentIdentifier: this.agentRef.agentIdentifier,
75
- drained: !!activatedFeatures?.[this.agentRef.agentIdentifier],
76
- type: 'data',
77
- name: 'buffer',
78
- feature: this.featureAgg.featureName,
79
- data: event
80
- })
81
71
  return this.#getEventStore(targetEntityGuid).add(event)
82
72
  }
83
73