@newrelic/browser-agent 1.232.1 → 1.233.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/dist/cjs/cdn/polyfills.js +5 -2
  2. package/dist/cjs/common/config/state/configurable.js +15 -26
  3. package/dist/cjs/common/config/state/info.js +1 -1
  4. package/dist/cjs/common/config/state/init.js +101 -56
  5. package/dist/cjs/common/config/state/loader-config.js +1 -1
  6. package/dist/cjs/common/config/state/runtime.js +1 -5
  7. package/dist/cjs/common/constants/env.cdn.js +1 -1
  8. package/dist/cjs/common/constants/env.npm.js +1 -1
  9. package/dist/cjs/common/drain/drain.js +1 -1
  10. package/dist/cjs/common/harvest/harvest-scheduler.js +30 -10
  11. package/dist/cjs/common/harvest/harvest.js +119 -55
  12. package/dist/cjs/common/session/session-entity.js +35 -22
  13. package/dist/cjs/common/session/session-entity.test.js +73 -49
  14. package/dist/cjs/common/timer/interaction-timer.js +9 -12
  15. package/dist/cjs/common/url/protocol.test.js +0 -1
  16. package/dist/cjs/common/util/feature-flags.js +2 -1
  17. package/dist/cjs/common/util/submit-data.js +57 -18
  18. package/dist/cjs/common/wrap/wrap-fetch.js +1 -1
  19. package/dist/cjs/common/wrap/wrap-function.js +1 -1
  20. package/dist/cjs/common/wrap/wrap-promise.js +1 -1
  21. package/dist/cjs/features/ajax/aggregate/index.js +2 -2
  22. package/dist/cjs/features/jserrors/aggregate/index.js +7 -5
  23. package/dist/cjs/features/metrics/aggregate/framework-detection.js +67 -0
  24. package/dist/cjs/features/metrics/aggregate/framework-detection.test.js +137 -0
  25. package/dist/cjs/features/metrics/aggregate/index.js +7 -3
  26. package/dist/cjs/features/metrics/aggregate/polyfill-detection.es5.js +14 -0
  27. package/dist/cjs/features/metrics/aggregate/polyfill-detection.es5.test.js +17 -0
  28. package/dist/cjs/features/metrics/aggregate/polyfill-detection.js +53 -0
  29. package/dist/cjs/features/metrics/aggregate/polyfill-detection.test.js +165 -0
  30. package/dist/cjs/features/page_action/aggregate/index.js +2 -2
  31. package/dist/cjs/features/page_view_event/aggregate/index.js +6 -3
  32. package/dist/cjs/features/page_view_timing/aggregate/index.js +2 -2
  33. package/dist/cjs/features/session_replay/aggregate/index.js +333 -0
  34. package/dist/cjs/features/session_replay/constants.js +9 -0
  35. package/dist/cjs/features/session_replay/index.js +12 -0
  36. package/dist/cjs/features/session_replay/instrument/index.js +29 -0
  37. package/dist/cjs/features/session_trace/aggregate/index.js +163 -162
  38. package/dist/cjs/features/session_trace/constants.js +2 -9
  39. package/dist/cjs/features/session_trace/instrument/index.js +24 -66
  40. package/dist/cjs/features/spa/aggregate/index.js +2 -2
  41. package/dist/cjs/features/utils/agent-session.js +1 -2
  42. package/dist/cjs/features/utils/aggregate-base.js +64 -0
  43. package/dist/cjs/features/utils/feature-base.js +0 -31
  44. package/dist/cjs/features/utils/handler-cache.js +3 -4
  45. package/dist/cjs/features/utils/instrument-base.js +42 -10
  46. package/dist/cjs/features/utils/{lazy-loader.js → lazy-feature-loader.js} +4 -2
  47. package/dist/cjs/loaders/agent.js +1 -1
  48. package/dist/cjs/loaders/api/apiAsync.js +3 -1
  49. package/dist/cjs/loaders/configure/configure.js +3 -3
  50. package/dist/cjs/loaders/features/featureDependencies.js +0 -12
  51. package/dist/cjs/loaders/features/features.js +3 -1
  52. package/dist/cjs/loaders/micro-agent.js +6 -6
  53. package/dist/esm/cdn/polyfills.js +5 -2
  54. package/dist/esm/common/config/state/configurable.js +14 -24
  55. package/dist/esm/common/config/state/info.js +2 -2
  56. package/dist/esm/common/config/state/init.js +102 -57
  57. package/dist/esm/common/config/state/loader-config.js +2 -2
  58. package/dist/esm/common/config/state/runtime.js +2 -4
  59. package/dist/esm/common/constants/env.cdn.js +1 -1
  60. package/dist/esm/common/constants/env.npm.js +1 -1
  61. package/dist/esm/common/drain/drain.js +1 -1
  62. package/dist/esm/common/harvest/harvest-scheduler.js +30 -10
  63. package/dist/esm/common/harvest/harvest.js +121 -56
  64. package/dist/esm/common/session/session-entity.js +35 -22
  65. package/dist/esm/common/session/session-entity.test.js +73 -49
  66. package/dist/esm/common/timer/interaction-timer.js +9 -12
  67. package/dist/esm/common/url/protocol.test.js +0 -1
  68. package/dist/esm/common/util/feature-flags.js +2 -1
  69. package/dist/esm/common/util/submit-data.js +57 -18
  70. package/dist/esm/common/wrap/wrap-fetch.js +1 -1
  71. package/dist/esm/common/wrap/wrap-function.js +1 -1
  72. package/dist/esm/common/wrap/wrap-promise.js +1 -1
  73. package/dist/esm/features/ajax/aggregate/index.js +2 -2
  74. package/dist/esm/features/jserrors/aggregate/index.js +7 -5
  75. package/dist/esm/features/metrics/aggregate/framework-detection.js +61 -0
  76. package/dist/esm/features/metrics/aggregate/framework-detection.test.js +133 -0
  77. package/dist/esm/features/metrics/aggregate/index.js +7 -3
  78. package/dist/esm/features/metrics/aggregate/polyfill-detection.es5.js +8 -0
  79. package/dist/esm/features/metrics/aggregate/polyfill-detection.es5.test.js +15 -0
  80. package/dist/esm/features/metrics/aggregate/polyfill-detection.js +47 -0
  81. package/dist/esm/features/metrics/aggregate/polyfill-detection.test.js +163 -0
  82. package/dist/esm/features/page_action/aggregate/index.js +2 -2
  83. package/dist/esm/features/page_view_event/aggregate/index.js +6 -3
  84. package/dist/esm/features/page_view_timing/aggregate/index.js +2 -2
  85. package/dist/esm/features/session_replay/aggregate/index.js +327 -0
  86. package/dist/esm/features/session_replay/constants.js +2 -0
  87. package/dist/esm/features/session_replay/index.js +12 -0
  88. package/dist/esm/features/session_replay/instrument/index.js +21 -0
  89. package/dist/esm/features/session_trace/aggregate/index.js +163 -162
  90. package/dist/esm/features/session_trace/constants.js +1 -5
  91. package/dist/esm/features/session_trace/instrument/index.js +24 -66
  92. package/dist/esm/features/spa/aggregate/index.js +2 -2
  93. package/dist/esm/features/utils/agent-session.js +1 -2
  94. package/dist/esm/features/utils/aggregate-base.js +57 -0
  95. package/dist/esm/features/utils/feature-base.js +1 -32
  96. package/dist/esm/features/utils/handler-cache.js +3 -4
  97. package/dist/esm/features/utils/instrument-base.js +42 -10
  98. package/dist/esm/features/utils/{lazy-loader.js → lazy-feature-loader.js} +3 -1
  99. package/dist/esm/loaders/agent.js +1 -1
  100. package/dist/esm/loaders/api/apiAsync.js +3 -1
  101. package/dist/esm/loaders/configure/configure.js +3 -3
  102. package/dist/esm/loaders/features/featureDependencies.js +0 -11
  103. package/dist/esm/loaders/features/features.js +3 -1
  104. package/dist/esm/loaders/micro-agent.js +6 -6
  105. package/dist/types/common/config/state/configurable.d.ts +1 -3
  106. package/dist/types/common/config/state/configurable.d.ts.map +1 -1
  107. package/dist/types/common/config/state/init.d.ts.map +1 -1
  108. package/dist/types/common/config/state/runtime.d.ts.map +1 -1
  109. package/dist/types/common/harvest/harvest-scheduler.d.ts.map +1 -1
  110. package/dist/types/common/harvest/harvest.d.ts +37 -34
  111. package/dist/types/common/harvest/harvest.d.ts.map +1 -1
  112. package/dist/types/common/session/session-entity.d.ts +6 -3
  113. package/dist/types/common/session/session-entity.d.ts.map +1 -1
  114. package/dist/types/common/timer/interaction-timer.d.ts +2 -1
  115. package/dist/types/common/timer/interaction-timer.d.ts.map +1 -1
  116. package/dist/types/common/util/feature-flags.d.ts.map +1 -1
  117. package/dist/types/common/util/submit-data.d.ts +40 -14
  118. package/dist/types/common/util/submit-data.d.ts.map +1 -1
  119. package/dist/types/features/ajax/aggregate/index.d.ts +2 -2
  120. package/dist/types/features/ajax/aggregate/index.d.ts.map +1 -1
  121. package/dist/types/features/jserrors/aggregate/index.d.ts +2 -2
  122. package/dist/types/features/jserrors/aggregate/index.d.ts.map +1 -1
  123. package/dist/types/features/metrics/aggregate/framework-detection.d.ts.map +1 -0
  124. package/dist/types/features/metrics/aggregate/index.d.ts +2 -2
  125. package/dist/types/features/metrics/aggregate/index.d.ts.map +1 -1
  126. package/dist/types/features/metrics/aggregate/polyfill-detection.d.ts +6 -0
  127. package/dist/types/features/metrics/aggregate/polyfill-detection.d.ts.map +1 -0
  128. package/dist/types/features/metrics/aggregate/polyfill-detection.es5.d.ts +7 -0
  129. package/dist/types/features/metrics/aggregate/polyfill-detection.es5.d.ts.map +1 -0
  130. package/dist/types/features/page_action/aggregate/index.d.ts +2 -2
  131. package/dist/types/features/page_action/aggregate/index.d.ts.map +1 -1
  132. package/dist/types/features/page_view_event/aggregate/index.d.ts +2 -2
  133. package/dist/types/features/page_view_event/aggregate/index.d.ts.map +1 -1
  134. package/dist/types/features/page_view_timing/aggregate/index.d.ts +2 -2
  135. package/dist/types/features/page_view_timing/aggregate/index.d.ts.map +1 -1
  136. package/dist/types/features/session_replay/aggregate/index.d.ts +96 -0
  137. package/dist/types/features/session_replay/aggregate/index.d.ts.map +1 -0
  138. package/dist/types/features/session_replay/constants.d.ts +2 -0
  139. package/dist/types/features/session_replay/constants.d.ts.map +1 -0
  140. package/dist/types/features/session_replay/index.d.ts +2 -0
  141. package/dist/types/features/session_replay/index.d.ts.map +1 -0
  142. package/dist/types/features/session_replay/instrument/index.d.ts +6 -0
  143. package/dist/types/features/session_replay/instrument/index.d.ts.map +1 -0
  144. package/dist/types/features/session_trace/aggregate/index.d.ts +8 -57
  145. package/dist/types/features/session_trace/aggregate/index.d.ts.map +1 -1
  146. package/dist/types/features/session_trace/constants.d.ts +0 -3
  147. package/dist/types/features/session_trace/constants.d.ts.map +1 -1
  148. package/dist/types/features/session_trace/instrument/index.d.ts +1 -3
  149. package/dist/types/features/session_trace/instrument/index.d.ts.map +1 -1
  150. package/dist/types/features/spa/aggregate/index.d.ts +2 -2
  151. package/dist/types/features/spa/aggregate/index.d.ts.map +1 -1
  152. package/dist/types/features/utils/agent-session.d.ts.map +1 -1
  153. package/dist/types/features/utils/aggregate-base.d.ts +11 -0
  154. package/dist/types/features/utils/aggregate-base.d.ts.map +1 -0
  155. package/dist/types/features/utils/feature-base.d.ts +0 -5
  156. package/dist/types/features/utils/feature-base.d.ts.map +1 -1
  157. package/dist/types/features/utils/handler-cache.d.ts.map +1 -1
  158. package/dist/types/features/utils/instrument-base.d.ts +3 -1
  159. package/dist/types/features/utils/instrument-base.d.ts.map +1 -1
  160. package/dist/types/features/utils/{lazy-loader.d.ts → lazy-feature-loader.d.ts} +2 -2
  161. package/dist/types/features/utils/lazy-feature-loader.d.ts.map +1 -0
  162. package/dist/types/loaders/configure/configure.d.ts.map +1 -1
  163. package/dist/types/loaders/features/featureDependencies.d.ts +0 -1
  164. package/dist/types/loaders/features/featureDependencies.d.ts.map +1 -1
  165. package/dist/types/loaders/features/features.d.ts +1 -0
  166. package/dist/types/loaders/features/features.d.ts.map +1 -1
  167. package/package.json +28 -19
  168. package/src/cdn/polyfills.js +4 -1
  169. package/src/common/config/state/configurable.js +18 -24
  170. package/src/common/config/state/info.js +2 -2
  171. package/src/common/config/state/init.js +62 -28
  172. package/src/common/config/state/loader-config.js +2 -2
  173. package/src/common/config/state/runtime.js +2 -4
  174. package/src/common/drain/drain.js +1 -1
  175. package/src/common/harvest/harvest-scheduler.js +35 -10
  176. package/src/common/harvest/harvest.js +73 -50
  177. package/src/common/session/session-entity.js +34 -23
  178. package/src/common/session/session-entity.test.js +57 -51
  179. package/src/common/timer/interaction-timer.js +9 -12
  180. package/src/common/url/protocol.test.js +0 -1
  181. package/src/common/util/feature-flags.js +2 -2
  182. package/src/common/util/submit-data.js +28 -17
  183. package/src/common/wrap/wrap-fetch.js +1 -1
  184. package/src/common/wrap/wrap-function.js +1 -1
  185. package/src/common/wrap/wrap-promise.js +1 -1
  186. package/src/features/ajax/aggregate/index.js +2 -2
  187. package/src/features/jserrors/aggregate/index.js +7 -5
  188. package/src/features/metrics/aggregate/framework-detection.js +73 -0
  189. package/src/features/metrics/aggregate/framework-detection.test.js +201 -0
  190. package/src/features/metrics/aggregate/index.js +8 -3
  191. package/src/features/metrics/aggregate/polyfill-detection.es5.js +9 -0
  192. package/src/features/metrics/aggregate/polyfill-detection.es5.test.js +16 -0
  193. package/src/features/metrics/aggregate/polyfill-detection.js +48 -0
  194. package/src/features/metrics/aggregate/polyfill-detection.test.js +163 -0
  195. package/src/features/page_action/aggregate/index.js +2 -2
  196. package/src/features/page_view_event/aggregate/index.js +5 -5
  197. package/src/features/page_view_timing/aggregate/index.js +2 -2
  198. package/src/features/session_replay/aggregate/index.js +314 -0
  199. package/src/features/session_replay/constants.js +3 -0
  200. package/src/features/session_replay/index.js +12 -0
  201. package/src/features/session_replay/instrument/index.js +22 -0
  202. package/src/features/session_trace/aggregate/index.js +148 -187
  203. package/src/features/session_trace/constants.js +0 -4
  204. package/src/features/session_trace/instrument/index.js +17 -69
  205. package/src/features/spa/aggregate/index.js +2 -2
  206. package/src/features/utils/agent-session.js +1 -2
  207. package/src/features/utils/aggregate-base.js +51 -0
  208. package/src/features/utils/feature-base.js +1 -31
  209. package/src/features/utils/handler-cache.js +3 -4
  210. package/src/features/utils/instrument-base.js +40 -8
  211. package/src/features/utils/{lazy-loader.js → lazy-feature-loader.js} +3 -1
  212. package/src/loaders/agent.js +1 -1
  213. package/src/loaders/api/apiAsync.js +1 -1
  214. package/src/loaders/configure/configure.js +4 -3
  215. package/src/loaders/features/featureDependencies.js +0 -12
  216. package/src/loaders/features/features.js +3 -1
  217. package/src/loaders/micro-agent.js +4 -4
  218. package/dist/cjs/common/metrics/framework-detection.js +0 -72
  219. package/dist/cjs/common/util/user-agent.js +0 -57
  220. package/dist/cjs/common/window/supports-performance-observer.js +0 -15
  221. package/dist/esm/common/metrics/framework-detection.js +0 -66
  222. package/dist/esm/common/util/user-agent.js +0 -48
  223. package/dist/esm/common/window/supports-performance-observer.js +0 -9
  224. package/dist/types/common/metrics/framework-detection.d.ts.map +0 -1
  225. package/dist/types/common/util/user-agent.d.ts +0 -5
  226. package/dist/types/common/util/user-agent.d.ts.map +0 -1
  227. package/dist/types/common/window/supports-performance-observer.d.ts +0 -2
  228. package/dist/types/common/window/supports-performance-observer.d.ts.map +0 -1
  229. package/dist/types/features/utils/lazy-loader.d.ts.map +0 -1
  230. package/src/common/metrics/framework-detection.js +0 -71
  231. package/src/common/util/user-agent.js +0 -56
  232. package/src/common/window/supports-performance-observer.js +0 -10
  233. /package/dist/types/{common/metrics → features/metrics/aggregate}/framework-detection.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/ajax/aggregate/index.js"],"names":[],"mappings":"AAiBA;IACE,2BAAiC;IACjC,mDAmOC;IAtNC,uFAAwB;IACxB;;;;eAAoC;IACpC;;;MAA2E;CAqN9E;4BAxO2B,0BAA0B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/ajax/aggregate/index.js"],"names":[],"mappings":"AAiBA;IACE,2BAAiC;IACjC,mDAmOC;IAtNC,uFAAwB;IACxB;;;;eAAoC;IACpC;;;MAA2E;CAqN9E;8BAxO6B,4BAA4B"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @typedef {import('./compute-stack-trace.js').StackInfo} StackInfo
