@newrelic/browser-agent 1.309.0-rc.5 → 1.309.0-rc.7

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 (114) 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/interfaces/registered-entity.js +1 -1
  13. package/dist/cjs/loaders/agent.js +1 -4
  14. package/dist/cjs/loaders/api/register-api-types.js +1 -1
  15. package/dist/cjs/loaders/api-base.js +1 -1
  16. package/dist/cjs/loaders/features/features.js +6 -9
  17. package/dist/esm/common/config/init-types.js +1 -4
  18. package/dist/esm/common/config/init.js +1 -5
  19. package/dist/esm/common/constants/env.cdn.js +1 -1
  20. package/dist/esm/common/constants/env.npm.js +1 -1
  21. package/dist/esm/common/wrap/wrap-fetch.js +2 -2
  22. package/dist/esm/common/wrap/wrap-history.js +2 -2
  23. package/dist/esm/common/wrap/wrap-logger.js +2 -2
  24. package/dist/esm/common/wrap/wrap-xhr.js +2 -2
  25. package/dist/esm/features/page_view_event/aggregate/initialized-features.js +1 -2
  26. package/dist/esm/index.js +2 -2
  27. package/dist/esm/interfaces/registered-entity.js +1 -1
  28. package/dist/esm/loaders/agent.js +1 -4
  29. package/dist/esm/loaders/api/register-api-types.js +1 -1
  30. package/dist/esm/loaders/api-base.js +1 -1
  31. package/dist/esm/loaders/features/features.js +6 -9
  32. package/dist/tsconfig.tsbuildinfo +1 -1
  33. package/dist/types/common/config/init-types.d.ts +0 -10
  34. package/dist/types/common/config/init.d.ts.map +1 -1
  35. package/dist/types/features/page_view_event/aggregate/initialized-features.d.ts.map +1 -1
  36. package/dist/types/index.d.ts +1 -1
  37. package/dist/types/interfaces/registered-entity.d.ts +4 -5
  38. package/dist/types/interfaces/registered-entity.d.ts.map +1 -1
  39. package/dist/types/loaders/agent.d.ts.map +1 -1
  40. package/dist/types/loaders/api/register-api-types.d.ts +3 -4
  41. package/dist/types/loaders/api/register-api-types.d.ts.map +1 -1
  42. package/dist/types/loaders/api-base.d.ts +4 -5
  43. package/dist/types/loaders/api-base.d.ts.map +1 -1
  44. package/dist/types/loaders/features/features.d.ts +2 -5
  45. package/dist/types/loaders/features/features.d.ts.map +1 -1
  46. package/package.json +1 -9
  47. package/src/common/config/init-types.js +1 -4
  48. package/src/common/config/init.js +1 -2
  49. package/src/common/wrap/wrap-fetch.js +2 -2
  50. package/src/common/wrap/wrap-history.js +2 -2
  51. package/src/common/wrap/wrap-logger.js +2 -2
  52. package/src/common/wrap/wrap-xhr.js +2 -2
  53. package/src/features/page_view_event/aggregate/initialized-features.js +1 -2
  54. package/src/index.js +2 -2
  55. package/src/interfaces/registered-entity.js +1 -1
  56. package/src/loaders/agent.js +0 -4
  57. package/src/loaders/api/register-api-types.js +1 -1
  58. package/src/loaders/api-base.js +1 -1
  59. package/src/loaders/features/features.js +6 -9
  60. package/dist/cjs/common/wrap/wrap-jsonp.js +0 -137
  61. package/dist/cjs/common/wrap/wrap-mutation.js +0 -62
  62. package/dist/cjs/common/wrap/wrap-promise.js +0 -166
  63. package/dist/cjs/common/wrap/wrap-timer.js +0 -71
  64. package/dist/cjs/features/spa/aggregate/index.js +0 -672
  65. package/dist/cjs/features/spa/aggregate/interaction-node.js +0 -83
  66. package/dist/cjs/features/spa/aggregate/interaction.js +0 -95
  67. package/dist/cjs/features/spa/aggregate/serializer.js +0 -150
  68. package/dist/cjs/features/spa/constants.js +0 -35
  69. package/dist/cjs/features/spa/index.js +0 -12
  70. package/dist/cjs/features/spa/instrument/index.js +0 -136
  71. package/dist/esm/common/wrap/wrap-jsonp.js +0 -130
  72. package/dist/esm/common/wrap/wrap-mutation.js +0 -55
  73. package/dist/esm/common/wrap/wrap-promise.js +0 -159
  74. package/dist/esm/common/wrap/wrap-timer.js +0 -64
  75. package/dist/esm/features/spa/aggregate/index.js +0 -663
  76. package/dist/esm/features/spa/aggregate/interaction-node.js +0 -77
  77. package/dist/esm/features/spa/aggregate/interaction.js +0 -88
  78. package/dist/esm/features/spa/aggregate/serializer.js +0 -142
  79. package/dist/esm/features/spa/constants.js +0 -28
  80. package/dist/esm/features/spa/index.js +0 -5
  81. package/dist/esm/features/spa/instrument/index.js +0 -129
  82. package/dist/types/common/wrap/wrap-jsonp.d.ts +0 -16
  83. package/dist/types/common/wrap/wrap-jsonp.d.ts.map +0 -1
  84. package/dist/types/common/wrap/wrap-mutation.d.ts +0 -16
  85. package/dist/types/common/wrap/wrap-mutation.d.ts.map +0 -1
  86. package/dist/types/common/wrap/wrap-promise.d.ts +0 -17
  87. package/dist/types/common/wrap/wrap-promise.d.ts.map +0 -1
  88. package/dist/types/common/wrap/wrap-timer.d.ts +0 -17
  89. package/dist/types/common/wrap/wrap-timer.d.ts.map +0 -1
  90. package/dist/types/features/spa/aggregate/index.d.ts +0 -24
  91. package/dist/types/features/spa/aggregate/index.d.ts.map +0 -1
  92. package/dist/types/features/spa/aggregate/interaction-node.d.ts +0 -15
  93. package/dist/types/features/spa/aggregate/interaction-node.d.ts.map +0 -1
  94. package/dist/types/features/spa/aggregate/interaction.d.ts +0 -19
  95. package/dist/types/features/spa/aggregate/interaction.d.ts.map +0 -1
  96. package/dist/types/features/spa/aggregate/serializer.d.ts +0 -17
  97. package/dist/types/features/spa/aggregate/serializer.d.ts.map +0 -1
  98. package/dist/types/features/spa/constants.d.ts +0 -23
  99. package/dist/types/features/spa/constants.d.ts.map +0 -1
  100. package/dist/types/features/spa/index.d.ts +0 -2
  101. package/dist/types/features/spa/index.d.ts.map +0 -1
  102. package/dist/types/features/spa/instrument/index.d.ts +0 -12
  103. package/dist/types/features/spa/instrument/index.d.ts.map +0 -1
  104. package/src/common/wrap/wrap-jsonp.js +0 -142
  105. package/src/common/wrap/wrap-mutation.js +0 -58
  106. package/src/common/wrap/wrap-promise.js +0 -176
  107. package/src/common/wrap/wrap-timer.js +0 -70
  108. package/src/features/spa/aggregate/index.js +0 -734
  109. package/src/features/spa/aggregate/interaction-node.js +0 -85
  110. package/src/features/spa/aggregate/interaction.js +0 -108
  111. package/src/features/spa/aggregate/serializer.js +0 -200
  112. package/src/features/spa/constants.js +0 -39
  113. package/src/features/spa/index.js +0 -5
  114. 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.5";
