@newrelic/browser-agent 1.309.0-rc.4 → 1.309.0-rc.6

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.
Files changed (99) hide show
  1. package/README.md +0 -2
  2. package/dist/cjs/common/config/init-types.js +1 -4
  3. package/dist/cjs/common/config/init.js +1 -5
  4. package/dist/cjs/common/constants/env.cdn.js +1 -1
  5. package/dist/cjs/common/constants/env.npm.js +1 -1
  6. package/dist/cjs/common/wrap/wrap-fetch.js +2 -2
  7. package/dist/cjs/common/wrap/wrap-history.js +2 -2
  8. package/dist/cjs/common/wrap/wrap-logger.js +2 -2
  9. package/dist/cjs/common/wrap/wrap-xhr.js +2 -2
  10. package/dist/cjs/features/page_view_event/aggregate/initialized-features.js +1 -2
  11. package/dist/cjs/index.js +3 -3
  12. package/dist/cjs/loaders/agent.js +1 -4
  13. package/dist/cjs/loaders/features/features.js +6 -9
  14. package/dist/esm/common/config/init-types.js +1 -4
  15. package/dist/esm/common/config/init.js +1 -5
  16. package/dist/esm/common/constants/env.cdn.js +1 -1
  17. package/dist/esm/common/constants/env.npm.js +1 -1
  18. package/dist/esm/common/wrap/wrap-fetch.js +2 -2
  19. package/dist/esm/common/wrap/wrap-history.js +2 -2
  20. package/dist/esm/common/wrap/wrap-logger.js +2 -2
  21. package/dist/esm/common/wrap/wrap-xhr.js +2 -2
  22. package/dist/esm/features/page_view_event/aggregate/initialized-features.js +1 -2
  23. package/dist/esm/index.js +2 -2
  24. package/dist/esm/loaders/agent.js +1 -4
  25. package/dist/esm/loaders/features/features.js +6 -9
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/dist/types/common/config/init-types.d.ts +0 -10
  28. package/dist/types/common/config/init.d.ts.map +1 -1
  29. package/dist/types/features/page_view_event/aggregate/initialized-features.d.ts.map +1 -1
  30. package/dist/types/index.d.ts +1 -1
  31. package/dist/types/loaders/agent.d.ts.map +1 -1
  32. package/dist/types/loaders/features/features.d.ts +2 -5
  33. package/dist/types/loaders/features/features.d.ts.map +1 -1
  34. package/package.json +1 -9
  35. package/src/common/config/init-types.js +1 -4
  36. package/src/common/config/init.js +1 -2
  37. package/src/common/wrap/wrap-fetch.js +2 -2
  38. package/src/common/wrap/wrap-history.js +2 -2
  39. package/src/common/wrap/wrap-logger.js +2 -2
  40. package/src/common/wrap/wrap-xhr.js +2 -2
  41. package/src/features/page_view_event/aggregate/initialized-features.js +1 -2
  42. package/src/index.js +2 -2
  43. package/src/loaders/agent.js +0 -4
  44. package/src/loaders/features/features.js +6 -9
  45. package/dist/cjs/common/wrap/wrap-jsonp.js +0 -137
  46. package/dist/cjs/common/wrap/wrap-mutation.js +0 -62
  47. package/dist/cjs/common/wrap/wrap-promise.js +0 -166
  48. package/dist/cjs/common/wrap/wrap-timer.js +0 -71
  49. package/dist/cjs/features/spa/aggregate/index.js +0 -672
  50. package/dist/cjs/features/spa/aggregate/interaction-node.js +0 -83
  51. package/dist/cjs/features/spa/aggregate/interaction.js +0 -95
  52. package/dist/cjs/features/spa/aggregate/serializer.js +0 -150
  53. package/dist/cjs/features/spa/constants.js +0 -35
  54. package/dist/cjs/features/spa/index.js +0 -12
  55. package/dist/cjs/features/spa/instrument/index.js +0 -136
  56. package/dist/esm/common/wrap/wrap-jsonp.js +0 -130
  57. package/dist/esm/common/wrap/wrap-mutation.js +0 -55
  58. package/dist/esm/common/wrap/wrap-promise.js +0 -159
  59. package/dist/esm/common/wrap/wrap-timer.js +0 -64
  60. package/dist/esm/features/spa/aggregate/index.js +0 -663
  61. package/dist/esm/features/spa/aggregate/interaction-node.js +0 -77
  62. package/dist/esm/features/spa/aggregate/interaction.js +0 -88
  63. package/dist/esm/features/spa/aggregate/serializer.js +0 -142
  64. package/dist/esm/features/spa/constants.js +0 -28
  65. package/dist/esm/features/spa/index.js +0 -5
  66. package/dist/esm/features/spa/instrument/index.js +0 -129
  67. package/dist/types/common/wrap/wrap-jsonp.d.ts +0 -16
  68. package/dist/types/common/wrap/wrap-jsonp.d.ts.map +0 -1
  69. package/dist/types/common/wrap/wrap-mutation.d.ts +0 -16
  70. package/dist/types/common/wrap/wrap-mutation.d.ts.map +0 -1
  71. package/dist/types/common/wrap/wrap-promise.d.ts +0 -17
  72. package/dist/types/common/wrap/wrap-promise.d.ts.map +0 -1
  73. package/dist/types/common/wrap/wrap-timer.d.ts +0 -17
  74. package/dist/types/common/wrap/wrap-timer.d.ts.map +0 -1
  75. package/dist/types/features/spa/aggregate/index.d.ts +0 -24
  76. package/dist/types/features/spa/aggregate/index.d.ts.map +0 -1
  77. package/dist/types/features/spa/aggregate/interaction-node.d.ts +0 -15
  78. package/dist/types/features/spa/aggregate/interaction-node.d.ts.map +0 -1
  79. package/dist/types/features/spa/aggregate/interaction.d.ts +0 -19
  80. package/dist/types/features/spa/aggregate/interaction.d.ts.map +0 -1
  81. package/dist/types/features/spa/aggregate/serializer.d.ts +0 -17
  82. package/dist/types/features/spa/aggregate/serializer.d.ts.map +0 -1
  83. package/dist/types/features/spa/constants.d.ts +0 -23
  84. package/dist/types/features/spa/constants.d.ts.map +0 -1
  85. package/dist/types/features/spa/index.d.ts +0 -2
  86. package/dist/types/features/spa/index.d.ts.map +0 -1
  87. package/dist/types/features/spa/instrument/index.d.ts +0 -12
  88. package/dist/types/features/spa/instrument/index.d.ts.map +0 -1
  89. package/src/common/wrap/wrap-jsonp.js +0 -142
  90. package/src/common/wrap/wrap-mutation.js +0 -58
  91. package/src/common/wrap/wrap-promise.js +0 -176
  92. package/src/common/wrap/wrap-timer.js +0 -70
  93. package/src/features/spa/aggregate/index.js +0 -734
  94. package/src/features/spa/aggregate/interaction-node.js +0 -85
  95. package/src/features/spa/aggregate/interaction.js +0 -108
  96. package/src/features/spa/aggregate/serializer.js +0 -200
  97. package/src/features/spa/constants.js +0 -39
  98. package/src/features/spa/index.js +0 -5
  99. package/src/features/spa/instrument/index.js +0 -134