3
3
  */
4
- export class Aggregate extends FeatureBase {
4
+ export class Aggregate extends AggregateBase {
5
5
  static featureName: string;
6
6
  constructor(agentIdentifier: any, aggregator: any);
7
7
  stackReported: {};
@@ -29,5 +29,5 @@ export class Aggregate extends FeatureBase {
29
29
  onInteractionDiscarded(interaction: any): void;
30
30
  }
31
31
  export type StackInfo = import('./compute-stack-trace.js').StackInfo;
32
- import { FeatureBase } from '../../utils/feature-base';
32
+ import { AggregateBase } from '../../utils/aggregate-base';
33
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/jserrors/aggregate/index.js"],"names":[],"mappings":"AAwBA;;GAEG;AAEH;IACE,2BAAiC;IACjC,mDAmCC;IAhCC,kBAAuB;IACvB,qBAA0B;IAC1B,eAAoB;IAEpB,qBAAwB;IA8B1B;;;MAoBC;IAfG,iBAAuB;IAiB3B,qCAWC;IAED,8BAEC;IAED,sDAEC;IAED;;;;;;OAMG;IACH,qCAHW,SAAS,GACP,MAAM,CAgBlB;IAED,4EAsFC;IAED,2CAgCC;IAED,+CA2BC;CACF;wBAlQY,OAAO,0BAA0B,EAAE,SAAS;4BAH7B,0BAA0B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/jserrors/aggregate/index.js"],"names":[],"mappings":"AAwBA;;GAEG;AAEH;IACE,2BAAiC;IACjC,mDAmCC;IAhCC,kBAAuB;IACvB,qBAA0B;IAC1B,eAAoB;IAEpB,qBAAwB;IA8B1B;;;MAoBC;IAfG,iBAAuB;IAiB3B,qCAWC;IAED,8BAEC;IAED,sDAEC;IAED;;;;;;OAMG;IACH,qCAHW,SAAS,GACP,MAAM,CAgBlB;IAED,4EAwFC;IAED,2CAgCC;IAED,+CA2BC;CACF;wBApQY,OAAO,0BAA0B,EAAE,SAAS;8BAH3B,4BAA4B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"framework-detection.d.ts","sourceRoot":"","sources":["../../../../../src/features/metrics/aggregate/framework-detection.js"],"names":[],"mappings":"AAeA,0CAmBC"}
@@ -1,4 +1,4 @@
1
- export class Aggregate extends FeatureBase {
1
+ export class Aggregate extends AggregateBase {
2
2
  static featureName: string;
3
3
  constructor(agentIdentifier: any, aggregator: any);
4
4
  storeSupportabilityMetrics(name: any, value: any): void;
@@ -8,5 +8,5 @@ export class Aggregate extends FeatureBase {
8
8
  unload(): void;
9
9
  resourcesSent: boolean | undefined;
10
10
  }
11
- import { FeatureBase } from '../../utils/feature-base';
11
+ import { AggregateBase } from '../../utils/aggregate-base';
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/metrics/aggregate/index.js"],"names":[],"mappings":"AAeA;IACE,2BAAiC;IACjC,mDAsBC;IAED,wDAKC;IAED,iDAKC;IAED,qBA2BC;IAED,0BAQC;IAED,eAoDC;IA5CG,mCAAyB;CA6C9B;4BAvI2B,0BAA0B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/metrics/aggregate/index.js"],"names":[],"mappings":"AAgBA;IACE,2BAAiC;IACjC,mDAsBC;IAED,wDAKC;IAED,iDAKC;IAED,qBA+BC;IAED,0BAQC;IAED,eAoDC;IA5CG,mCAAyB;CA6C9B;8BA3I6B,4BAA4B"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Checks for native globals to see if they have been polyfilled by customer code.
3
+ * @returns {string[]} Array of methods that were detected to have been polyfilled
4
+ */
5
+ export function getPolyfills(): string[];
6
+ //# sourceMappingURL=polyfill-detection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"polyfill-detection.d.ts","sourceRoot":"","sources":["../../../../../src/features/metrics/aggregate/polyfill-detection.js"],"names":[],"mappings":"AAmBA;;;GAGG;AACH,gCAFa,MAAM,EAAE,CA0BpB"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file is used as a replacement for the polyfill-detection.es5.js
3
+ * file when running the polyfills webpack build.
4
+ * @returns {string[]} an empty array
5
+ */
6
+ export function getPolyfills(): string[];
7
+ //# sourceMappingURL=polyfill-detection.es5.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"polyfill-detection.es5.d.ts","sourceRoot":"","sources":["../../../../../src/features/metrics/aggregate/polyfill-detection.es5.js"],"names":[],"mappings":"AACA;;;;GAIG;AACH,gCAFa,MAAM,EAAE,CAIpB"}
@@ -1,4 +1,4 @@
1
- export class Aggregate extends FeatureBase {
1
+ export class Aggregate extends AggregateBase {
2
2
  static featureName: string;
3
3
  constructor(agentIdentifier: any, aggregator: any);
4
4
  eventsPerMinute: number;
@@ -20,5 +20,5 @@ export class Aggregate extends FeatureBase {
20
20
  onHarvestFinished(result: any): void;
21
21
  addPageAction(t: any, name: any, attributes: any): void;
22
22
  }
23
- import { FeatureBase } from '../../utils/feature-base';
23
+ import { AggregateBase } from '../../utils/aggregate-base';
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_action/aggregate/index.js"],"names":[],"mappings":"AAgBA;IACE,2BAAiC;IACjC,mDA2BC;IAzBC,wBAA0B;IAC1B,wBAAsL;IACtL,yBAA2E;IAI3E,cAAgB;IAEhB,SAAqD;IAEZ,gCAA8C;IAiBzF;;;;;;;;MAkBC;IALG,wCAAgC;IAOpC,qCAKC;IAGD,wDAoCC;CACF;4BAlG2B,0BAA0B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_action/aggregate/index.js"],"names":[],"mappings":"AAgBA;IACE,2BAAiC;IACjC,mDA2BC;IAzBC,wBAA0B;IAC1B,wBAAsL;IACtL,yBAA2E;IAI3E,cAAgB;IAEhB,SAAqD;IAEZ,gCAA8C;IAiBzF;;;;;;;;MAkBC;IALG,wCAAgC;IAOpC,qCAKC;IAGD,wDAoCC;CACF;8BAlG6B,4BAA4B"}
@@ -1,9 +1,9 @@
1
- export class Aggregate extends FeatureBase {
1
+ export class Aggregate extends AggregateBase {
2
2
  static featureName: string;
3
3
  constructor(agentIdentifier: any, aggregator: any);
4
4
  alreadySent: boolean | undefined;
5
5
  getScheme(): "http" | "https";
6
6
  sendRum(): void;
7
7
  }
8
- import { FeatureBase } from '../../utils/feature-base';
8
+ import { AggregateBase } from '../../utils/aggregate-base';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_view_event/aggregate/index.js"],"names":[],"mappings":"AAoBA;IACE,2BAA2C;IAC3C,mDA2BC;IAvBG,iCAAwB;IAyB5B,8BAEC;IAED,gBAyFC;CACF;4BAjI2B,0BAA0B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_view_event/aggregate/index.js"],"names":[],"mappings":"AAoBA;IACE,2BAA2C;IAC3C,mDA2BC;IAvBG,iCAAwB;IAyB5B,8BAEC;IAED,gBAyFC;CACF;8BAjI6B,4BAA4B"}
@@ -1,4 +1,4 @@
1
- export class Aggregate extends FeatureBase {
1
+ export class Aggregate extends AggregateBase {
2
2
  static featureName: string;
3
3
  constructor(agentIdentifier: any, aggregator: any);
4
4
  timings: any[];
@@ -27,6 +27,6 @@ export class Aggregate extends FeatureBase {
27
27
  } | undefined;
28
28
  getPayload(data: any): string;
29
29
  }
30
- import { FeatureBase } from '../../utils/feature-base';
30
+ import { AggregateBase } from '../../utils/aggregate-base';
31
31
  import { HarvestScheduler } from '../../../common/harvest/harvest-scheduler';
32
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_view_timing/aggregate/index.js"],"names":[],"mappings":"AAqBA;IACE,2BAAiC;IACjC,mDA4GC;IAzGC,eAAiB;IACjB,mBAAqB;IACrB,4BAA+B;IAC/B,mBAAe;IAKf,sBAA4B;IAkF5B,4BAGQ;IAeV,8CAUC;IAED;;;OAGG;IACH,6BAFW,MAAM,QAOhB;IAED;;OAEG;IACH,uCAUC;IAED,mDAqBC;IAED,qCAOC;IAED,gDAWC;IAGD;;;;kBAWC;IAGD,8BAuBC;CACF;4BA7O2B,0BAA0B;iCARrB,2CAA2C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_view_timing/aggregate/index.js"],"names":[],"mappings":"AAqBA;IACE,2BAAiC;IACjC,mDA4GC;IAzGC,eAAiB;IACjB,mBAAqB;IACrB,4BAA+B;IAC/B,mBAAe;IAKf,sBAA4B;IAkF5B,4BAGQ;IAeV,8CAUC;IAED;;;OAGG;IACH,6BAFW,MAAM,QAOhB;IAED;;OAEG;IACH,uCAUC;IAED,mDAqBC;IAED,qCAOC;IAED,gDAWC;IAGD;;;;kBAWC;IAGD,8BAuBC;CACF;8BA7O6B,4BAA4B;iCARzB,2CAA2C"}
@@ -0,0 +1,96 @@
1
+ export const RRWEB_VERSION: "2.0.0-alpha.8";
2
+ export class Aggregate extends AggregateBase {
3
+ static featureName: string;
4
+ constructor(agentIdentifier: any, aggregator: any);
5
+ /** Each page mutation or event will be stored (raw) in this array. This array will be cleared on each harvest */
6
+ events: any[];
7
+ /** The interval to harvest at. This gets overridden if the size of the payload exceeds certain thresholds */
8
+ harvestTimeSeconds: any;
9
+ /** Set once the recorder has fully initialized after flag checks and sampling */
10
+ initialized: boolean;
11
+ /** Set once an error has been detected on the page. */
12
+ errorNoticed: boolean;
13
+ /** The "mode" to record in. Defaults to "OFF" until flags and sampling are checked. See "MODE" constant. */
14
+ mode: number;
15
+ /** Payload metadata -- Should indicate that the payload being sent is the first of a session */
16
+ isFirstChunk: boolean;
17
+ /** Payload metadata -- Should indicate that the payload being sent has a full DOM snapshot. This can happen
18
+ * -- When the recording library begins recording, it starts by taking a DOM snapshot
19
+ * -- When visibility changes from "hidden" -> "visible", it must capture a full snapshot for the replay to work correctly across tabs
20
+ */
21
+ hasSnapshot: boolean;
22
+ /** Payload metadata -- Should indicate that the payload being sent contains an error. Used for query/filter purposes in UI */
23
+ hasError: boolean;
24
+ /** A value which increments with every new mutation node reported. Resets after a harvest is sent */
25
+ payloadBytesEstimation: number;
26
+ /** The method to stop recording. This defaults to a noop, but is overwritten once the recording library is imported and initialized */
27
+ stopRecording: () => void;
28
+ scheduler: HarvestScheduler;
29
+ /**
30
+ * Evaluate entitlements and sampling before starting feature mechanics, importing and configuring recording library, and setting storage state
31
+ * @param {boolean} entitlements - the true/false state of the "sr" flag from RUM response
32
+ * @param {boolean} errorSample - the true/false state of the error sampling decision
33
+ * @param {boolean} fullSample - the true/false state of the full sampling decision
34
+ * @returns {void}
35
+ */
36
+ initializeRecording(entitlements: boolean, errorSample: boolean, fullSample: boolean): void;
37
+ prepareHarvest(options: any): {
38
+ qs: {
39
+ protocol_version: string;
40
+ };
41
+ body: {
42
+ type: string;
43
+ appId: number;
44
+ timestamp: number;
45
+ blob: string;
46
+ attributes: {
47
+ session: any;
48
+ hasSnapshot: boolean;
49
+ hasError: boolean;
50
+ agentVersion: any;
51
+ isFirstChunk: boolean;
52
+ 'nr.rrweb.version': string;
53
+ };
54
+ };
55
+ }[] | undefined;
56
+ getHarvestContents(): {
57
+ qs: {
58
+ protocol_version: string;
59
+ };
60
+ body: {
61
+ type: string;
62
+ appId: number;
63
+ timestamp: number;
64
+ blob: string;
65
+ attributes: {
66
+ session: any;
67
+ hasSnapshot: boolean;
68
+ hasError: boolean;
69
+ agentVersion: any;
70
+ isFirstChunk: boolean;
71
+ 'nr.rrweb.version': string;
72
+ };
73
+ };
74
+ };
75
+ onHarvestFinished(result: any): void;
76
+ /** Clears the buffer (this.events), and resets all payload metadata properties */
77
+ clearBuffer(): void;
78
+ /** Begin recording using configured recording lib */
79
+ startRecording(): void;
80
+ /** Store a payload in the buffer (this.events). This should be the callback to the recording lib noticing a mutation */
81
+ store(event: any, isCheckout: any): void;
82
+ /** force the recording lib to take a full DOM snapshot. This needs to occur in certain cases, like visibility changes */
83
+ takeFullSnapshot(): void;
84
+ /** Estimate the payload size */
85
+ getPayloadSize(newBytes?: number): number;
86
+ /** Abort the feature, once aborted it will not resume */
87
+ abort(): void;
88
+ /** Extensive research has yielded about an 88% compression factor on these payloads.
89
+ * This is an estimation using that factor as to not cause performance issues while evaluating
90
+ * https://staging.onenr.io/037jbJWxbjy
91
+ * */
92
+ estimateCompression(data: any): number;
93
+ }
94
+ import { AggregateBase } from '../../utils/aggregate-base';
95
+ import { HarvestScheduler } from '../../../common/harvest/harvest-scheduler';
96
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_replay/aggregate/index.js"],"names":[],"mappings":"AAsBA,4CAA4C;AAiB5C;IACE,2BAAiC;IACjC,mDAuFC;IApFC,iHAAiH;IACjH,cAAgB;IAChB,8GAA8G;IAC9G,wBAAgH;IAChH,iFAAiF;IACjF,qBAAwB;IACxB,uDAAuD;IACvD,sBAAyB;IACzB,6GAA6G;IAC7G,aAAoB;IAIpB,gGAAgG;IAChG,sBAAyB;IACzB;;;MAGE;IACF,qBAAwB;IACxB,+HAA+H;IAC/H,kBAAqB;IAErB,qGAAqG;IACrG,+BAA+B;IAE/B,uIAAuI;IACvI,0BAAyE;IAiBzE,4BASQ;IAiCV;;;;;;OAMG;IACH,kCALW,OAAO,eACP,OAAO,cACP,OAAO,GACL,IAAI,CAyChB;IAED;;;;;;;;;;;;;;;;;;oBAaC;IAED;;;;;;;;;;;;;;;;;;MAoBC;IAED,qCAOC;IAED,kFAAkF;IAClF,oBAMC;IAED,qDAAqD;IACrD,uBAoBC;IAED,yHAAyH;IACzH,yCA0BC;IAED,0HAA0H;IAC1H,yBAIC;IAED,gCAAgC;IAChC,0CAGC;IAED,yDAAyD;IACzD,cAKC;IAED;;;SAGK;IACL,uCAEC;CACF;8BAtS6B,4BAA4B;iCALzB,2CAA2C"}
@@ -0,0 +1,2 @@
1
+ export const FEATURE_NAME: string;
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/features/session_replay/constants.js"],"names":[],"mappings":"AAEA,kCAAuD"}
@@ -0,0 +1,2 @@
1
+ export { Instrument as SessionReplay } from "./instrument/index";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/session_replay/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export class Instrument extends InstrumentBase {
2
+ static featureName: string;
3
+ constructor(agentIdentifier: any, aggregator: any, auto?: boolean);
4
+ }
5
+ import { InstrumentBase } from '../../utils/instrument-base';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_replay/instrument/index.js"],"names":[],"mappings":"AAcA;IACE,2BAAiC;IACjC,mEAIC;CACF;+BAV8B,6BAA6B"}
@@ -1,51 +1,8 @@
1
- export class Aggregate extends FeatureBase {
1
+ export class Aggregate extends AggregateBase {
2
2
  static featureName: string;
3
- constructor(agentIdentifier: any, aggregator: any);
3
+ constructor(agentIdentifier: any, aggregator: any, argsObj: any);
4
+ resourceObserver: any;
4
5
  ptid: string | undefined;
5
- ignoredEvents: {
6
- global: {
7
- mouseup: boolean;
8
- mousedown: boolean;
9
- };
10
- window: {
11
- load: boolean;
12
- pagehide: boolean;
13
- };
14
- xhrOriginMissing: {
15
- ignoreAll: boolean;
16
- };
17
- } | undefined;
18
- toAggregate: {
19
- typing: number[];
20
- scrolling: number[];
21
- mousing: number[];
22
- touching: number[];
23
- } | undefined;
24
- rename: {
25
- typing: {
26
- keydown: boolean;
27
- keyup: boolean;
28
- keypress: boolean;
29
- };
30
- mousing: {
31
- mousemove: boolean;
32
- mouseenter: boolean;
33
- mouseleave: boolean;
34
- mouseover: boolean;
35
- mouseout: boolean;
36
- };
37
- scrolling: {
38
- scroll: boolean;
39
- };
40
- touching: {
41
- touchstart: boolean;
42
- touchmove: boolean;
43
- touchend: boolean;
44
- touchcancel: boolean;
45
- touchenter: boolean;
46
- touchleave: boolean;
47
- };
48
- } | undefined;
49
6
  trace: {} | undefined;
50
7
  nodeCount: number | undefined;
51
8
  sentTrace: {} | null | undefined;
@@ -53,9 +10,10 @@ export class Aggregate extends FeatureBase {
53
10
  maxNodesPerHarvest: any;
54
11
  laststart: number | undefined;
55
12
  processPVT(name: any, value: any, attrs: any): void;
56
- storeTiming(_t: any): void;
13
+ storeTiming(timingEntry: any): void;
57
14
  storeTimer(target: any, start: any, end: any, type: any): void;
58
- storeEvent(currentEvent: any, target: any, start: any, end: any): false | undefined;
15
+ storeEvent(currentEvent: any, target: any, start: any, end: any): void;
16
+ shouldIgnoreEvent(event: any, target: any): boolean;
59
17
  evtName(type: any): any;
60
18
  evtOrigin(t: any, target: any): string;
61
19
  storeHist(path: any, old: any, time: any): void;
@@ -63,15 +21,8 @@ export class Aggregate extends FeatureBase {
63
21
  storeErrorAgg(type: any, name: any, params: any, metrics: any): void;
64
22
  storeXhrAgg(type: any, name: any, params: any, metrics: any): void;
65
23
  storeSTN(stn: any): void;
66
- mergeSTNs(key: any, nodes: any): void;
67
24
  takeSTNs(retry: any): {};
68
- byStart(a: any, b: any): number;
69
- smearEvtsByOrigin(name: any): (byOrigin: any, evt: any) => any;
70
- val(key: any, value: any): any;
71
- flatten(a: any, b: any): any;
72
- hasFID(name: any, attrs: any): boolean;
73
- trivial(node: any): boolean;
74
- shouldIgnoreEvent(event: any, target: any): boolean;
25
+ smearEvtsByOrigin(name: any): (byOrigin: any, evtNode: any) => any;
75
26
  }
76
- import { FeatureBase } from '../../utils/feature-base';
27
+ import { AggregateBase } from '../../utils/aggregate-base';
77
28
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_trace/aggregate/index.js"],"names":[],"mappings":"AAiBA;IACE,2BAAiC;IACjC,mDAoHC;IA7GC,yBAAc;IACd;;;;;;;;;;;;kBAOC;IACD;;;;;kBAKC;IACD;;;;;;;;;;;;;;;;;;;;;;;;kBAwBC;IAED,sBAAe;IACf,8BAAkB;IAClB,iCAAqB;IACrB,wBAA0G;IAC1G,wBAA4G;IAE5G,8BAAkB;IAgEpB,oDAKC;IAED,2BAuBC;IAED,+DAaC;IAED,oFAmBC;IAED,wBAQC;IAED,uCAqBC;IAED,gDAUC;IAED,qCAoBC;IAED,qEAUC;IAED,mEAUC;IAED,yBASC;IAED,sCASC;IAED,yBAmCC;IAED,gCAEC;IAED,+DAyBC;IAED,+BAEC;IAED,6BAEC;IAED,uCAEC;IAED,4BAIC;IAED,oDAMC;CACF;4BA5Y2B,0BAA0B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_trace/aggregate/index.js"],"names":[],"mappings":"AA+BA;IACE,2BAAiC;IACjC,iEAyEC;IAnEC,sBAAiD;IACjD,yBAAc;IACd,sBAAe;IACf,8BAAkB;IAClB,iCAAqB;IACrB,wBAA0G;IAC1G,wBAA4G;IAC5G,8BAAkB;IA+DpB,oDAOC;IAGD,oCAwBC;IAGD,+DASC;IAGD,uEAkBC;IAED,oDAMC;IAED,wBAwBC;IAED,uCAuBC;IAGD,gDASC;IAGD,qCAkBC;IAGD,qEAUC;IAGD,mEAUC;IAGD,yBAOC;IAGD,yBAgCC;IAED,mEA8BC;CACF;8BAvW6B,4BAA4B"}
@@ -1,5 +1,4 @@
1
1
  export const FEATURE_NAME: string;
2
- export const RESOURCE_TIMING_BUFFER_FULL: "resourcetimingbufferfull";
3
2
  export const BST_RESOURCE: "bstResource";
4
3
  export const RESOURCE: "resource";
5
4
  export const START: "-start";
@@ -8,6 +7,4 @@ export const FN_START: string;
8
7
  export const FN_END: string;
9
8
  export const BST_TIMER: "bstTimer";
10
9
  export const PUSH_STATE: "pushState";
11
- export const ORIG_EVENT: any;
12
- export const ADD_EVENT_LISTENER: "addEventListener";
13
10
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/features/session_trace/constants.js"],"names":[],"mappings":"AAGA,kCAAsD;AACtD,qEAAqE;AACrE,yCAAyC;AACzC,kCAAkC;AAClC,6BAA6B;AAC7B,yBAAyB;AACzB,8BAAoC;AACpC,4BAAgC;AAChC,mCAAmC;AACnC,qCAAqC;AACrC,6BAAsC;AACtC,oDAAoD"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/features/session_trace/constants.js"],"names":[],"mappings":"AAEA,kCAAsD;AACtD,yCAAyC;AACzC,kCAAkC;AAClC,6BAA6B;AAC7B,yBAAyB;AACzB,8BAAoC;AACpC,4BAAgC;AAChC,mCAAmC;AACnC,qCAAqC"}
@@ -3,9 +3,7 @@ export class Instrument extends InstrumentBase {
3
3
  constructor(agentIdentifier: any, aggregator: any, auto?: boolean);
4
4
  timerEE: Object | undefined;
5
5
  rafEE: Object | undefined;
6
- noOp(e: any): void;
7
- onResourceTimingBufferFull(evt: any): void;
8
- #private;
6
+ eventsEE: Object | undefined;
9
7
  }
10
8
  import { InstrumentBase } from '../../utils/instrument-base';
11
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_trace/instrument/index.js"],"names":[],"mappings":"AAoBA;IACE,2BAAiC;IACjC,mEAmFC;IA9EC,4BAA0C;IAC1C,0BAAsC;IAsFxC,mBAAwB;IAExB,2CASC;;CACF;+BArH8B,6BAA6B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_trace/instrument/index.js"],"names":[],"mappings":"AAgBA;IACE,2BAAiC;IACjC,mEAuDC;IAlDC,4BAA0C;IAC1C,0BAAsC;IAEtC,6BAA4C;CAgD/C;+BAnE8B,6BAA6B"}
@@ -1,4 +1,4 @@
1
- export class Aggregate extends FeatureBase {
1
+ export class Aggregate extends AggregateBase {
2
2
  static featureName: string;
3
3
  constructor(agentIdentifier: any, aggregator: any);
4
4
  state: {
@@ -20,6 +20,6 @@ export class Aggregate extends FeatureBase {
20
20
  };
21
21
  serializer: Serializer;
22
22
  }
23
- import { FeatureBase } from '../../utils/feature-base';
23
+ import { AggregateBase } from '../../utils/aggregate-base';
24
24
  import { Serializer } from './serializer';
25
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/spa/aggregate/index.js"],"names":[],"mappings":"AA2BA;IACE,2BAAiC;IACjC,mDAmsBC;IAhsBC;;;;;;;;;;;;;;;;MAgBC;IAED,uBAAsC;CA+qBzC;4BA5sB2B,0BAA0B;2BAL3B,cAAc"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/spa/aggregate/index.js"],"names":[],"mappings":"AA2BA;IACE,2BAAiC;IACjC,mDAmsBC;IAhsBC;;;;;;;;;;;;;;;;MAgBC;IAED,uBAAsC;CA+qBzC;8BA5sB6B,4BAA4B;2BAL/B,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"agent-session.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/agent-session.js"],"names":[],"mappings":"AAWA,6DAwDC"}
1
+ {"version":3,"file":"agent-session.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/agent-session.js"],"names":[],"mappings":"AAUA,6DAwDC"}
@@ -0,0 +1,11 @@
1
+ export class AggregateBase extends FeatureBase {
2
+ constructor(...args: any[]);
3
+ waitForFlags(flagNames?: any[]): Promise<any[]>;
4
+ /**
5
+ * Checks for additional `jsAttributes` items to support backward compatibility with implementations of the agent where
6
+ * loader configurations may appear after the loader code is executed.
7
+ */
8
+ checkConfiguration(): void;
9
+ }
10
+ import { FeatureBase } from './feature-base';
11
+ //# sourceMappingURL=aggregate-base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregate-base.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/aggregate-base.js"],"names":[],"mappings":"AAMA;IACE,4BAGC;IAED,gDAUC;IAED;;;OAGG;IACH,2BAqBC;CACF;4BAjD2B,gBAAgB"}
@@ -14,10 +14,5 @@ export class FeatureBase {
14
14
  * @type {boolean}
15
15
  */
16
16
  blocked: boolean;
17
- /**
18
- * Checks for additional `jsAttributes` items to support backward compatibility with implementations of the agent where
19
- * loader configurations may appear after the loader code is executed.
20
- */
21
- checkConfiguration(): void;
22
17
  }
23
18
  //# sourceMappingURL=feature-base.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-base.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/feature-base.js"],"names":[],"mappings":"AAKA;IACE,qEAiBC;IAhBC,qBAAqB;IACrB,iBADW,MAAM,CACqB;IACtC,yBAAyB;IACzB,uBAA4B;IAC5B,2BAA2B;IAC3B,iBAAmF;IACnF,qBAAqB;IACrB,aADW,MAAM,CACa;IAC9B;;;;OAIG;IACH,SAFU,OAAO,CAEG;IAKtB;;;OAGG;IACH,2BAoBC;CACF"}
1
+ {"version":3,"file":"feature-base.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/feature-base.js"],"names":[],"mappings":"AAGA;IACE,qEAeC;IAdC,qBAAqB;IACrB,iBADW,MAAM,CACqB;IACtC,yBAAyB;IACzB,uBAA4B;IAC5B,2BAA2B;IAC3B,iBAAmF;IACnF,qBAAqB;IACrB,aADW,MAAM,CACa;IAC9B;;;;OAIG;IACH,SAFU,OAAO,CAEG;CAEvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"handler-cache.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/handler-cache.js"],"names":[],"mappings":"AACA;;GAEG;AACH;IA+BE;;;;SAIK;IACL,2BAFe,IAAI,CAMlB;IAED;;;;;;;SAOK;IACL,iBAFa,OAAO,QAMnB;;CACF"}
1
+ {"version":3,"file":"handler-cache.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/handler-cache.js"],"names":[],"mappings":"AACA;;GAEG;AACH;IA6BE;;;;SAIK;IACL,2BAFe,IAAI,CAMlB;IAED;;;;;;;SAOK;IACL,iBAFa,OAAO,QAOnB;;CACF"}
@@ -20,8 +20,10 @@ export class InstrumentBase extends FeatureBase {
20
20
  /**
21
21
  * Lazy-load the latter part of the feature: its aggregator. This method is called by the first part of the feature
22
22
  * (the instrumentation) when instrumentation is complete.
23
+ * @param {Object} [argsObjFromInstrument] - any values or references to pass down to aggregate
24
+ * @returns void
23
25
  */
24
- importAggregator(): void;
26
+ importAggregator(argsObjFromInstrument?: Object | undefined): void;
25
27
  }
26
28
  import { FeatureBase } from './feature-base';
27
29
  //# sourceMappingURL=instrument-base.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"instrument-base.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/instrument-base.js"],"names":[],"mappings":"AAYA;;;GAGG;AACH;IACE;;;;;;;;OAQG;IACH,6BAPW,MAAM,uCAEN,MAAM,8BAchB;IAPC,uBAA0B;IAC1B,cAAgB;IAEhB,8IAA8I;IAC9I,cADW,WAAW,SAAS,CACd;IAKnB;;;OAGG;IACH,yBA4BC;CACF;4BA/D2B,gBAAgB"}
1
+ {"version":3,"file":"instrument-base.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/instrument-base.js"],"names":[],"mappings":"AAcA;;;GAGG;AACH;IACE;;;;;;;;OAQG;IACH,6BAPW,MAAM,uCAEN,MAAM,8BAchB;IAPC,uBAA0B;IAC1B,cAAgB;IAEhB,8IAA8I;IAC9I,cADW,WAAW,SAAS,CACd;IAKnB;;;;;OAKG;IACH,mEAyCC;CACF;4BAhF2B,gBAAgB"}
@@ -9,5 +9,5 @@
9
9
  * @param featurePart Name of the feature part to load; should be either instrument or aggregate
10
10
  * @returns {Promise<InstrumentBase|FeatureBase|null>}
11
11
  */
12
- export function lazyLoader(featureName: any, featurePart: any): Promise<InstrumentBase | FeatureBase | null>;
13
- //# sourceMappingURL=lazy-loader.d.ts.map
12
+ export function lazyFeatureLoader(featureName: any, featurePart: any): Promise<InstrumentBase | FeatureBase | null>;
13
+ //# sourceMappingURL=lazy-feature-loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lazy-feature-loader.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/lazy-feature-loader.js"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,uEAFa,QAAQ,+BAA2B,IAAI,CAAC,CA2BpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../../../../src/loaders/configure/configure.js"],"names":[],"mappings":"AAMA;;;;;;;;EA2BC"}
1
+ {"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../../../../src/loaders/configure/configure.js"],"names":[],"mappings":"AAMA;;;;;;;;EA4BC"}
@@ -1,3 +1,2 @@
1
1
  export function getFeatureDependencyNames(feature: any): string[];
2
- export function getFrozenAttributes(feature: any): string[];
3
2
  //# sourceMappingURL=featureDependencies.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"featureDependencies.d.ts","sourceRoot":"","sources":["../../../../src/loaders/features/featureDependencies.js"],"names":[],"mappings":"AAEA,kEAWC;AAED,4DAUC"}
1
+ {"version":3,"file":"featureDependencies.d.ts","sourceRoot":"","sources":["../../../../src/loaders/features/featureDependencies.js"],"names":[],"mappings":"AAEA,kEAWC"}
@@ -5,6 +5,7 @@ export namespace FEATURE_NAMES {
5
5
  const pageAction: string;
6
6
  const pageViewEvent: string;
7
7
  const pageViewTiming: string;
8
+ const sessionReplay: string;
8
9
  const sessionTrace: string;
9
10
  const spa: string;
10
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../../src/loaders/features/features.js"],"names":[],"mappings":";;;;;;;;;;AAWA;;;GAGG;AACH;;EASC"}
1
+ {"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../../src/loaders/features/features.js"],"names":[],"mappings":";;;;;;;;;;;AAYA;;;GAGG;AACH;;EAUC"}