20
+ const VERSION = exports.VERSION = "1.309.0-rc.7";
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.5";
20
+ const VERSION = exports.VERSION = "1.309.0-rc.7";
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");
@@ -94,7 +94,7 @@ class RegisteredEntity {
94
94
  * Measures a task that is recorded as a BrowserPerformance event.
95
95
  * {@link https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/measure/}
96
96
  * @param {string} name The name of the task
97
- * @param {{start: number, end: number, duration: number, customAttributes: object}} [options] An object used to control the way the measure API operates
97
+ * @param {{start?: number|PerformanceMark, end?: number|PerformanceMark, customAttributes?: object}} [options] An object used to control the way the measure API operates
98
98
  * @returns {{start: number, end: number, duration: number, customAttributes: object}} Measurement details
99
99
  */
100
100
  measure(name, options) {
@@ -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) {
@@ -16,7 +16,7 @@ exports.default = void 0;
16
16
  * @property {(target: RegisterAPIConstructor) => RegisterAPI} register - Record a custom event for the registered entity.
17
17
  * @property {() => void} deregister - Deregister the registered entity, which blocks its use and captures end of life timings.
18
18
  * @property {(eventType: string, attributes?: Object) => void} recordCustomEvent - Record a custom event for the registered entity.
19
- * @property {(eventType: string, options?: {start: number, end: number, duration: number, customAttributes: object}) => ({start: number, end: number, duration: number, customAttributes: object})} measure - Measures a task that is recorded as a BrowserPerformance event.
19
+ * @property {(eventType: string, options?: {start?: number|PerformanceMark, end?: number|PerformanceMark, customAttributes?: object}) => ({start: number, end: number, duration: number, customAttributes: object})} measure - Measures a task that is recorded as a BrowserPerformance event.
20
20
  * @property {(value: string | null) => void} setApplicationVersion - Add an application.version attribute to all outgoing data for the registered entity.
21
21
  * @property {(name: string, value: string | number | boolean | null, persist?: boolean) => void} setCustomAttribute - Add a custom attribute to outgoing data for the registered entity.
22
22
  * @property {(value: string | null, resetSession?: boolean) => void} setUserId - Add an enduser.id attribute to all outgoing API data for the registered entity. Note: a registered entity will not be able to initiate a session reset. It must be done from the main agent.
@@ -225,7 +225,7 @@ class ApiBase {
225
225
  * Measures a task that is recorded as a BrowserPerformance event.
226
226
  * {@link https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/measure/}
227
227
  * @param {string} name The name of the task
228
- * @param {{start: number, end: number, duration: number, customAttributes: object}} [options] An object used to control the way the measure API operates
228
+ * @param {{start?: number|PerformanceMark, end?: number|PerformanceMark, customAttributes?: object}} [options] An object used to control the way the measure API operates
229
229
  * @returns {{start: number, end: number, duration: number, customAttributes: object}} Measurement details
230
230
  */
231
231
  measure(name, options) {
@@ -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.5";
14
+ export const VERSION = "1.309.0-rc.7";
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.5";
14
+ export const VERSION = "1.309.0-rc.7";
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';
@@ -88,7 +88,7 @@ export class RegisteredEntity {
88
88
  * Measures a task that is recorded as a BrowserPerformance event.
89
89
  * {@link https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/measure/}
90
90
  * @param {string} name The name of the task
91
- * @param {{start: number, end: number, duration: number, customAttributes: object}} [options] An object used to control the way the measure API operates
91
+ * @param {{start?: number|PerformanceMark, end?: number|PerformanceMark, customAttributes?: object}} [options] An object used to control the way the measure API operates
92
92
  * @returns {{start: number, end: number, duration: number, customAttributes: object}} Measurement details
93
93
  */
94
94
  measure(name, options) {
@@ -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) {
@@ -11,7 +11,7 @@
11
11
  * @property {(target: RegisterAPIConstructor) => RegisterAPI} register - Record a custom event for the registered entity.
12
12
  * @property {() => void} deregister - Deregister the registered entity, which blocks its use and captures end of life timings.
13
13
  * @property {(eventType: string, attributes?: Object) => void} recordCustomEvent - Record a custom event for the registered entity.
14
- * @property {(eventType: string, options?: {start: number, end: number, duration: number, customAttributes: object}) => ({start: number, end: number, duration: number, customAttributes: object})} measure - Measures a task that is recorded as a BrowserPerformance event.
14
+ * @property {(eventType: string, options?: {start?: number|PerformanceMark, end?: number|PerformanceMark, customAttributes?: object}) => ({start: number, end: number, duration: number, customAttributes: object})} measure - Measures a task that is recorded as a BrowserPerformance event.
15
15
  * @property {(value: string | null) => void} setApplicationVersion - Add an application.version attribute to all outgoing data for the registered entity.
16
16
  * @property {(name: string, value: string | number | boolean | null, persist?: boolean) => void} setCustomAttribute - Add a custom attribute to outgoing data for the registered entity.
17
17
  * @property {(value: string | null, resetSession?: boolean) => void} setUserId - Add an enduser.id attribute to all outgoing API data for the registered entity. Note: a registered entity will not be able to initiate a session reset. It must be done from the main agent.
@@ -219,7 +219,7 @@ export class ApiBase {
219
219
  * Measures a task that is recorded as a BrowserPerformance event.
220
220
  * {@link https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/measure/}
221
221
  * @param {string} name The name of the task
222
- * @param {{start: number, end: number, duration: number, customAttributes: object}} [options] An object used to control the way the measure API operates
222
+ * @param {{start?: number|PerformanceMark, end?: number|PerformanceMark, customAttributes?: object}} [options] An object used to control the way the measure API operates
223
223
  * @returns {{start: number, end: number, duration: number, customAttributes: object}} Measurement details
224
224
  */
225
225
  measure(name, options) {
@@ -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