package/README.md CHANGED
@@ -92,7 +92,6 @@ The following features may be disabled by adding `init` entries as shown above.
92
92
  - `session_replay`
93
93
  - `session_trace`
94
94
  - `soft_navigations`
95
- - `spa`
96
95
 
97
96
  ***Individual event types within the `generic_events` feature can also be disabled. See [Disabling Individual Generic Events](#disabling-individual-generic-events)***
98
97
 
@@ -180,7 +179,6 @@ import { PageViewTiming } from '@newrelic/browser-agent/features/page_view_timin
180
179
  import { SessionReplay } from '@newrelic/browser-agent/features/session_replay';
181
180
  import { SessionTrace } from '@newrelic/browser-agent/features/session_trace';
182
181
  import { SoftNav } from '@newrelic/browser-agent/features/soft_navigations';
183
- import { Spa } from '@newrelic/browser-agent/features/spa';
184
182
  ```
185
183
 
186
184
  ### Example 1 - "Page Load Agent"
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
8
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  *
11
11
  */
@@ -85,9 +85,6 @@ exports.default = void 0;
85
85
  * @property {Object} [soft_navigations]
86
86
  * @property {boolean} [soft_navigations.enabled] - Turn on/off the soft navigations feature (on by default).
87
87
  * @property {boolean} [soft_navigations.autoStart] - If true, the agent will automatically start the soft navigations feature. Otherwise, it will be in a deferred state until the `start` API method is called.
88
- * @property {Object} [spa]
89
- * @property {boolean} [spa.enabled] - Turn on/off the single page application feature (on by default). NOTE: the SPA feature is deprecated and under removal procedure.
90
- * @property {boolean} [spa.autoStart] - If true, the agent will automatically start the single page application feature. Otherwise, it will be in a deferred state until the `start` API method is called.
91
88
  * @property {boolean} [ssl] - If explicitly false, the agent will use HTTP instead of HTTPS. This setting should NOT be used.
92
89
  * @property {Object} [browser_consent_mode]
93
90
  * @property {boolean} [browser_consent_mode.enabled] - If true, the agent will use consent mode for whether to allow or disallow data harvest.
@@ -10,7 +10,7 @@ var _constants2 = require("../session/constants");
10
10
  var _console = require("../util/console");
11
11
  var _configurable = require("./configurable");
12
12
  /**
13
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
13
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
14
14
  * SPDX-License-Identifier: Apache-2.0
15
15
  */
16
16
 
@@ -196,10 +196,6 @@ const InitModelFn = () => {
196
196
  enabled: true,
197
197
  autoStart: true
198
198
  },
199
- spa: {
200
- enabled: true,
201
- autoStart: true
202
- },
203
199
  ssl: undefined,
204
200
  user_actions: {
205
201
  enabled: true,
@@ -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.309.0-rc.4";
20
+ const VERSION = exports.VERSION = "1.309.0-rc.6";
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.309.0-rc.4";
20
+ const VERSION = exports.VERSION = "1.309.0-rc.6";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -8,13 +8,13 @@ exports.wrapFetch = wrapFetch;
8
8
  var _contextualEe = require("../event-emitter/contextual-ee");
9
9
  var _runtime = require("../constants/runtime");
10
10
  /**
11
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
11
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
12
12
  * SPDX-License-Identifier: Apache-2.0
13
13
  */
14
14
 
15
15
  /**
16
16
  * @file Wraps `fetch` and related methods for instrumentation.
17
- * This module is used by: ajax, spa.
17
+ * This module is used by: ajax.
18
18
  */
19
19
 
20
20
  var prefix = 'fetch-';
@@ -9,13 +9,13 @@ var _contextualEe = require("../event-emitter/contextual-ee");
9
9
  var _wrapFunction = require("./wrap-function");
10
10
  var _runtime = require("../constants/runtime");
11
11
  /**
12
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
12
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
13
13
  * SPDX-License-Identifier: Apache-2.0
14
14
  */
15
15
 
16
16
  /**
17
17
  * @file Wraps `pushState` and `replaceState` methods of `window.history` object for instrumentation.
18
- * This module is used by: session_trace, spa.
18
+ * This module is used by: session_trace, soft_navigations.
19
19
  */
20
20
 
21
21
  const wrapped = {};
@@ -10,13 +10,13 @@ var _eventContext = require("../event-emitter/event-context");
10
10
  var _console = require("../util/console");
11
11
  var _wrapFunction = require("./wrap-function");
12
12
  /**
13
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
13
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
14
14
  * SPDX-License-Identifier: Apache-2.0
15
15
  */
16
16
 
17
17
  /**
18
18
  * @file Wraps native timeout and interval methods for instrumentation.
19
- * This module is used by: jserrors, spa.
19
+ * This module is used by: logging.
20
20
  */
21
21
 
22
22
  const contextMap = new Map();
@@ -12,13 +12,13 @@ var _wrapFunction = require("./wrap-function");
12
12
  var _runtime = require("../constants/runtime");
13
13
  var _console = require("../util/console");
14
14
  /**
15
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
15
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
16
16
  * SPDX-License-Identifier: Apache-2.0
17
17
  */
18
18
 
19
19
  /**
20
20
  * @file Wraps AJAX (XHR) related methods for instrumentation.
21
- * This module is used by: ajax, jserrors, spa.
21
+ * This module is used by: ajax, jserrors.
22
22
  */
23
23
 
24
24
  const wrapped = {};
@@ -7,7 +7,7 @@ exports.getActivatedFeaturesFlags = getActivatedFeaturesFlags;
7
7
  var _features = require("../../../loaders/features/features");
8
8
  var _nreum = require("../../../common/window/nreum");
9
9
  /**
10
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
10
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
11
11
  * SPDX-License-Identifier: Apache-2.0
12
12
  */
13
13
 
@@ -36,7 +36,6 @@ function getActivatedFeaturesFlags(agentId) {
36
36
  flagArr.push('stn');
37
37
  break;
38
38
  case _features.FEATURE_NAMES.softNav:
39
- case _features.FEATURE_NAMES.spa:
40
39
  flagArr.push('spa');
41
40
  break;
42
41
  }
package/dist/cjs/index.js CHANGED
@@ -81,10 +81,10 @@ Object.defineProperty(exports, "SessionTrace", {
81
81
  return _session_trace.SessionTrace;
82
82
  }
83
83
  });
84
- Object.defineProperty(exports, "Spa", {
84
+ Object.defineProperty(exports, "SoftNav", {
85
85
  enumerable: true,
86
86
  get: function () {
87
- return _spa.Spa;
87
+ return _soft_navigations.SoftNav;
88
88
  }
89
89
  });
90
90
  var _agent = require("./loaders/agent");
@@ -100,4 +100,4 @@ var _page_view_event = require("./features/page_view_event");
100
100
  var _page_view_timing = require("./features/page_view_timing");
101
101
  var _session_trace = require("./features/session_trace");
102
102
  var _session_replay = require("./features/session_replay");
103
- var _spa = require("./features/spa");
103
+ var _soft_navigations = require("./features/soft_navigations");
@@ -99,10 +99,7 @@ class Agent extends _agentBase.AgentBase {
99
99
  featuresToStart.sort((a, b) => _features.featurePriority[a.featureName] - _features.featurePriority[b.featureName]);
100
100
  featuresToStart.forEach(InstrumentCtor => {
101
101
  if (!enabledFeatures[InstrumentCtor.featureName] && InstrumentCtor.featureName !== _features.FEATURE_NAMES.pageViewEvent) return; // PVE is required to run even if it's marked disabled
102
- if (InstrumentCtor.featureName === _features.FEATURE_NAMES.spa) {
103
- (0, _console.warn)(67);
104
- return; // Skip old SPA
105
- }
102
+
106
103
  const dependencies = (0, _featureDependencies.getFeatureDependencyNames)(InstrumentCtor.featureName);
107
104
  const missingDependencies = dependencies.filter(featName => !(featName in this.features)); // any other feature(s) this depends on should've been initialized on prior iterations by priority order
108
105
  if (missingDependencies.length > 0) {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.featurePriority = exports.RUM = exports.LOGS = exports.JSERRORS = exports.FEATURE_TO_ENDPOINT = exports.FEATURE_NAMES = exports.EVENTS = exports.BLOBS = void 0;
7
7
  /**
8
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
8
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */
11
11
 
@@ -29,8 +29,7 @@ const FEATURE_NAMES = exports.FEATURE_NAMES = {
29
29
  pageViewTiming: 'page_view_timing',
30
30
  sessionReplay: 'session_replay',
31
31
  sessionTrace: 'session_trace',
32
- softNav: 'soft_navigations',
33
- spa: 'spa'
32
+ softNav: 'soft_navigations'
34
33
  };
35
34
 
36
35
  /**
@@ -42,19 +41,17 @@ const featurePriority = exports.featurePriority = {
42
41
  [FEATURE_NAMES.pageViewTiming]: 2,
43
42
  [FEATURE_NAMES.metrics]: 3,
44
43
  [FEATURE_NAMES.jserrors]: 4,
45
- [FEATURE_NAMES.spa]: 5,
44
+ [FEATURE_NAMES.softNav]: 5,
46
45
  [FEATURE_NAMES.ajax]: 6,
47
46
  [FEATURE_NAMES.sessionTrace]: 7,
48
- [FEATURE_NAMES.softNav]: 8,
49
- [FEATURE_NAMES.sessionReplay]: 9,
50
- [FEATURE_NAMES.logging]: 10,
51
- [FEATURE_NAMES.genericEvents]: 11
47
+ [FEATURE_NAMES.sessionReplay]: 8,
48
+ [FEATURE_NAMES.logging]: 9,
49
+ [FEATURE_NAMES.genericEvents]: 10
52
50
  };
53
51
  const FEATURE_TO_ENDPOINT = exports.FEATURE_TO_ENDPOINT = {
54
52
  [FEATURE_NAMES.pageViewEvent]: RUM,
55
53
  [FEATURE_NAMES.pageViewTiming]: EVENTS,
56
54
  [FEATURE_NAMES.ajax]: EVENTS,
57
- [FEATURE_NAMES.spa]: EVENTS,
58
55
  [FEATURE_NAMES.softNav]: EVENTS,
59
56
  [FEATURE_NAMES.metrics]: JSERRORS,
60
57
  [FEATURE_NAMES.jserrors]: JSERRORS,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  *
5
5
  */
@@ -80,9 +80,6 @@
80
80
  * @property {Object} [soft_navigations]
81
81
  * @property {boolean} [soft_navigations.enabled] - Turn on/off the soft navigations feature (on by default).
82
82
  * @property {boolean} [soft_navigations.autoStart] - If true, the agent will automatically start the soft navigations feature. Otherwise, it will be in a deferred state until the `start` API method is called.
83
- * @property {Object} [spa]
84
- * @property {boolean} [spa.enabled] - Turn on/off the single page application feature (on by default). NOTE: the SPA feature is deprecated and under removal procedure.
85
- * @property {boolean} [spa.autoStart] - If true, the agent will automatically start the single page application feature. Otherwise, it will be in a deferred state until the `start` API method is called.
86
83
  * @property {boolean} [ssl] - If explicitly false, the agent will use HTTP instead of HTTPS. This setting should NOT be used.
87
84
  * @property {Object} [browser_consent_mode]
88
85
  * @property {boolean} [browser_consent_mode.enabled] - If true, the agent will use consent mode for whether to allow or disallow data harvest.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
  import { FEATURE_FLAGS } from '../../features/generic_events/constants';
@@ -190,10 +190,6 @@ const InitModelFn = () => {
190
190
  enabled: true,
191
191
  autoStart: true
192
192
  },
193
- spa: {
194
- enabled: true,
195
- autoStart: true
196
- },
197
193
  ssl: undefined,
198
194
  user_actions: {
199
195
  enabled: true,
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.309.0-rc.4";
14
+ export const VERSION = "1.309.0-rc.6";
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.309.0-rc.4";
14
+ export const VERSION = "1.309.0-rc.6";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
6
  /**
7
7
  * @file Wraps `fetch` and related methods for instrumentation.
8
- * This module is used by: ajax, spa.
8
+ * This module is used by: ajax.
9
9
  */
10
10
  import { ee as baseEE, contextId } from '../event-emitter/contextual-ee';
11
11
  import { globalScope } from '../constants/runtime';
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
6
  /**
7
7
  * @file Wraps `pushState` and `replaceState` methods of `window.history` object for instrumentation.
8
- * This module is used by: session_trace, spa.
8
+ * This module is used by: session_trace, soft_navigations.
9
9
  */
10
10
  import { ee as globalEE } from '../event-emitter/contextual-ee';
11
11
  import { createWrapperWithEmitter as wfn } from './wrap-function';
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
6
  /**
7
7
  * @file Wraps native timeout and interval methods for instrumentation.
8
- * This module is used by: jserrors, spa.
8
+ * This module is used by: logging.
9
9
  */
10
10
 
11
11
  import { ee as baseEE, contextId } from '../event-emitter/contextual-ee';
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
6
  /**
7
7
  * @file Wraps AJAX (XHR) related methods for instrumentation.
8
- * This module is used by: ajax, jserrors, spa.
8
+ * This module is used by: ajax, jserrors.
9
9
  */
10
10
 
11
11
  import { wrapEvents } from './wrap-events';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
  import { FEATURE_NAMES } from '../../../loaders/features/features';
@@ -30,7 +30,6 @@ export function getActivatedFeaturesFlags(agentId) {
30
30
  flagArr.push('stn');
31
31
  break;
32
32
  case FEATURE_NAMES.softNav:
33
- case FEATURE_NAMES.spa:
34
33
  flagArr.push('spa');
35
34
  break;
36
35
  }
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
  export { Agent } from './loaders/agent';
@@ -15,4 +15,4 @@ export { PageViewEvent } from './features/page_view_event';
15
15
  export { PageViewTiming } from './features/page_view_timing';
16
16
  export { SessionTrace } from './features/session_trace';
17
17
  export { SessionReplay } from './features/session_replay';
18
- export { Spa } from './features/spa';
18
+ export { SoftNav } from './features/soft_navigations';
@@ -89,10 +89,7 @@ export class Agent extends AgentBase {
89
89
  featuresToStart.sort((a, b) => featurePriority[a.featureName] - featurePriority[b.featureName]);
90
90
  featuresToStart.forEach(InstrumentCtor => {
91
91
  if (!enabledFeatures[InstrumentCtor.featureName] && InstrumentCtor.featureName !== FEATURE_NAMES.pageViewEvent) return; // PVE is required to run even if it's marked disabled
92
- if (InstrumentCtor.featureName === FEATURE_NAMES.spa) {
93
- warn(67);
94
- return; // Skip old SPA
95
- }
92
+
96
93
  const dependencies = getFeatureDependencyNames(InstrumentCtor.featureName);
97
94
  const missingDependencies = dependencies.filter(featName => !(featName in this.features)); // any other feature(s) this depends on should've been initialized on prior iterations by priority order
98
95
  if (missingDependencies.length > 0) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
@@ -23,8 +23,7 @@ export const FEATURE_NAMES = {
23
23
  pageViewTiming: 'page_view_timing',
24
24
  sessionReplay: 'session_replay',
25
25
  sessionTrace: 'session_trace',
26
- softNav: 'soft_navigations',
27
- spa: 'spa'
26
+ softNav: 'soft_navigations'
28
27
  };
29
28
 
30
29
  /**
@@ -36,19 +35,17 @@ export const featurePriority = {
36
35
  [FEATURE_NAMES.pageViewTiming]: 2,
37
36
  [FEATURE_NAMES.metrics]: 3,
38
37
  [FEATURE_NAMES.jserrors]: 4,
39
- [FEATURE_NAMES.spa]: 5,
38
+ [FEATURE_NAMES.softNav]: 5,
40
39
  [FEATURE_NAMES.ajax]: 6,
41
40
  [FEATURE_NAMES.sessionTrace]: 7,
42
- [FEATURE_NAMES.softNav]: 8,
43
- [FEATURE_NAMES.sessionReplay]: 9,
44
- [FEATURE_NAMES.logging]: 10,
45
- [FEATURE_NAMES.genericEvents]: 11
41
+ [FEATURE_NAMES.sessionReplay]: 8,
42
+ [FEATURE_NAMES.logging]: 9,
43
+ [FEATURE_NAMES.genericEvents]: 10
46
44
  };
47
45
  export const FEATURE_TO_ENDPOINT = {
48
46
  [FEATURE_NAMES.pageViewEvent]: RUM,
49
47
  [FEATURE_NAMES.pageViewTiming]: EVENTS,
50
48
  [FEATURE_NAMES.ajax]: EVENTS,
51
- [FEATURE_NAMES.spa]: EVENTS,
52
49
  [FEATURE_NAMES.softNav]: EVENTS,
53
50
  [FEATURE_NAMES.metrics]: JSERRORS,
54
51
  [FEATURE_NAMES.jserrors]: JSERRORS,
@@ -1 +1 @@
1
- {"root":["../src/index.js","../src/cdn/experimental.js","../src/cdn/lite.js","../src/cdn/pro.js","../src/cdn/spa.js","../src/common/aggregate/aggregator.js","../src/common/aggregate/event-aggregator.js","../src/common/config/configurable.js","../src/common/config/info.js","../src/common/config/init-types.js","../src/common/config/init.js","../src/common/config/loader-config.js","../src/common/config/runtime.js","../src/common/constants/agent-constants.js","../src/common/constants/env.cdn.js","../src/common/constants/env.js","../src/common/constants/env.npm.js","../src/common/constants/runtime.js","../src/common/constants/shared-channel.js","../src/common/deny-list/deny-list.js","../src/common/dispatch/global-event.js","../src/common/dom/iframe.js","../src/common/dom/query-selector.js","../src/common/dom/selector-path.js","../src/common/drain/drain.js","../src/common/event-emitter/contextual-ee.js","../src/common/event-emitter/event-context.js","../src/common/event-emitter/handle.js","../src/common/event-emitter/register-handler.js","../src/common/event-listener/event-listener-opts.js","../src/common/harvest/harvester.js","../src/common/harvest/types.js","../src/common/ids/bundle-id.js","../src/common/ids/id.js","../src/common/ids/unique-id.js","../src/common/serialize/bel-serializer.js","../src/common/session/constants.js","../src/common/session/session-entity.js","../src/common/storage/local-storage.js","../src/common/timer/interaction-timer.js","../src/common/timer/timer.js","../src/common/timing/nav-timing.js","../src/common/timing/now.js","../src/common/timing/time-keeper.js","../src/common/unload/eol.js","../src/common/url/canonicalize-url.js","../src/common/url/clean-url.js","../src/common/url/encode.js","../src/common/url/extract-url.js","../src/common/url/location.js","../src/common/url/parse-url.js","../src/common/url/protocol.js","../src/common/util/attribute-size.js","../src/common/util/browser-stack-matchers.js","../src/common/util/console.js","../src/common/util/data-size.js","../src/common/util/event-origin.js","../src/common/util/feature-flags.js","../src/common/util/get-or-set.js","../src/common/util/invoke.js","../src/common/util/monkey-patched.js","../src/common/util/obfuscate.js","../src/common/util/script-tracker.js","../src/common/util/stringify.js","../src/common/util/submit-data.js","../src/common/util/text.js","../src/common/util/traverse.js","../src/common/util/type-check.js","../src/common/util/v2.js","../src/common/util/webdriver-detection.js","../src/common/vitals/constants.js","../src/common/vitals/cumulative-layout-shift.js","../src/common/vitals/first-contentful-paint.js","../src/common/vitals/first-paint.js","../src/common/vitals/interaction-to-next-paint.js","../src/common/vitals/largest-contentful-paint.js","../src/common/vitals/load-time.js","../src/common/vitals/time-to-first-byte.js","../src/common/vitals/vital-metric.js","../src/common/window/load.js","../src/common/window/nreum.js","../src/common/window/page-visibility.js","../src/common/wrap/wrap-events.js","../src/common/wrap/wrap-fetch.js","../src/common/wrap/wrap-function.js","../src/common/wrap/wrap-history.js","../src/common/wrap/wrap-jsonp.js","../src/common/wrap/wrap-logger.js","../src/common/wrap/wrap-mutation.js","../src/common/wrap/wrap-promise.js","../src/common/wrap/wrap-timer.js","../src/common/wrap/wrap-websocket.js","../src/common/wrap/wrap-xhr.js","../src/features/ajax/constants.js","../src/features/ajax/index.js","../src/features/ajax/aggregate/gql.js","../src/features/ajax/aggregate/index.js","../src/features/ajax/instrument/distributed-tracing.js","../src/features/ajax/instrument/index.js","../src/features/ajax/instrument/response-size.js","../src/features/generic_events/constants.js","../src/features/generic_events/index.js","../src/features/generic_events/aggregate/index.js","../src/features/generic_events/aggregate/user-actions/aggregated-user-action.js","../src/features/generic_events/aggregate/user-actions/user-actions-aggregator.js","../src/features/generic_events/instrument/index.js","../src/features/jserrors/constants.js","../src/features/jserrors/index.js","../src/features/jserrors/aggregate/canonical-function-name.js","../src/features/jserrors/aggregate/cause-string.js","../src/features/jserrors/aggregate/compute-stack-trace.js","../src/features/jserrors/aggregate/format-stack-trace.js","../src/features/jserrors/aggregate/index.js","../src/features/jserrors/aggregate/internal-errors.js","../src/features/jserrors/aggregate/string-hash-code.js","../src/features/jserrors/instrument/index.js","../src/features/jserrors/shared/cast-error.js","../src/features/jserrors/shared/uncaught-error.js","../src/features/logging/constants.js","../src/features/logging/index.js","../src/features/logging/aggregate/index.js","../src/features/logging/instrument/index.js","../src/features/logging/shared/log.js","../src/features/logging/shared/utils.js","../src/features/metrics/constants.js","../src/features/metrics/index.js","../src/features/metrics/aggregate/framework-detection.js","../src/features/metrics/aggregate/harvest-metadata.js","../src/features/metrics/aggregate/index.js","../src/features/metrics/instrument/index.js","../src/features/page_action/constants.js","../src/features/page_action/index.js","../src/features/page_action/instrument/index.js","../src/features/page_view_event/constants.js","../src/features/page_view_event/index.js","../src/features/page_view_event/aggregate/index.js","../src/features/page_view_event/aggregate/initialized-features.js","../src/features/page_view_event/instrument/index.js","../src/features/page_view_timing/constants.js","../src/features/page_view_timing/index.js","../src/features/page_view_timing/aggregate/index.js","../src/features/page_view_timing/instrument/index.js","../src/features/session_replay/constants.js","../src/features/session_replay/index.js","../src/features/session_replay/aggregate/index.js","../src/features/session_replay/instrument/index.js","../src/features/session_replay/shared/recorder-events.js","../src/features/session_replay/shared/recorder.js","../src/features/session_replay/shared/stylesheet-evaluator.js","../src/features/session_replay/shared/utils.js","../src/features/session_trace/constants.js","../src/features/session_trace/index.js","../src/features/session_trace/aggregate/index.js","../src/features/session_trace/aggregate/trace/node.js","../src/features/session_trace/aggregate/trace/storage.js","../src/features/session_trace/aggregate/trace/utils.js","../src/features/session_trace/instrument/index.js","../src/features/soft_navigations/constants.js","../src/features/soft_navigations/index.js","../src/features/soft_navigations/aggregate/ajax-node.js","../src/features/soft_navigations/aggregate/bel-node.js","../src/features/soft_navigations/aggregate/index.js","../src/features/soft_navigations/aggregate/initial-page-load-interaction.js","../src/features/soft_navigations/aggregate/interaction.js","../src/features/soft_navigations/instrument/index.js","../src/features/spa/constants.js","../src/features/spa/index.js","../src/features/spa/aggregate/index.js","../src/features/spa/aggregate/interaction-node.js","../src/features/spa/aggregate/interaction.js","../src/features/spa/aggregate/serializer.js","../src/features/spa/instrument/index.js","../src/features/utils/agent-session.js","../src/features/utils/aggregate-base.js","../src/features/utils/event-buffer.js","../src/features/utils/feature-base.js","../src/features/utils/feature-gates.js","../src/features/utils/instrument-base.js","../src/features/utils/nr1-debugger.js","../src/interfaces/registered-entity.js","../src/loaders/agent-base.js","../src/loaders/agent.js","../src/loaders/api-base.js","../src/loaders/browser-agent.js","../src/loaders/micro-agent-base.js","../src/loaders/micro-agent.js","../src/loaders/api/addPageAction.js","../src/loaders/api/addRelease.js","../src/loaders/api/addToTrace.js","../src/loaders/api/consent.js","../src/loaders/api/constants.js","../src/loaders/api/finished.js","../src/loaders/api/interaction-types.js","../src/loaders/api/interaction.js","../src/loaders/api/log.js","../src/loaders/api/measure.js","../src/loaders/api/noticeError.js","../src/loaders/api/pauseReplay.js","../src/loaders/api/recordCustomEvent.js","../src/loaders/api/recordReplay.js","../src/loaders/api/register-api-types.js","../src/loaders/api/register.js","../src/loaders/api/setApplicationVersion.js","../src/loaders/api/setCustomAttribute.js","../src/loaders/api/setErrorHandler.js","../src/loaders/api/setPageViewName.js","../src/loaders/api/setUserId.js","../src/loaders/api/sharedHandlers.js","../src/loaders/api/start.js","../src/loaders/api/topLevelCallers.js","../src/loaders/api/wrapLogger.js","../src/loaders/configure/configure.js","../src/loaders/configure/nonce.js","../src/loaders/configure/public-path.js","../src/loaders/features/enabled-features.js","../src/loaders/features/featureDependencies.js","../src/loaders/features/features.js"],"version":"5.9.3"}
1
+ {"root":["../src/index.js","../src/cdn/experimental.js","../src/cdn/lite.js","../src/cdn/pro.js","../src/cdn/spa.js","../src/common/aggregate/aggregator.js","../src/common/aggregate/event-aggregator.js","../src/common/config/configurable.js","../src/common/config/info.js","../src/common/config/init-types.js","../src/common/config/init.js","../src/common/config/loader-config.js","../src/common/config/runtime.js","../src/common/constants/agent-constants.js","../src/common/constants/env.cdn.js","../src/common/constants/env.js","../src/common/constants/env.npm.js","../src/common/constants/runtime.js","../src/common/constants/shared-channel.js","../src/common/deny-list/deny-list.js","../src/common/dispatch/global-event.js","../src/common/dom/iframe.js","../src/common/dom/query-selector.js","../src/common/dom/selector-path.js","../src/common/drain/drain.js","../src/common/event-emitter/contextual-ee.js","../src/common/event-emitter/event-context.js","../src/common/event-emitter/handle.js","../src/common/event-emitter/register-handler.js","../src/common/event-listener/event-listener-opts.js","../src/common/harvest/harvester.js","../src/common/harvest/types.js","../src/common/ids/bundle-id.js","../src/common/ids/id.js","../src/common/ids/unique-id.js","../src/common/serialize/bel-serializer.js","../src/common/session/constants.js","../src/common/session/session-entity.js","../src/common/storage/local-storage.js","../src/common/timer/interaction-timer.js","../src/common/timer/timer.js","../src/common/timing/nav-timing.js","../src/common/timing/now.js","../src/common/timing/time-keeper.js","../src/common/unload/eol.js","../src/common/url/canonicalize-url.js","../src/common/url/clean-url.js","../src/common/url/encode.js","../src/common/url/extract-url.js","../src/common/url/location.js","../src/common/url/parse-url.js","../src/common/url/protocol.js","../src/common/util/attribute-size.js","../src/common/util/browser-stack-matchers.js","../src/common/util/console.js","../src/common/util/data-size.js","../src/common/util/event-origin.js","../src/common/util/feature-flags.js","../src/common/util/get-or-set.js","../src/common/util/invoke.js","../src/common/util/monkey-patched.js","../src/common/util/obfuscate.js","../src/common/util/script-tracker.js","../src/common/util/stringify.js","../src/common/util/submit-data.js","../src/common/util/text.js","../src/common/util/traverse.js","../src/common/util/type-check.js","../src/common/util/v2.js","../src/common/util/webdriver-detection.js","../src/common/vitals/constants.js","../src/common/vitals/cumulative-layout-shift.js","../src/common/vitals/first-contentful-paint.js","../src/common/vitals/first-paint.js","../src/common/vitals/interaction-to-next-paint.js","../src/common/vitals/largest-contentful-paint.js","../src/common/vitals/load-time.js","../src/common/vitals/time-to-first-byte.js","../src/common/vitals/vital-metric.js","../src/common/window/load.js","../src/common/window/nreum.js","../src/common/window/page-visibility.js","../src/common/wrap/wrap-events.js","../src/common/wrap/wrap-fetch.js","../src/common/wrap/wrap-function.js","../src/common/wrap/wrap-history.js","../src/common/wrap/wrap-logger.js","../src/common/wrap/wrap-websocket.js","../src/common/wrap/wrap-xhr.js","../src/features/ajax/constants.js","../src/features/ajax/index.js","../src/features/ajax/aggregate/gql.js","../src/features/ajax/aggregate/index.js","../src/features/ajax/instrument/distributed-tracing.js","../src/features/ajax/instrument/index.js","../src/features/ajax/instrument/response-size.js","../src/features/generic_events/constants.js","../src/features/generic_events/index.js","../src/features/generic_events/aggregate/index.js","../src/features/generic_events/aggregate/user-actions/aggregated-user-action.js","../src/features/generic_events/aggregate/user-actions/user-actions-aggregator.js","../src/features/generic_events/instrument/index.js","../src/features/jserrors/constants.js","../src/features/jserrors/index.js","../src/features/jserrors/aggregate/canonical-function-name.js","../src/features/jserrors/aggregate/cause-string.js","../src/features/jserrors/aggregate/compute-stack-trace.js","../src/features/jserrors/aggregate/format-stack-trace.js","../src/features/jserrors/aggregate/index.js","../src/features/jserrors/aggregate/internal-errors.js","../src/features/jserrors/aggregate/string-hash-code.js","../src/features/jserrors/instrument/index.js","../src/features/jserrors/shared/cast-error.js","../src/features/jserrors/shared/uncaught-error.js","../src/features/logging/constants.js","../src/features/logging/index.js","../src/features/logging/aggregate/index.js","../src/features/logging/instrument/index.js","../src/features/logging/shared/log.js","../src/features/logging/shared/utils.js","../src/features/metrics/constants.js","../src/features/metrics/index.js","../src/features/metrics/aggregate/framework-detection.js","../src/features/metrics/aggregate/harvest-metadata.js","../src/features/metrics/aggregate/index.js","../src/features/metrics/instrument/index.js","../src/features/page_action/constants.js","../src/features/page_action/index.js","../src/features/page_action/instrument/index.js","../src/features/page_view_event/constants.js","../src/features/page_view_event/index.js","../src/features/page_view_event/aggregate/index.js","../src/features/page_view_event/aggregate/initialized-features.js","../src/features/page_view_event/instrument/index.js","../src/features/page_view_timing/constants.js","../src/features/page_view_timing/index.js","../src/features/page_view_timing/aggregate/index.js","../src/features/page_view_timing/instrument/index.js","../src/features/session_replay/constants.js","../src/features/session_replay/index.js","../src/features/session_replay/aggregate/index.js","../src/features/session_replay/instrument/index.js","../src/features/session_replay/shared/recorder-events.js","../src/features/session_replay/shared/recorder.js","../src/features/session_replay/shared/stylesheet-evaluator.js","../src/features/session_replay/shared/utils.js","../src/features/session_trace/constants.js","../src/features/session_trace/index.js","../src/features/session_trace/aggregate/index.js","../src/features/session_trace/aggregate/trace/node.js","../src/features/session_trace/aggregate/trace/storage.js","../src/features/session_trace/aggregate/trace/utils.js","../src/features/session_trace/instrument/index.js","../src/features/soft_navigations/constants.js","../src/features/soft_navigations/index.js","../src/features/soft_navigations/aggregate/ajax-node.js","../src/features/soft_navigations/aggregate/bel-node.js","../src/features/soft_navigations/aggregate/index.js","../src/features/soft_navigations/aggregate/initial-page-load-interaction.js","../src/features/soft_navigations/aggregate/interaction.js","../src/features/soft_navigations/instrument/index.js","../src/features/utils/agent-session.js","../src/features/utils/aggregate-base.js","../src/features/utils/event-buffer.js","../src/features/utils/feature-base.js","../src/features/utils/feature-gates.js","../src/features/utils/instrument-base.js","../src/features/utils/nr1-debugger.js","../src/interfaces/registered-entity.js","../src/loaders/agent-base.js","../src/loaders/agent.js","../src/loaders/api-base.js","../src/loaders/browser-agent.js","../src/loaders/micro-agent-base.js","../src/loaders/micro-agent.js","../src/loaders/api/addPageAction.js","../src/loaders/api/addRelease.js","../src/loaders/api/addToTrace.js","../src/loaders/api/consent.js","../src/loaders/api/constants.js","../src/loaders/api/finished.js","../src/loaders/api/interaction-types.js","../src/loaders/api/interaction.js","../src/loaders/api/log.js","../src/loaders/api/measure.js","../src/loaders/api/noticeError.js","../src/loaders/api/pauseReplay.js","../src/loaders/api/recordCustomEvent.js","../src/loaders/api/recordReplay.js","../src/loaders/api/register-api-types.js","../src/loaders/api/register.js","../src/loaders/api/setApplicationVersion.js","../src/loaders/api/setCustomAttribute.js","../src/loaders/api/setErrorHandler.js","../src/loaders/api/setPageViewName.js","../src/loaders/api/setUserId.js","../src/loaders/api/sharedHandlers.js","../src/loaders/api/start.js","../src/loaders/api/topLevelCallers.js","../src/loaders/api/wrapLogger.js","../src/loaders/configure/configure.js","../src/loaders/configure/nonce.js","../src/loaders/configure/public-path.js","../src/loaders/features/enabled-features.js","../src/loaders/features/featureDependencies.js","../src/loaders/features/features.js"],"version":"5.9.3"}
@@ -250,16 +250,6 @@ export type Init = {
250
250
  */
251
251
  autoStart?: boolean | undefined;
252
252
  } | undefined;
253
- spa?: {
254
- /**
255
- * - Turn on/off the single page application feature (on by default). NOTE: the SPA feature is deprecated and under removal procedure.
256
- */
257
- enabled?: boolean | undefined;
258
- /**
259
- * - If true, the agent will automatically start the single page application feature. Otherwise, it will be in a deferred state until the `start` API method is called.
260
- */
261
- autoStart?: boolean | undefined;
262
- } | undefined;
263
253
  /**
264
254
  * - If explicitly false, the agent will use HTTP instead of HTTPS. This setting should NOT be used.
265
255
  */
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../src/common/config/init.js"],"names":[],"mappings":"AA8IO,0CAEN;mBArIY,OAAO,cAAc,EAAE,IAAI"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../src/common/config/init.js"],"names":[],"mappings":"AA6IO,0CAEN;mBApIY,OAAO,cAAc,EAAE,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"initialized-features.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_view_event/aggregate/initialized-features.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,4DAFa,QAAQ,CAyBpB"}
1
+ {"version":3,"file":"initialized-features.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_view_event/aggregate/initialized-features.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,4DAFa,QAAQ,CAwBpB"}
@@ -11,5 +11,5 @@ export { PageViewEvent } from "./features/page_view_event";
11
11
  export { PageViewTiming } from "./features/page_view_timing";
12
12
  export { SessionTrace } from "./features/session_trace";
13
13
  export { SessionReplay } from "./features/session_replay";
14
- export { Spa } from "./features/spa";
14
+ export { SoftNav } from "./features/soft_navigations";
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../src/loaders/agent.js"],"names":[],"mappings":"AA2BA;;;;;;;;;GASG;AAEH;;;GAGG;AACH;IACE;;OAEG;IACH,qBAFW,YAAY,EA+BtB;IAnBC,yBAAkB;IAGlB,yCAAsD;IAkBxD;;;;;MAOC;IAED,gBAEC;IAED,yBAuCC;CACF;;;;;UArGa,OAAO,uBAAuB,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;0BApBxB,cAAc"}
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../src/loaders/agent.js"],"names":[],"mappings":"AA2BA;;;;;;;;;GASG;AAEH;;;GAGG;AACH;IACE;;OAEG;IACH,qBAFW,YAAY,EA+BtB;IAnBC,yBAAkB;IAGlB,yCAAsD;IAkBxD;;;;;MAOC;IAED,gBAEC;IAED,yBAmCC;CACF;;;;;UAjGa,OAAO,uBAAuB,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;0BApBxB,cAAc"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
  export const EVENTS: "events";
@@ -19,7 +19,6 @@ export namespace FEATURE_NAMES {
19
19
  export let sessionReplay: string;
20
20
  export let sessionTrace: string;
21
21
  export let softNav: string;
22
- export let spa: string;
23
22
  }
24
23
  /**
25
24
  * The order in which features will be instrumented. This is the traditional order. It's unclear if the order of
@@ -30,10 +29,9 @@ export const featurePriority: {
30
29
  [FEATURE_NAMES.pageViewTiming]: number;
31
30
  [FEATURE_NAMES.metrics]: number;
32
31
  [FEATURE_NAMES.jserrors]: number;
33
- [FEATURE_NAMES.spa]: number;
32
+ [FEATURE_NAMES.softNav]: number;
34
33
  [FEATURE_NAMES.ajax]: number;
35
34
  [FEATURE_NAMES.sessionTrace]: number;
36
- [FEATURE_NAMES.softNav]: number;
37
35
  [FEATURE_NAMES.sessionReplay]: number;
38
36
  [FEATURE_NAMES.logging]: number;
39
37
  [FEATURE_NAMES.genericEvents]: number;
@@ -42,7 +40,6 @@ export const FEATURE_TO_ENDPOINT: {
42
40
  [FEATURE_NAMES.pageViewEvent]: string;
43
41
  [FEATURE_NAMES.pageViewTiming]: string;
44
42
  [FEATURE_NAMES.ajax]: string;
45
- [FEATURE_NAMES.spa]: string;
46
43
  [FEATURE_NAMES.softNav]: string;
47
44
  [FEATURE_NAMES.metrics]: string;
48
45
  [FEATURE_NAMES.jserrors]: string;
@@ -1 +1 @@
1
- {"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../../src/loaders/features/features.js"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,qBAAsB,QAAQ,CAAA;AAC9B,uBAAwB,UAAU,CAAA;AAClC,oBAAqB,eAAe,CAAA;AACpC,kBAAmB,KAAK,CAAA;AACxB,mBAAoB,cAAc,CAAA;;;;;;;;;;;;;;;AAoBlC;;;GAGG;AACH;IACE,CAAC,aAAa,CAAC,aAAa,CAAC,SAAG;IAChC,CAAC,aAAa,CAAC,cAAc,CAAC,SAAG;IACjC,CAAC,aAAa,CAAC,OAAO,CAAC,SAAG;IAC1B,CAAC,aAAa,CAAC,QAAQ,CAAC,SAAG;IAC3B,CAAC,aAAa,CAAC,GAAG,CAAC,SAAG;IACtB,CAAC,aAAa,CAAC,IAAI,CAAC,SAAG;IACvB,CAAC,aAAa,CAAC,YAAY,CAAC,SAAG;IAC/B,CAAC,aAAa,CAAC,OAAO,CAAC,SAAG;IAC1B,CAAC,aAAa,CAAC,aAAa,CAAC,SAAG;IAChC,CAAC,aAAa,CAAC,OAAO,CAAC,SAAI;IAC3B,CAAC,aAAa,CAAC,aAAa,CAAC,SAAI;EAClC;AAED;IACE,CAAC,aAAa,CAAC,aAAa,CAAC,SAAK;IAClC,CAAC,aAAa,CAAC,cAAc,CAAC,SAAQ;IACtC,CAAC,aAAa,CAAC,IAAI,CAAC,SAAQ;IAC5B,CAAC,aAAa,CAAC,GAAG,CAAC,SAAQ;IAC3B,CAAC,aAAa,CAAC,OAAO,CAAC,SAAQ;IAC/B,CAAC,aAAa,CAAC,OAAO,CAAC,SAAU;IACjC,CAAC,aAAa,CAAC,QAAQ,CAAC,SAAU;IAClC,CAAC,aAAa,CAAC,YAAY,CAAC,SAAO;IACnC,CAAC,aAAa,CAAC,aAAa,CAAC,SAAO;IACpC,CAAC,aAAa,CAAC,OAAO,CAAC,SAAM;IAC7B,CAAC,aAAa,CAAC,aAAa,CAAC,SAAO;EACrC"}
1
+ {"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../../src/loaders/features/features.js"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,qBAAsB,QAAQ,CAAA;AAC9B,uBAAwB,UAAU,CAAA;AAClC,oBAAqB,eAAe,CAAA;AACpC,kBAAmB,KAAK,CAAA;AACxB,mBAAoB,cAAc,CAAA;;;;;;;;;;;;;;AAmBlC;;;GAGG;AACH;IACE,CAAC,aAAa,CAAC,aAAa,CAAC,SAAG;IAChC,CAAC,aAAa,CAAC,cAAc,CAAC,SAAG;IACjC,CAAC,aAAa,CAAC,OAAO,CAAC,SAAG;IAC1B,CAAC,aAAa,CAAC,QAAQ,CAAC,SAAG;IAC3B,CAAC,aAAa,CAAC,OAAO,CAAC,SAAG;IAC1B,CAAC,aAAa,CAAC,IAAI,CAAC,SAAG;IACvB,CAAC,aAAa,CAAC,YAAY,CAAC,SAAG;IAC/B,CAAC,aAAa,CAAC,aAAa,CAAC,SAAG;IAChC,CAAC,aAAa,CAAC,OAAO,CAAC,SAAG;IAC1B,CAAC,aAAa,CAAC,aAAa,CAAC,SAAI;EAClC;AAED;IACE,CAAC,aAAa,CAAC,aAAa,CAAC,SAAK;IAClC,CAAC,aAAa,CAAC,cAAc,CAAC,SAAQ;IACtC,CAAC,aAAa,CAAC,IAAI,CAAC,SAAQ;IAC5B,CAAC,aAAa,CAAC,OAAO,CAAC,SAAQ;IAC/B,CAAC,aAAa,CAAC,OAAO,CAAC,SAAU;IACjC,CAAC,aAAa,CAAC,QAAQ,CAAC,SAAU;IAClC,CAAC,aAAa,CAAC,YAAY,CAAC,SAAO;IACnC,CAAC,aAAa,CAAC,aAAa,CAAC,SAAO;IACpC,CAAC,aAAa,CAAC,OAAO,CAAC,SAAM;IAC7B,CAAC,aAAa,CAAC,aAAa,CAAC,SAAO;EACrC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/browser-agent",
3
- "version": "1.309.0-rc.4",
3
+ "version": "1.309.0-rc.6",
4
4
  "private": false,
5
5
  "author": "New Relic Browser Agent Team <browser-agent@newrelic.com>",
6
6
  "description": "New Relic Browser Agent",
@@ -64,9 +64,6 @@
64
64
  ],
65
65
  "features/soft_navigations": [
66
66
  "dist/types/features/soft_navigations/instrument/index.d.ts"
67
- ],
68
- "features/spa": [
69
- "dist/types/features/spa/instrument/index.d.ts"
70
67
  ]
71
68
  }
72
69
  },
@@ -156,11 +153,6 @@
156
153
  "require": "./dist/cjs/features/soft_navigations/instrument/index.js",
157
154
  "default": "./dist/esm/features/soft_navigations/instrument/index.js"
158
155
  },
159
- "./features/spa": {
160
- "types": "./dist/types/features/spa/instrument/index.d.ts",
161
- "require": "./dist/cjs/features/spa/instrument/index.js",
162
- "default": "./dist/esm/features/spa/instrument/index.js"
163
- },
164
156
  "./tools/bundler-tools": {
165
157
  "require": "./tools/bundler-tools/bundler-tools.js",
166
158
  "default": "./tools/bundler-tools/bundler-tools.mjs"