@newrelic/browser-agent 1.260.0 → 1.261.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 (167) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/cjs/cdn/experimental.js +2 -1
  3. package/dist/cjs/cdn/polyfills/pro.js +2 -1
  4. package/dist/cjs/cdn/polyfills/spa.js +2 -1
  5. package/dist/cjs/cdn/pro.js +2 -1
  6. package/dist/cjs/cdn/spa.js +2 -1
  7. package/dist/cjs/common/config/state/init.js +31 -24
  8. package/dist/cjs/common/constants/env.cdn.js +1 -1
  9. package/dist/cjs/common/constants/env.js +1 -1
  10. package/dist/cjs/common/constants/env.npm.js +1 -1
  11. package/dist/cjs/common/constants/runtime.js +2 -1
  12. package/dist/cjs/common/deny-list/deny-list.js +1 -1
  13. package/dist/cjs/common/harvest/harvest-scheduler.js +1 -1
  14. package/dist/cjs/common/harvest/harvest.js +1 -1
  15. package/dist/cjs/common/session/session-entity.js +7 -1
  16. package/dist/cjs/common/timing/time-keeper.js +2 -2
  17. package/dist/cjs/common/wrap/wrap-logger.js +54 -0
  18. package/dist/cjs/features/ajax/aggregate/index.js +1 -1
  19. package/dist/cjs/features/logging/aggregate/index.js +102 -0
  20. package/dist/cjs/features/logging/constants.js +20 -0
  21. package/dist/cjs/features/logging/index.js +12 -0
  22. package/dist/cjs/features/logging/instrument/index.js +28 -0
  23. package/dist/cjs/features/logging/shared/log.js +39 -0
  24. package/dist/cjs/features/logging/shared/utils.js +50 -0
  25. package/dist/cjs/features/page_view_event/aggregate/index.js +1 -1
  26. package/dist/cjs/features/page_view_event/instrument/index.js +1 -1
  27. package/dist/cjs/features/page_view_timing/aggregate/index.js +1 -2
  28. package/dist/cjs/features/session_replay/aggregate/index.js +4 -3
  29. package/dist/cjs/features/session_replay/instrument/index.js +1 -1
  30. package/dist/cjs/features/session_trace/aggregate/index.js +16 -8
  31. package/dist/cjs/features/session_trace/aggregate/trace/storage.js +1 -1
  32. package/dist/cjs/features/session_trace/instrument/index.js +1 -1
  33. package/dist/cjs/features/soft_navigations/aggregate/bel-node.js +1 -2
  34. package/dist/cjs/features/soft_navigations/aggregate/index.js +1 -1
  35. package/dist/cjs/features/soft_navigations/aggregate/interaction.js +5 -4
  36. package/dist/cjs/features/spa/aggregate/index.js +2 -2
  37. package/dist/cjs/features/spa/instrument/index.js +1 -1
  38. package/dist/cjs/features/utils/instrument-base.js +1 -1
  39. package/dist/cjs/features/utils/lazy-feature-loader.js +3 -1
  40. package/dist/cjs/loaders/agent-base.js +23 -2
  41. package/dist/cjs/loaders/api/api-methods.js +1 -1
  42. package/dist/cjs/loaders/api/api.js +29 -2
  43. package/dist/cjs/loaders/features/features.js +7 -5
  44. package/dist/cjs/loaders/micro-agent.js +1 -1
  45. package/dist/esm/cdn/experimental.js +2 -1
  46. package/dist/esm/cdn/polyfills/pro.js +2 -1
  47. package/dist/esm/cdn/polyfills/spa.js +2 -1
  48. package/dist/esm/cdn/pro.js +2 -1
  49. package/dist/esm/cdn/spa.js +2 -1
  50. package/dist/esm/common/config/state/init.js +30 -23
  51. package/dist/esm/common/constants/env.cdn.js +1 -1
  52. package/dist/esm/common/constants/env.npm.js +1 -1
  53. package/dist/esm/common/constants/runtime.js +3 -1
  54. package/dist/esm/common/deny-list/deny-list.js +1 -1
  55. package/dist/esm/common/session/session-entity.js +8 -2
  56. package/dist/esm/common/timing/time-keeper.js +2 -2
  57. package/dist/esm/common/wrap/wrap-logger.js +48 -0
  58. package/dist/esm/features/logging/aggregate/index.js +95 -0
  59. package/dist/esm/features/logging/constants.js +14 -0
  60. package/dist/esm/features/logging/index.js +1 -0
  61. package/dist/esm/features/logging/instrument/index.js +21 -0
  62. package/dist/esm/features/logging/shared/log.js +32 -0
  63. package/dist/esm/features/logging/shared/utils.js +44 -0
  64. package/dist/esm/features/page_view_timing/aggregate/index.js +1 -2
  65. package/dist/esm/features/session_replay/aggregate/index.js +3 -2
  66. package/dist/esm/features/session_trace/aggregate/index.js +16 -8
  67. package/dist/esm/features/session_trace/aggregate/trace/storage.js +1 -1
  68. package/dist/esm/features/soft_navigations/aggregate/bel-node.js +1 -2
  69. package/dist/esm/features/soft_navigations/aggregate/index.js +1 -1
  70. package/dist/esm/features/soft_navigations/aggregate/interaction.js +5 -4
  71. package/dist/esm/features/spa/aggregate/index.js +1 -1
  72. package/dist/esm/features/utils/lazy-feature-loader.js +2 -0
  73. package/dist/esm/loaders/agent-base.js +23 -2
  74. package/dist/esm/loaders/api/api-methods.js +1 -1
  75. package/dist/esm/loaders/api/api.js +28 -1
  76. package/dist/esm/loaders/features/features.js +7 -5
  77. package/dist/types/common/config/state/init.d.ts.map +1 -1
  78. package/dist/types/common/constants/runtime.d.ts +0 -6
  79. package/dist/types/common/constants/runtime.d.ts.map +1 -1
  80. package/dist/types/common/drain/drain.d.ts.map +1 -1
  81. package/dist/types/common/harvest/harvest-scheduler.d.ts.map +1 -1
  82. package/dist/types/common/harvest/harvest.d.ts +5 -5
  83. package/dist/types/common/harvest/types.d.ts +2 -2
  84. package/dist/types/common/harvest/types.d.ts.map +1 -1
  85. package/dist/types/common/ids/id.d.ts.map +1 -1
  86. package/dist/types/common/ids/unique-id.d.ts.map +1 -1
  87. package/dist/types/common/session/session-entity.d.ts.map +1 -1
  88. package/dist/types/common/util/console.d.ts.map +1 -1
  89. package/dist/types/common/util/data-size.d.ts.map +1 -1
  90. package/dist/types/common/util/feature-flags.d.ts.map +1 -1
  91. package/dist/types/common/util/get-or-set.d.ts.map +1 -1
  92. package/dist/types/common/util/invoke.d.ts.map +1 -1
  93. package/dist/types/common/util/stringify.d.ts.map +1 -1
  94. package/dist/types/common/util/submit-data.d.ts.map +1 -1
  95. package/dist/types/common/util/type-check.d.ts.map +1 -1
  96. package/dist/types/common/wrap/wrap-logger.d.ts +17 -0
  97. package/dist/types/common/wrap/wrap-logger.d.ts.map +1 -0
  98. package/dist/types/features/jserrors/aggregate/compute-stack-trace.d.ts.map +1 -1
  99. package/dist/types/features/jserrors/aggregate/index.d.ts +1 -1
  100. package/dist/types/features/logging/aggregate/index.d.ts +40 -0
  101. package/dist/types/features/logging/aggregate/index.d.ts.map +1 -0
  102. package/dist/types/features/logging/constants.d.ts +14 -0
  103. package/dist/types/features/logging/constants.d.ts.map +1 -0
  104. package/dist/types/features/logging/index.d.ts +2 -0
  105. package/dist/types/features/logging/index.d.ts.map +1 -0
  106. package/dist/types/features/logging/instrument/index.d.ts +6 -0
  107. package/dist/types/features/logging/instrument/index.d.ts.map +1 -0
  108. package/dist/types/features/logging/shared/log.d.ts +18 -0
  109. package/dist/types/features/logging/shared/log.d.ts.map +1 -0
  110. package/dist/types/features/logging/shared/utils.d.ts +16 -0
  111. package/dist/types/features/logging/shared/utils.d.ts.map +1 -0
  112. package/dist/types/features/page_view_timing/aggregate/index.d.ts.map +1 -1
  113. package/dist/types/features/session_replay/aggregate/index.d.ts +1 -1
  114. package/dist/types/features/session_replay/aggregate/index.d.ts.map +1 -1
  115. package/dist/types/features/session_replay/shared/recorder.d.ts.map +1 -1
  116. package/dist/types/features/session_trace/aggregate/index.d.ts +9 -6
  117. package/dist/types/features/session_trace/aggregate/index.d.ts.map +1 -1
  118. package/dist/types/features/session_trace/aggregate/trace/storage.d.ts.map +1 -1
  119. package/dist/types/features/soft_navigations/aggregate/ajax-node.d.ts +0 -1
  120. package/dist/types/features/soft_navigations/aggregate/ajax-node.d.ts.map +1 -1
  121. package/dist/types/features/soft_navigations/aggregate/bel-node.d.ts +1 -1
  122. package/dist/types/features/soft_navigations/aggregate/bel-node.d.ts.map +1 -1
  123. package/dist/types/features/soft_navigations/aggregate/interaction.d.ts +0 -1
  124. package/dist/types/features/soft_navigations/aggregate/interaction.d.ts.map +1 -1
  125. package/dist/types/features/utils/feature-base.d.ts +1 -1
  126. package/dist/types/features/utils/feature-base.d.ts.map +1 -1
  127. package/dist/types/features/utils/instrument-base.d.ts +2 -2
  128. package/dist/types/features/utils/lazy-feature-loader.d.ts.map +1 -1
  129. package/dist/types/loaders/agent-base.d.ts +25 -4
  130. package/dist/types/loaders/agent-base.d.ts.map +1 -1
  131. package/dist/types/loaders/api/api.d.ts +8 -0
  132. package/dist/types/loaders/api/api.d.ts.map +1 -1
  133. package/dist/types/loaders/api/interaction-types.d.ts.map +1 -1
  134. package/dist/types/loaders/features/features.d.ts +1 -0
  135. package/dist/types/loaders/features/features.d.ts.map +1 -1
  136. package/dist/types/loaders/micro-agent.d.ts.map +1 -1
  137. package/package.json +16 -28
  138. package/src/cdn/experimental.js +2 -0
  139. package/src/cdn/polyfills/pro.js +3 -1
  140. package/src/cdn/polyfills/spa.js +2 -0
  141. package/src/cdn/pro.js +3 -1
  142. package/src/cdn/spa.js +2 -0
  143. package/src/common/config/state/init.js +17 -15
  144. package/src/common/constants/runtime.js +3 -1
  145. package/src/common/deny-list/deny-list.js +1 -1
  146. package/src/common/session/session-entity.js +7 -2
  147. package/src/common/timing/time-keeper.js +2 -2
  148. package/src/common/wrap/wrap-logger.js +49 -0
  149. package/src/features/logging/aggregate/index.js +101 -0
  150. package/src/features/logging/constants.js +19 -0
  151. package/src/features/logging/index.js +1 -0
  152. package/src/features/logging/instrument/index.js +18 -0
  153. package/src/features/logging/shared/log.js +28 -0
  154. package/src/features/logging/shared/utils.js +43 -0
  155. package/src/features/page_view_timing/aggregate/index.js +1 -2
  156. package/src/features/session_replay/aggregate/index.js +3 -3
  157. package/src/features/session_trace/aggregate/index.js +15 -8
  158. package/src/features/session_trace/aggregate/trace/storage.js +1 -2
  159. package/src/features/soft_navigations/aggregate/bel-node.js +1 -3
  160. package/src/features/soft_navigations/aggregate/index.js +1 -1
  161. package/src/features/soft_navigations/aggregate/interaction.js +5 -4
  162. package/src/features/spa/aggregate/index.js +1 -1
  163. package/src/features/utils/lazy-feature-loader.js +2 -0
  164. package/src/loaders/agent-base.js +23 -2
  165. package/src/loaders/api/api-methods.js +1 -1
  166. package/src/loaders/api/api.js +19 -1
  167. package/src/loaders/features/features.js +7 -5
@@ -55,8 +55,8 @@ export class AgentBase {
55
55
  * Adds a user-defined attribute name and value to subsequent events on the page.
56
56
  * {@link https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/setcustomattribute/}
57
57
  * @param {string} name Name of the attribute. Appears as column in the PageView event. It will also appear as a column in the PageAction event if you are using it.
58
- * @param {string|number|null} value Value of the attribute. Appears as the value in the named attribute column in the PageView event. It will appear as a column in the PageAction event if you are using it. Custom attribute values cannot be complex objects, only simple types such as Strings and Integers.
59
- * @param {boolean} [persist] Default false. f set to true, the name-value pair will also be set into the browser's storage API. Then on the following instrumented pages that load within the same session, the pair will be re-applied as a custom attribute.
58
+ * @param {string|number|boolean|null} value Value of the attribute. Appears as the value in the named attribute column in the PageView event. It will appear as a column in the PageAction event if you are using it. Custom attribute values cannot be complex objects, only simple types such as Strings, Integers and Booleans. Passing a null value unsets any existing attribute of the same name.
59
+ * @param {boolean} [persist] Default false. If set to true, the name-value pair will also be set into the browser's storage API. Then on the following instrumented pages that load within the same session, the pair will be re-applied as a custom attribute.
60
60
  */
61
61
  setCustomAttribute(name, value, persist) {
62
62
  return this.#callMethod('setCustomAttribute', name, value, persist);
@@ -183,4 +183,25 @@ export class AgentBase {
183
183
  interaction() {
184
184
  return this.#callMethod('interaction');
185
185
  }
186
+
187
+ /**
188
+ * Capture a single log.
189
+ * {@link https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/loginfo/}
190
+ * @param {string} message String to be captured as log message
191
+ * @param {{customAttributes?: object, level?: 'ERROR'|'TRACE'|'DEBUG'|'INFO'|'WARN'}} [options] customAttributes defaults to `{}` if not assigned, level defaults to `info` if not assigned.
192
+ */
193
+ log(message, options) {
194
+ return this.#callMethod('logInfo', message, options);
195
+ }
196
+
197
+ /**
198
+ * Wrap a logger function to capture a log each time the function is invoked with the message and arguments passed
199
+ * {@link https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/wraplogger/}
200
+ * @param {object} parent The parent object containing the logger method
201
+ * @param {string} functionName The property name of the function in the parent object to be wrapped
202
+ * @param {{customAttributes?: object, level?: 'ERROR'|'TRACE'|'DEBUG'|'INFO'|'WARN'}} [options] customAttributes defaults to `{}` if not assigned, level defaults to `info` if not assigned.
203
+ */
204
+ wrapLogger(parent, functionName, options) {
205
+ return this.#callMethod('wrapLogger', parent, functionName, options);
206
+ }
186
207
  }
@@ -1,3 +1,3 @@
1
1
  import { SR_EVENT_EMITTER_TYPES } from '../../features/session_replay/constants';
2
- export const apiMethods = ['setErrorHandler', 'finished', 'addToTrace', 'addRelease', 'addPageAction', 'setCurrentRouteName', 'setPageViewName', 'setCustomAttribute', 'interaction', 'noticeError', 'setUserId', 'setApplicationVersion', 'start', SR_EVENT_EMITTER_TYPES.RECORD, SR_EVENT_EMITTER_TYPES.PAUSE];
2
+ export const apiMethods = ['setErrorHandler', 'finished', 'addToTrace', 'addRelease', 'addPageAction', 'setCurrentRouteName', 'setPageViewName', 'setCustomAttribute', 'interaction', 'noticeError', 'setUserId', 'setApplicationVersion', 'start', SR_EVENT_EMITTER_TYPES.RECORD, SR_EVENT_EMITTER_TYPES.PAUSE, 'log', 'wrapLogger'];
3
3
  export const asyncApiMethods = ['setErrorHandler', 'finished', 'addToTrace', 'addRelease'];
@@ -16,6 +16,9 @@ import { apiMethods, asyncApiMethods } from './api-methods';
16
16
  import { SR_EVENT_EMITTER_TYPES } from '../../features/session_replay/constants';
17
17
  import { now } from '../../common/timing/now';
18
18
  import { MODE } from '../../common/session/constants';
19
+ import { LOGGING_FAILURE_MESSAGE, LOGGING_IGNORED, LOGGING_LEVEL_FAILURE_MESSAGE, LOG_LEVELS, MAX_PAYLOAD_SIZE } from '../../features/logging/constants';
20
+ import { bufferLog, isValidLogLevel } from '../../features/logging/shared/utils';
21
+ import { wrapLogger } from '../../common/wrap/wrap-logger';
19
22
  export function setTopLevelCallers() {
20
23
  const nr = gosCDN();
21
24
  apiMethods.forEach(f => {
@@ -52,6 +55,30 @@ export function setAPI(agentIdentifier, forceDrain) {
52
55
  });
53
56
  var prefix = 'api-';
54
57
  var spaPrefix = prefix + 'ixn-';
58
+ apiInterface.log = function (message) {
59
+ let {
60
+ customAttributes = {},
61
+ level = LOG_LEVELS.INFO
62
+ } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
63
+ if (!customAttributes || typeof customAttributes !== 'object') customAttributes = {};
64
+ if (typeof message !== 'string' || !message) return warn(LOGGING_IGNORED + 'invalid message');
65
+ if (!isValidLogLevel(level)) return warn(LOGGING_LEVEL_FAILURE_MESSAGE + level, LOG_LEVELS);
66
+ if (message.length > MAX_PAYLOAD_SIZE) return warn(LOGGING_IGNORED + '> ' + MAX_PAYLOAD_SIZE + ' bytes: ', message.slice(0, 25) + '...');
67
+ bufferLog(instanceEE, message, customAttributes, level.toUpperCase());
68
+ };
69
+ apiInterface.wrapLogger = function (parent, functionName) {
70
+ let {
71
+ customAttributes = {},
72
+ level = LOG_LEVELS.INFO
73
+ } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
74
+ if (!customAttributes || typeof customAttributes !== 'object') customAttributes = {};
75
+ if (!(typeof parent === 'object' && !!parent && typeof functionName === 'string' && !!functionName && typeof parent[functionName] === 'function' && typeof customAttributes === 'object')) return warn(LOGGING_FAILURE_MESSAGE + 'invalid argument(s)');
76
+ if (!isValidLogLevel(level)) return warn(LOGGING_FAILURE_MESSAGE + LOGGING_LEVEL_FAILURE_MESSAGE + level, LOG_LEVELS);
77
+ wrapLogger(instanceEE, parent, functionName, {
78
+ customAttributes,
79
+ level: level.toUpperCase()
80
+ });
81
+ };
55
82
 
56
83
  // Setup stub functions that queue calls for later processing.
57
84
  asyncApiMethods.forEach(fnName => {
@@ -68,7 +95,7 @@ export function setAPI(agentIdentifier, forceDrain) {
68
95
  /**
69
96
  * Attach the key-value attribute onto agent payloads. All browser events in NR will be affected.
70
97
  * @param {string} key
71
- * @param {string|number|null} value - null indicates the key should be removed or erased
98
+ * @param {string|number|boolean|null} value - null indicates the key should be removed or erased
72
99
  * @param {string} apiName
73
100
  * @param {boolean} addToBrowserStorage - whether this attribute should be stored in browser storage API and retrieved by the next agent context or initialization
74
101
  * @returns @see apiCall
@@ -1,6 +1,7 @@
1
1
  export const FEATURE_NAMES = {
2
2
  ajax: 'ajax',
3
3
  jserrors: 'jserrors',
4
+ logging: 'logging',
4
5
  metrics: 'metrics',
5
6
  pageAction: 'page_action',
6
7
  pageViewEvent: 'page_view_event',
@@ -20,10 +21,11 @@ export const featurePriority = {
20
21
  [FEATURE_NAMES.pageViewTiming]: 2,
21
22
  [FEATURE_NAMES.metrics]: 3,
22
23
  [FEATURE_NAMES.jserrors]: 4,
23
- [FEATURE_NAMES.ajax]: 5,
24
- [FEATURE_NAMES.sessionTrace]: 6,
25
- [FEATURE_NAMES.pageAction]: 7,
26
- [FEATURE_NAMES.spa]: 8,
24
+ [FEATURE_NAMES.spa]: 5,
25
+ [FEATURE_NAMES.ajax]: 6,
26
+ [FEATURE_NAMES.sessionTrace]: 7,
27
+ [FEATURE_NAMES.pageAction]: 8,
27
28
  [FEATURE_NAMES.softNav]: 9,
28
- [FEATURE_NAMES.sessionReplay]: 10
29
+ [FEATURE_NAMES.sessionReplay]: 10,
30
+ [FEATURE_NAMES.logging]: 11
29
31
  };
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../../src/common/config/state/init.js"],"names":[],"mappings":"AA8GA,+CAIC;AAED,0DAKC;AAED,+DAYC"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../../src/common/config/state/init.js"],"names":[],"mappings":"AAgHA,+CAIC;AAED,0DAKC;AAED,+DAYC"}
@@ -1,9 +1,3 @@
1
- /**
2
- * @file Contains constants about the environment the agent is running
3
- * within. These values are derived at the time the agent is first loaded.
4
- * @copyright 2023 New Relic Corporation. All rights reserved.
5
- * @license Apache-2.0
6
- */
7
1
  /**
8
2
  * Indicates if the agent is running within a normal browser window context.
9
3
  */
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../../src/common/constants/runtime.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,qCAEqB;AAErB;;GAEG;AACH,oCAeK;AAEL,oDAUI;AAEJ,oDAA6F;AAE7F,sCAA2F;AAE3F,qCAAyD;AAEzD,4BAA8E;AAE9E;;;;;;GAMG;AACH,iCAAwE;AAExE,+BAOI;AAEJ,2BAA2E;AAE3E,yCAAqE;AAErE;;;;GAIG;AACH,yBAFU,MAAM,CAEoD"}
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../../src/common/constants/runtime.js"],"names":[],"mappings":"AASA;;GAEG;AACH,qCAEqB;AAErB;;GAEG;AACH,oCAeK;AAEL,oDAUI;AAEJ,oDAA6F;AAE7F,sCAA2F;AAE3F,qCAAyD;AAEzD,4BAA8E;AAE9E;;;;;;GAMG;AACH,iCAAwE;AAExE,+BAOI;AAEJ,2BAA2E;AAE3E,yCAAqE;AAErE;;;;GAIG;AACH,yBAFU,MAAM,CAE4B"}
@@ -1 +1 @@
1
- {"version":3,"file":"drain.d.ts","sourceRoot":"","sources":["../../../../src/common/drain/drain.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,+CAHW,MAAM,SACN,MAAM,QAQhB;AAED;;;;GAIG;AACH,wEAIC;AAYD;;;;;;GAMG;AACH,wCAJW,MAAM,gBACN,MAAM,UACN,OAAO,QAajB"}
1
+ {"version":3,"file":"drain.d.ts","sourceRoot":"","sources":["../../../../src/common/drain/drain.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,+CAHW,MAAM,SACN,MAAM,QAQhB;AAED;;;;GAIG;AACH,iDAHW,GAAC,SACD,GAAC,QAMX;AAYD;;;;;;GAMG;AACH,wCAJW,MAAM,gBACN,MAAM,UACN,OAAO,QAajB"}
@@ -1 +1 @@
1
- {"version":3,"file":"harvest-scheduler.d.ts","sourceRoot":"","sources":["../../../../src/common/harvest/harvest-scheduler.js"],"names":[],"mappings":"AAWA;;GAEG;AACH;IACE;;;;;;;;;;SAUK;IACL,sBATa,MAAM;QAES,UAAU;QACV,UAAU;QACZ,UAAU,EAAvB,MAAM;QACQ,GAAG,EAAjB,OAAO;QACM,SAAS,EAAtB,MAAM;oBAoBlB;IAfC,iBAAwB;IACxB;;;oBARW,MAAM;aACN,OAAO;mBACP,MAAM;MAMK;IACtB,iBAAoB;IACpB,mBAAyB;IACzB,iBAAoB;IACpB,oBAAuB;IACvB,iBAA8C;IAWhD;;;OAGG;IACH,eAKC;IAED,mDAIC;IAHC,cAAwB;IAK1B,uCAMC;IAED,6CAUC;IAED,yCAgEC;IAED,gDAiBC;CACF;8BAhK6B,2BAA2B;wBACjC,WAAW"}
1
+ {"version":3,"file":"harvest-scheduler.d.ts","sourceRoot":"","sources":["../../../../src/common/harvest/harvest-scheduler.js"],"names":[],"mappings":"AAWA;;GAEG;AACH;IACE;;;;;;;;;;SAUK;IACL,sBATa,MAAM,QAEd;QAAuB,UAAU;QACV,UAAU;QACZ,UAAU,EAAvB,MAAM;QACQ,GAAG,EAAjB,OAAO;QACM,SAAS,EAAtB,MAAM;KACd,UAAQ,GAAC,EAmBb;IAfC,iBAAwB;IACxB;;;oBARW,MAAM;aACN,OAAO;mBACP,MAAM;MAMK;IACtB,iBAAoB;IACpB,mBAAyB;IACzB,iBAAoB;IACpB,oBAAuB;IACvB,iBAA8C;IAWhD;;;OAGG;IACH,eAKC;IAED,mDAIC;IAHC,cAAwB;IAK1B,uCAMC;IAED,6CAUC;IAED,yCAgEC;IAED,gDAiBC;CACF;8BAhK6B,2BAA2B;wBACjC,WAAW"}
@@ -61,11 +61,11 @@ export class Harvest extends SharedContext {
61
61
  */
62
62
  on(endpoint: HarvestEndpointIdentifier, listener: FeatureHarvestCallback): void;
63
63
  }
64
- export type NetworkSendSpec = import('./types.js').NetworkSendSpec;
65
- export type HarvestEndpointIdentifier = import('./types.js').HarvestEndpointIdentifier;
66
- export type HarvestPayload = import('./types.js').HarvestPayload;
67
- export type FeatureHarvestCallback = import('./types.js').FeatureHarvestCallback;
68
- export type FeatureHarvestCallbackOptions = import('./types.js').FeatureHarvestCallbackOptions;
64
+ export type NetworkSendSpec = import("./types.js").NetworkSendSpec;
65
+ export type HarvestEndpointIdentifier = import("./types.js").HarvestEndpointIdentifier;
66
+ export type HarvestPayload = import("./types.js").HarvestPayload;
67
+ export type FeatureHarvestCallback = import("./types.js").FeatureHarvestCallback;
68
+ export type FeatureHarvestCallbackOptions = import("./types.js").FeatureHarvestCallbackOptions;
69
69
  import { SharedContext } from '../context/shared-context';
70
70
  import { Obfuscator } from '../util/obfuscate';
71
71
  //# sourceMappingURL=harvest.d.ts.map
@@ -38,7 +38,7 @@
38
38
  * @property {boolean} includeBaseParams Enables the use of base query parameters in the beacon url
39
39
  */
40
40
  export const unused: {};
41
- export type HarvestEndpointIdentifier = 'rum' | 'jserrors' | 'events' | 'ins' | 'resources' | 'blob';
41
+ export type HarvestEndpointIdentifier = "rum" | "jserrors" | "events" | "ins" | "resources" | "blob";
42
42
  export type HarvestPayload = {
43
43
  /**
44
44
  * Map of values that should be sent as part of the request query string.
@@ -83,7 +83,7 @@ export type NetworkSendSpec = {
83
83
  /**
84
84
  * The network method to use {@link ../util/submit-data.js}
85
85
  */
86
- submitMethod: import('../util/submit-data.js').NetworkMethods;
86
+ submitMethod: import("../util/submit-data.js").NetworkMethods;
87
87
  /**
88
88
  * Override the beacon url the data is sent to; must include protocol if defined
89
89
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/common/harvest/types.js"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;;;;GAcG;AAGH,wBAAwB;wCAvCX,KAAK,GAAC,UAAU,GAAC,QAAQ,GAAC,KAAK,GAAC,WAAW,GAAC,MAAM;;;;;QAKjD,MAAM;;;;;QAEO,CAAC,EAAd,MAAM;;;;;;;;;;;WAKN,OAAO;;+CAMV,6BAA6B,KAC3B,cAAc;;;;;cAKb,yBAAyB;;;;aACzB,cAAc;;;;;QAEA,YAAY,EAA1B,OAAO;QACO,MAAM,EAApB,OAAO;QACO,aAAa,EAA3B,OAAO;QACO,KAAK,EAAnB,OAAO;;;;;kBAEP,OAAO,wBAAwB,EAAE,cAAc;;;;eAC/C,MAAM;;;;SACN,OAAO;;;;uBACP,OAAO"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/common/harvest/types.js"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;;;;GAcG;AAGH,wBAAwB;wCAvCX,KAAK,GAAC,UAAU,GAAC,QAAQ,GAAC,KAAK,GAAC,WAAW,GAAC,MAAM;;;;;QAKjD,MAAM;;;;UAEjB;QAAwB,CAAC,EAAd,MAAM;KACnB;;;;;;;;;;WAIa,OAAO;;+CAMV,6BAA6B,KAC3B,cAAc;;;;;cAKb,yBAAyB;;;;aACzB,cAAc;;;;UAEzB;QAAyB,YAAY,EAA1B,OAAO;QACO,MAAM,EAApB,OAAO;QACO,aAAa,EAA3B,OAAO;QACO,KAAK,EAAnB,OAAO;KAElB;;;;kBAAW,OAAO,wBAAwB,EAAE,cAAc;;;;eAC/C,MAAM;;;;SACN,OAAO;;;;uBACP,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../../src/common/ids/id.js"],"names":[],"mappings":"AAaA;;;;;;;;;GASG;AACH,wBAHW,MAAM,mBAAe,GACnB,MAAM,CAUlB"}
1
+ {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../../src/common/ids/id.js"],"names":[],"mappings":"AAaA;;;;;;;;;GASG;AACH,wBAHW,MAAM,cAAU,KAAK,GACnB,MAAM,CAUlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"unique-id.d.ts","sourceRoot":"","sources":["../../../../src/common/ids/unique-id.js"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,gCAFa,MAAM,CAwBlB;AAED;;;;;GAKG;AACH,sDAFa,MAAM,CAiBlB;AAED;;;;;GAKG;AACH,kCAFa,MAAM,CAIlB;AAED;;;;;GAKG;AACH,mCAFa,MAAM,CAIlB"}
1
+ {"version":3,"file":"unique-id.d.ts","sourceRoot":"","sources":["../../../../src/common/ids/unique-id.js"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,gCAFa,MAAM,CAwBlB;AAED;;;;;GAKG;AACH,gDAHW,GAAG,GACD,MAAM,CAiBlB;AAED;;;;;GAKG;AACH,kCAFa,MAAM,CAIlB;AAED;;;;;GAKG;AACH,mCAFa,MAAM,CAIlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"session-entity.d.ts","sourceRoot":"","sources":["../../../../src/common/session/session-entity.js"],"names":[],"mappings":"AA8BA;IACE;;;;;OAKG;IACH,uBA0BC;IApBC,qBAAsC;IACtC,aAAsB;IACtB,UAAe;IAGf,SAAc;IAEd,QAAiC;IAenC;;;;aA4EC;IAnEC,8BAA0B;IAC1B,+BAA4B;IAc1B,gCAOqC;IAUrC,4CAkBsC;IAexC,iCAAuB;IAKzB,wBAEC;IAED,sBAEC;IAED;;;OAGG;IACH,QAFa,MAAM,CA6BlB;IAED;;;;;;OAMG;IACH,YAHW,MAAM,GACJ,MAAM,CAkBlB;IAED,gBAuBC;IAED;;OAEG;IACH,gBAIC;IAED;;;OAGG;IACH,qBAHW,MAAM,GACJ,OAAO,CAInB;IAED;;;OAGG;IACH,gBAHW,MAAM,GACJ,OAAO,CAKnB;IAED,yDAUC;IAED,6DAIC;IAED;;;OAGG;IACH,6BAHW,MAAM,GACJ,MAAM,CAIlB;IAED,gDAaC;IAHG,YAAuD;CAI5D;sBAzSqB,gBAAgB;iCAGL,4BAA4B"}
1
+ {"version":3,"file":"session-entity.d.ts","sourceRoot":"","sources":["../../../../src/common/session/session-entity.js"],"names":[],"mappings":"AA8BA;IACE;;;;;OAKG;IACH,uBA+BC;IAzBC,qBAAsC;IACtC,aAAsB;IACtB,UAAe;IAGf,SAAc;IAEd,QAAiC;IAoBnC;;;;aA4EC;IAnEC,8BAA0B;IAC1B,+BAA4B;IAc1B,gCAOqC;IAUrC,4CAkBsC;IAexC,iCAAuB;IAKzB,wBAEC;IAED,sBAEC;IAED;;;OAGG;IACH,QAFa,MAAM,CA6BlB;IAED;;;;;;OAMG;IACH,YAHW,MAAM,GACJ,MAAM,CAkBlB;IAED,gBAuBC;IAED;;OAEG;IACH,gBAIC;IAED;;;OAGG;IACH,qBAHW,MAAM,GACJ,OAAO,CAInB;IAED;;;OAGG;IACH,gBAHW,MAAM,GACJ,OAAO,CAKnB;IAED,yDAUC;IAED,6DAIC;IAED;;;OAGG;IACH,6BAHW,MAAM,GACJ,MAAM,CAIlB;IAED,gDAaC;IAHG,YAAuD;CAI5D;sBA9SqB,gBAAgB;iCAGL,4BAA4B"}
@@ -1 +1 @@
1
- {"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../../src/common/util/console.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,8BAJW,MAAM,yBAQhB"}
1
+ {"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../../src/common/util/console.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,8BAJW,MAAM,cACN,GAAC,QAOX"}
@@ -1 +1 @@
1
- {"version":3,"file":"data-size.d.ts","sourceRoot":"","sources":["../../../../src/common/util/data-size.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,qCAFa,CAAC,MAAM,GAAC,SAAS,CAAC,CAe9B"}
1
+ {"version":3,"file":"data-size.d.ts","sourceRoot":"","sources":["../../../../src/common/util/data-size.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,+BAHW,GAAC,GACC,CAAC,MAAM,GAAC,SAAS,CAAC,CAe9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-flags.d.ts","sourceRoot":"","sources":["../../../../src/common/util/feature-flags.js"],"names":[],"mappings":"AAYA;;;;;;GAMG;AACH;;oBAHW,MAAM,GACJ,IAAI,CAehB;AAvBD,gGAAgG;AAChG,mCAAmC"}
1
+ {"version":3,"file":"feature-flags.d.ts","sourceRoot":"","sources":["../../../../src/common/util/feature-flags.js"],"names":[],"mappings":"AAYA;;;;;;GAMG;AACH,wCAJW;IAAC,CAAC,GAAG,EAAC,MAAM,GAAE,MAAM,CAAA;CAAC,mBACrB,MAAM,GACJ,IAAI,CAehB;AAvBD,gGAAgG;AAChG,mCAAmC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-or-set.d.ts","sourceRoot":"","sources":["../../../../src/common/util/get-or-set.js"],"names":[],"mappings":"AAOA;;;;;;;GAOG;AACH,8BALW,MAAM,QACN,MAAM,yBA6BhB"}
1
+ {"version":3,"file":"get-or-set.d.ts","sourceRoot":"","sources":["../../../../src/common/util/get-or-set.js"],"names":[],"mappings":"AAOA;;;;;;;GAOG;AACH,8BALW,MAAM,QACN,MAAM,qBAEJ,GAAC,CA2Bb"}
@@ -1 +1 @@
1
- {"version":3,"file":"invoke.d.ts","sourceRoot":"","sources":["../../../../src/common/util/invoke.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,mDATW,MAAM;IAGW,OAAO,EAAxB,OAAO;aAoBjB;AAED;;;;;;;GAOG;AACH,iDAQC"}
1
+ {"version":3,"file":"invoke.d.ts","sourceRoot":"","sources":["../../../../src/common/util/invoke.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,mDATW,MAAM,YAGd;IAAyB,OAAO,EAAxB,OAAO;CAGf,YAiBF;AAED;;;;;;;GAOG;AACH,iDAQC"}
@@ -1 +1 @@
1
- {"version":3,"file":"stringify.d.ts","sourceRoot":"","sources":["../../../../src/common/util/stringify.js"],"names":[],"mappings":"AAyBA;;;;;GAKG;AACH,qCAFa,MAAM,CAYlB"}
1
+ {"version":3,"file":"stringify.d.ts","sourceRoot":"","sources":["../../../../src/common/util/stringify.js"],"names":[],"mappings":"AAyBA;;;;;GAKG;AACH,+BAHW,GAAC,GACC,MAAM,CAYlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"submit-data.d.ts","sourceRoot":"","sources":["../../../../src/common/util/submit-data.js"],"names":[],"mappings":"AAQA;;GAEG;AAEH;;;;;GAKG;AACH;IAHyB,cAAc,EAA5B,OAAO;+BAUjB;AAED;;;;;;;;;GASG;AACH;IAPwB,GAAG,EAAhB,MAAM;IACQ,IAAI,GAAlB,MAAM;IACS,IAAI,GAAnB,OAAO;IACQ,MAAM,GAArB,MAAM;IACgC,OAAO;aAAvC,MAAM;eAAS,MAAM;;IACzB,cAAc,CAmB1B;AAED;;;;;;GAMG;AACH;IAJwB,GAAG,EAAhB,MAAM;IACQ,IAAI,GAAlB,MAAM;IACJ,OAAO,CAanB;6BAjEY,0BAAU"}
1
+ {"version":3,"file":"submit-data.d.ts","sourceRoot":"","sources":["../../../../src/common/util/submit-data.js"],"names":[],"mappings":"AAQA;;GAEG;AAEH;;;;;GAKG;AACH,qDAHG;IAAsB,cAAc,EAA5B,OAAO;CAEjB,8BAQA;AAED;;;;;;;;;GASG;AACH,0DAPG;IAAqB,GAAG,EAAhB,MAAM;IACQ,IAAI,GAAlB,MAAM,YAAC;IACQ,IAAI,GAAnB,OAAO,YAAC;IACO,MAAM,GAArB,MAAM,YAAC;IAC+B,OAAO;aAAvC,MAAM;eAAS,MAAM;;CACnC,GAAU,cAAc,CAmB1B;AAED;;;;;;GAMG;AACH,sCAJG;IAAqB,GAAG,EAAhB,MAAM;IACQ,IAAI,GAAlB,MAAM,YAAC;CACf,GAAU,OAAO,CAanB;6BAjEY,0BAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"type-check.d.ts","sourceRoot":"","sources":["../../../../src/common/util/type-check.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,gDAEC"}
1
+ {"version":3,"file":"type-check.d.ts","sourceRoot":"","sources":["../../../../src/common/util/type-check.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,kCAFW,GAAC,WAIX"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Wraps a supplied function and adds emitter events under the `-wrap-logger-` prefix
3
+ * @param {Object} sharedEE - The shared event emitter on which a new scoped event emitter will be based.
4
+ * @param {Object} parent - The parent object housing the logger function
5
+ * @param {string} loggerFn - The name of the function in the parent object to wrap
6
+ * @returns {Object} Scoped event emitter with a debug ID of `logger`.
7
+ */
8
+ export function wrapLogger(sharedEE: Object, parent: Object, loggerFn: string, context: any): Object;
9
+ /**
10
+ * Returns an event emitter scoped specifically for the `logger` context. This scoping is a remnant from when all the
11
+ * features shared the same group in the event, to isolate events between features. It will likely be revisited.
12
+ * @param {Object} sharedEE - Optional event emitter on which to base the scoped emitter.
13
+ * Uses `ee` on the global scope if undefined).
14
+ * @returns {Object} Scoped event emitter with a debug ID of 'logger'.
15
+ */
16
+ export function scopedEE(sharedEE: Object): Object;
17
+ //# sourceMappingURL=wrap-logger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wrap-logger.d.ts","sourceRoot":"","sources":["../../../../src/common/wrap/wrap-logger.js"],"names":[],"mappings":"AAaA;;;;;;GAMG;AAEH,qCANW,MAAM,UACN,MAAM,YACN,MAAM,iBACJ,MAAM,CAmBlB;AAED;;;;;;GAMG;AACH,mCAJW,MAAM,GAEJ,MAAM,CAIlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"compute-stack-trace.d.ts","sourceRoot":"","sources":["../../../../../src/features/jserrors/aggregate/compute-stack-trace.js"],"names":[],"mappings":"AAqEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,sCAHW,KAAK,GACH,SAAS,CA2CrB;;;;;;;;UAvDa,MAAM;;;;aACN,MAAM;;;;iBACN,MAAM;;;;YACN,MAAM,MAAM,CAAC;;;;SACb,MAAM;;;;UACN,MAAM;;;;UACN,MAAM"}
1
+ {"version":3,"file":"compute-stack-trace.d.ts","sourceRoot":"","sources":["../../../../../src/features/jserrors/aggregate/compute-stack-trace.js"],"names":[],"mappings":"AAqEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,sCAHW,KAAK,GACH,SAAS,CA2CrB;;;;;;;;UAvDa,MAAM;;;;aACN,MAAM;;;;iBACN,MAAM;;;;YACN,KAAK,CAAC,MAAM,CAAC;;;;SACb,MAAM;;;;UACN,MAAM;;;;UACN,MAAM"}
@@ -30,6 +30,6 @@ export class Aggregate extends AggregateBase {
30
30
  onSoftNavNotification(interactionId: any, wasFinished: any, softNavAttrs: any): void;
31
31
  #private;
32
32
  }
33
- export type StackInfo = import('./compute-stack-trace.js').StackInfo;
33
+ export type StackInfo = import("./compute-stack-trace.js").StackInfo;
34
34
  import { AggregateBase } from '../../utils/aggregate-base';
35
35
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,40 @@
1
+ export class Aggregate extends AggregateBase {
2
+ static featureName: string;
3
+ constructor(agentIdentifier: any, aggregator: any);
4
+ /** held logs before sending */
5
+ bufferedLogs: any[];
6
+ /** held logs during sending, for retries */
7
+ outgoingLogs: any[];
8
+ /** the estimated bytes of log data waiting to be sent -- triggers a harvest if adding a new log will exceed limit */
9
+ estimatedBytes: number;
10
+ harvestTimeSeconds: any;
11
+ scheduler: HarvestScheduler;
12
+ handleLog(timestamp: any, message: any, attributes: any, level: any): void;
13
+ prepareHarvest(): {
14
+ qs: {
15
+ browser_monitoring_key: any;
16
+ };
17
+ body: {
18
+ common: {
19
+ /** Attributes in the `common` section are added to `all` logs generated in the payload */
20
+ attributes: {
21
+ 'entity.guid': any;
22
+ session: any;
23
+ hasReplay: boolean;
24
+ hasTrace: boolean;
25
+ ptid: any;
26
+ appId: any;
27
+ standalone: boolean;
28
+ agentVersion: any;
29
+ };
30
+ };
31
+ /** logs section contains individual unique log entries */
32
+ logs: any[];
33
+ }[];
34
+ } | undefined;
35
+ onHarvestFinished(result: any): void;
36
+ #private;
37
+ }
38
+ import { AggregateBase } from '../../utils/aggregate-base';
39
+ import { HarvestScheduler } from '../../../common/harvest/harvest-scheduler';
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/logging/aggregate/index.js"],"names":[],"mappings":"AAWA;IACE,2BAAiC;IAGjC,mDA4BC;IAzBC,+BAA+B;IAC/B,oBAAsB;IACtB,4CAA4C;IAC5C,oBAAsB;IACtB,sHAAsH;IACtH,uBAAuB;IAKvB,wBAAmG;IAGjG,4BAKQ;IASZ,2EAoBC;IAED;;;;;;gBAYQ,0FAA0F;;;;;;;;;;;;YAY5F,0DAA0D;;;kBAI/D;IAED,qCAEC;;CACF;8BA7F6B,4BAA4B;iCAJzB,2CAA2C"}
@@ -0,0 +1,14 @@
1
+ export namespace LOG_LEVELS {
2
+ let ERROR: string;
3
+ let WARN: string;
4
+ let INFO: string;
5
+ let DEBUG: string;
6
+ let TRACE: string;
7
+ }
8
+ export const LOGGING_EVENT_EMITTER_CHANNEL: "log";
9
+ export const FEATURE_NAME: string;
10
+ export const MAX_PAYLOAD_SIZE: 1000000;
11
+ export const LOGGING_FAILURE_MESSAGE: "failed to wrap logger: ";
12
+ export const LOGGING_LEVEL_FAILURE_MESSAGE: "invalid log level: ";
13
+ export const LOGGING_IGNORED: "ignored log: ";
14
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/features/logging/constants.js"],"names":[],"mappings":";;;;;;;AAUA,kDAAkD;AAElD,kCAAiD;AAEjD,uCAAuC;AAEvC,gEAAgE;AAChE,kEAAkE;AAClE,8CAA8C"}
@@ -0,0 +1,2 @@
1
+ export { Instrument as Logging } from "./instrument/index";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/logging/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/logging/instrument/index.js"],"names":[],"mappings":"AAIA;IACE,2BAAiC;IACjC,mEAUC;CACF;+BAjB8B,6BAA6B"}
@@ -0,0 +1,18 @@
1
+ export class Log {
2
+ /**
3
+ * @param {number} timestamp - Unix timestamp
4
+ * @param {string} message - message string
5
+ * @param {object} attributes - other log event attributes
6
+ * @param {enum} level - Log level
7
+ */
8
+ constructor(timestamp: number, message: string, attributes?: object, level?: enum);
9
+ /** @type {long} the unix timestamp of the log event */
10
+ timestamp: long;
11
+ /** @type {string} the log message */
12
+ message: string;
13
+ /** @type {object} the object of attributes to be parsed by logging ingest into top-level properties */
14
+ attributes: object;
15
+ /** @type {'ERROR'|'TRACE'|'DEBUG'|'INFO'|'WARN'} the log type of the log */
16
+ level: "ERROR" | "TRACE" | "DEBUG" | "INFO" | "WARN";
17
+ }
18
+ //# sourceMappingURL=log.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../../../src/features/logging/shared/log.js"],"names":[],"mappings":"AAIA;IAUE;;;;;OAKG;IACH,uBALW,MAAM,WACN,MAAM,eACN,MAAM,UACN,IAAI,EAQd;IArBD,uDAAuD;IACvD,WADW,IAAI,CACN;IACT,qCAAqC;IACrC,SADW,MAAM,CACV;IACP,uGAAuG;IACvG,YADW,MAAM,CACP;IACV,4EAA4E;IAC5E,OADW,OAAO,GAAC,OAAO,GAAC,OAAO,GAAC,MAAM,GAAC,MAAM,CAC3C;CAeN"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @param {ContextualEE} ee - The contextual ee tied to the instance
3
+ * @param {string} message - the log message string
4
+ * @param {{[key: string]: *}} customAttributes - The log's custom attributes if any
5
+ * @param {enum} level - the log level enum
6
+ */
7
+ export function bufferLog(ee: ContextualEE, message: string, customAttributes?: {
8
+ [key: string]: any;
9
+ }, level?: enum): void;
10
+ /**
11
+ * Checks if a supplied log level is acceptable for use in generating a log event
12
+ * @param {string} level
13
+ * @returns {boolean}
14
+ */
15
+ export function isValidLogLevel(level: string): boolean;
16
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/features/logging/shared/utils.js"],"names":[],"mappings":"AAQA;;;;;KAKK;AACL,8BALa,YAAY,WACZ,MAAM,qBACN;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAC,CAAA;CAAC,UAClB,IAAI,QAoBhB;AAED;;;;GAIG;AACH,uCAHW,MAAM,GACJ,OAAO,CAKnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_view_timing/aggregate/index.js"],"names":[],"mappings":"AAyBA;IACE,2BAAiC;IAMjC,mDA2CC;IAxCC,eAAiB;IACjB,mBAAqB;IACrB,4BAA+B;IAwCjC;;;OAGG;IACH,6BAFW,MAAM,QAOhB;IAED;;OAEG;IACH,uCAUC;IAED,mDAuBC;IAED,qCAKC;IAED,gDAWC;IAGD;;;;kBAWC;IAGD,8BAuBC;;CACF;8BA9K6B,4BAA4B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_view_timing/aggregate/index.js"],"names":[],"mappings":"AAyBA;IACE,2BAAiC;IAMjC,mDA0CC;IAvCC,eAAiB;IACjB,mBAAqB;IACrB,4BAA+B;IAuCjC;;;OAGG;IACH,6BAFW,MAAM,QAOhB;IAED;;OAEG;IACH,uCAUC;IAED,mDAuBC;IAED,qCAKC;IAED,gDAWC;IAGD;;;;kBAWC;IAGD,8BAuBC;;CACF;8BA7K6B,4BAA4B"}
@@ -62,7 +62,7 @@ export class Aggregate extends AggregateBase {
62
62
  */
63
63
  forceStop(forceHarvest: any): void;
64
64
  /** Abort the feature, once aborted it will not resume */
65
- abort(reason?: {}): void;
65
+ abort(reason: {} | undefined, data: any): void;
66
66
  syncWithSessionManager(state?: {}): void;
67
67
  }
68
68
  import { AggregateBase } from '../../utils/aggregate-base';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_replay/aggregate/index.js"],"names":[],"mappings":"AAgCA;IACE,2BAAiC;IAIjC,8DAuGC;IA1GD,aAAe;IAKb,8GAA8G;IAC9G,wBAAgH;IAChH,iFAAiF;IACjF,qBAAwB;IAGxB,2CAA2C;IAC3C,sDAAwB;IACxB,6CAA6C;IAC7C,gDAAmB;IAEnB,0BAA0B;IAC1B,kBAAqB;IACrB,6CAA6C;IAC7C,gBAA2B;IAE3B,cAA8B;IAC9B,kBAA+C;IAoC/C,4BAKQ;IA6CV,0BAMC;IAED,qBAWC;IAED;;;;;;;OAOG;IACH,gDAHW,OAAO,GACL,IAAI,CA8DhB;IAED,2BASC;IAED;;;;;;;;;;;;oBAiDC;IAED,sCAIC;IAED;;;;;;;;;;MAsEC;IAED,qCAOC;IAED;;;;OAIG;IACH,mCAKC;IAED,yDAAyD;IACzD,yBAUC;IAED,yCAGC;CACF;8BA3Y6B,4BAA4B;iCAHzB,2CAA2C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_replay/aggregate/index.js"],"names":[],"mappings":"AAgCA;IACE,2BAAiC;IAIjC,8DAuGC;IA1GD,aAAe;IAKb,8GAA8G;IAC9G,wBAAgH;IAChH,iFAAiF;IACjF,qBAAwB;IAGxB,2CAA2C;IAC3C,sDAAwB;IACxB,6CAA6C;IAC7C,gDAAmB;IAEnB,0BAA0B;IAC1B,kBAAqB;IACrB,6CAA6C;IAC7C,gBAA2B;IAE3B,cAA8B;IAC9B,kBAA+C;IAoC/C,4BAKQ;IA6CV,0BAMC;IAED,qBAWC;IAED;;;;;;;OAOG;IACH,gDAHW,OAAO,GACL,IAAI,CA8DhB;IAED,2BASC;IAED;;;;;;;;;;;;oBAiDC;IAED,sCAIC;IAED;;;;;;;;;;MAsEC;IAED,qCAOC;IAED;;;;OAIG;IACH,mCAKC;IAED,yDAAyD;IACzD,+CAUC;IAED,yCAGC;CACF;8BA3Y6B,4BAA4B;iCAHzB,2CAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"recorder.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_replay/shared/recorder.js"],"names":[],"mappings":"AAYA;IAUE,yBAkBC;IAdC,iEAAiE;IACjE,mBAAsB;IACtB,6DAA6D;IAC7D,oCAAuC;IACvC,kIAAkI;IAClI,kBAAqB;IACrB,sDAAsD;IACtD,YAAoB;IACpB,oEAAoE;IACpE,6BAAqH;IACrH,0FAA0F;IAC1F,eAA6C;IAC7C,uIAAuI;IACvI,0BAAyE;IAG3E;;;;;;;;;MAYC;IAED,mFAAmF;IACnF,oBAKC;IAED,qDAAqD;IACrD,uBAsCC;IAED;;;;;OAKG;IACH,yCA0BC;IAED,0HAA0H;IAC1H,yCAqDC;IA3CG,8BAAoB;IA6CxB,0HAA0H;IAC1H,yBAOC;IAED,wBAEC;IAED,gCAAgC;IAChC,uCAGC;IAED;;;SAGK;IACL,oCAGC;;CACF;+BA3N8B,mBAAmB"}
1
+ {"version":3,"file":"recorder.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_replay/shared/recorder.js"],"names":[],"mappings":"AAYA;IAUE,yBAkBC;IAdC,iEAAiE;IACjE,mBAAsB;IACtB,6DAA6D;IAC7D,oCAAuC;IACvC,kIAAkI;IAClI,kBAAqB;IACrB,sDAAsD;IACtD,YAAoB;IACpB,oEAAoE;IACpE,6BAAqH;IACrH,0FAA0F;IAC1F,eAA6C;IAC7C,uIAAuI;IACvI,0BAAyE;IAG3E;;;;;;;;;MAYC;IAED,mFAAmF;IACnF,oBAKC;IAED,qDAAqD;IACrD,uBAsCC;IAED;;;;;OAKG;IACH,aAHW,GAAC,cACD,GAAC,QA4BX;IAED,0HAA0H;IAC1H,yCAqDC;IA3CG,8BAAoB;IA6CxB,0HAA0H;IAC1H,yBAOC;IAED,wBAEC;IAED,gCAAgC;IAChC,uCAGC;IAED;;;SAGK;IACL,oCAGC;;CACF;+BA3N8B,mBAAmB"}
@@ -4,7 +4,7 @@ export class Aggregate extends AggregateBase {
4
4
  agentRuntime: any;
5
5
  agentInfo: any;
6
6
  /** A buffer to hold on to harvested traces in the case that a retry must be made later */
7
- sentTrace: any[] | null | undefined;
7
+ sentTrace: any[] | null;
8
8
  harvestTimeSeconds: any;
9
9
  /** Tied to the entitlement flag response from BCS. Will short circuit operations of the agg if false */
10
10
  entitled: any;
@@ -16,13 +16,16 @@ export class Aggregate extends AggregateBase {
16
16
  traceStorage: TraceStorage;
17
17
  /** Sets up event listeners, and initializes this module to run in the correct "mode". Can be triggered from a few places, but makes an effort to only set up listeners once */
18
18
  initialize(stMode: any, stEntitled: any, ignoreSession: any): void;
19
- mode: any;
20
19
  initialized: boolean | undefined;
20
+ /** Store session identifiers at initialization time to be cross-checked later at harvest time for session changes that are subject to race conditions */
21
+ ptid: any;
22
+ sessionId: any;
23
+ mode: any;
21
24
  scheduler: HarvestScheduler | undefined;
22
25
  /** This module does not auto harvest by default -- it needs to be kicked off. Once this method is called, it will then harvest on an interval */
23
26
  startHarvesting(): void;
24
27
  /** Called by the harvest scheduler at harvest time to retrieve the payload. This will only actually return a payload if running in full mode */
25
- prepareHarvest(options?: {}): {
28
+ prepareHarvest(options?: {}): void | {
26
29
  qs: {
27
30
  browser_monitoring_key: any;
28
31
  type: string;
@@ -31,8 +34,8 @@ export class Aggregate extends AggregateBase {
31
34
  timestamp: any;
32
35
  attributes: string;
33
36
  };
34
- body: any[] | undefined;
35
- } | undefined;
37
+ body: any[];
38
+ };
36
39
  /** When the harvest scheduler finishes, this callback is executed. It's main purpose is to determine if the payload needs to be retried
37
40
  * and if so, it will take all data from the temporary buffer and place it back into the traceStorage module
38
41
  */
@@ -40,7 +43,7 @@ export class Aggregate extends AggregateBase {
40
43
  /** Switch from "off" or "error" to full mode (if entitled) */
41
44
  switchToFull(): void;
42
45
  /** Stop running for the remainder of the page lifecycle */
43
- abort(): void;
46
+ abort(reason: any): void;
44
47
  }
45
48
  import { AggregateBase } from '../../utils/aggregate-base';
46
49
  import { TraceStorage } from './trace/storage';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_trace/aggregate/index.js"],"names":[],"mappings":"AAcA;IACE,2BAAiC;IAEjC,mDAmBC;IAjBC,kBAA+C;IAC/C,eAAyC;IAEzC,0FAA0F;IAC1F,oCAAqB;IACrB,wBAA0G;IAC1G,0GAA0G;IAC1G,cAAyB;IACzB,mIAAmI;IACnI,uBAA0B;IAC1B,0CAA0C;IAC1C,oBAAuB;IACvB,wIAAwI;IACxI,2BAA0C;IAM5C,gLAAgL;IAChL,mEA6DC;IA1CyD,UAA4D;IAGpH,iCAAuB;IAOvB,wCAKQ;IA6BV,kJAAkJ;IAClJ,wBAIC;IAED,iJAAiJ;IACjJ;;;;;;;;;;kBA4DC;IAED;;OAEG;IACH,qCAKC;IAED,8DAA8D;IAC9D,qBAUC;IAED,2DAA2D;IAC3D,cAKC;CACF;8BAtM6B,4BAA4B;6BAC7B,iBAAiB;iCAJb,2CAA2C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/session_trace/aggregate/index.js"],"names":[],"mappings":"AAcA;IACE,2BAAiC;IAEjC,mDAmBC;IAjBC,kBAA+C;IAC/C,eAAyC;IAEzC,0FAA0F;IAC1F,wBAAqB;IACrB,wBAA0G;IAC1G,0GAA0G;IAC1G,cAAyB;IACzB,mIAAmI;IACnI,uBAA0B;IAC1B,0CAA0C;IAC1C,oBAAuB;IACvB,wIAAwI;IACxI,2BAA0C;IAM5C,gLAAgL;IAChL,mEAoEC;IA/DG,iCAAuB;IACvB,yJAAyJ;IACzJ,UAAkC;IAClC,eAAuD;IAmBD,UAA4D;IASpH,wCAKQ;IA6BV,kJAAkJ;IAClJ,wBAIC;IAED,iJAAiJ;IACjJ;;;;;;;;;;MA4DC;IAED;;OAEG;IACH,qCAKC;IAED,8DAA8D;IAC9D,qBAUC;IAED,2DAA2D;IAC3D,yBAKC;CACF;8BA7M6B,4BAA4B;6BAC7B,iBAAiB;iCAJb,2CAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../../../../src/features/session_trace/aggregate/trace/storage.js"],"names":[],"mappings":"AAyBA,+HAA+H;AAC/H;IAQE,yBAEC;IATD,kBAAa;IACb,UAAU;IACV,0BAA4B;IAC5B,wBAAmB;IACnB,mBAAgB;IAChB,2BAA4B;IAG1B,YAAoB;IAGtB,gGAAgG;IAChG,yBAiBC;IAED;;;;OAIG;IACH,2BAHW,MAAM,GACJ,MAAM,CAsBlB;IAED,oEAAoE;IACpE;;;;;;;;MAsBC;IAED,mEA6BC;IAED,oDAOC;IAED,oCAkBC;IAGD,uEAcC;IAED,oDAKC;IAED,wBAwBC;IAED,uCAuBC;IAGD,gDAEC;IAID,qCAaC;IAGD,qEAGC;IAGD,mEAIC;IAED,iDAKC;;CACF"}
1
+ {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../../../../src/features/session_trace/aggregate/trace/storage.js"],"names":[],"mappings":"AAyBA,+HAA+H;AAC/H;IAQE,yBAEC;IATD,kBAAa;IACb,UAAU;IACV,0BAA4B;IAC5B,wBAAmB;IACnB,mBAAgB;IAChB,2BAA4B;IAG1B,YAAoB;IAGtB,gGAAgG;IAChG,yBAiBC;IAED;;;;OAIG;IACH,2BAHW,MAAM,GACJ,MAAM,CAsBlB;IAED,oEAAoE;IACpE;;;;;;;;MAsBC;IAED,mEA6BC;IAED,oDAOC;IAED,oCAkBC;IAGD,uEAcC;IAED,oDAKC;IAED,wBAwBC;IAED,uCAuBC;IAGD,gDAEC;IAID,qCAaC;IAGD,qEAGC;IAGD,mEAGC;IAED,iDAKC;;CACF"}
@@ -12,7 +12,6 @@ export class AjaxNode extends BelNode {
12
12
  traceId: any;
13
13
  spanTimestamp: any;
14
14
  gql: any;
15
- start: any;
16
15
  serialize(parentStartTimestamp: any): string;
17
16
  }
18
17
  import { BelNode } from './bel-node';
@@ -1 +1 @@
1
- {"version":3,"file":"ajax-node.d.ts","sourceRoot":"","sources":["../../../../../src/features/soft_navigations/aggregate/ajax-node.js"],"names":[],"mappings":"AAIA;IACE,kDAiBC;IAfC,gBAA6B;IAC7B,YAA8B;IAC9B,YAA8B;IAC9B,YAA8B;IAC9B,UAA0B;IAC1B,YAAmC;IACnC,YAAoC;IACpC,+BAAwD;IACxD,YAA8B;IAC9B,aAAgC;IAChC,mBAA4C;IAC5C,SAAwB;IAExB,WAAgC;IAIlC,6CA+BC;CACF;wBAtDuB,YAAY"}
1
+ {"version":3,"file":"ajax-node.d.ts","sourceRoot":"","sources":["../../../../../src/features/soft_navigations/aggregate/ajax-node.js"],"names":[],"mappings":"AAIA;IACE,kDAiBC;IAfC,gBAA6B;IAC7B,YAA8B;IAC9B,YAA8B;IAC9B,YAA8B;IAC9B,UAA0B;IAC1B,YAAmC;IACnC,YAAoC;IACpC,+BAAwD;IACxD,YAA8B;IAC9B,aAAgC;IAChC,mBAA4C;IAC5C,SAAwB;IAM1B,6CA+BC;CACF;wBAtDuB,YAAY"}
@@ -3,7 +3,7 @@ export class BelNode {
3
3
  belType: any;
4
4
  /** List of other BelNode derivatives. Each children should be of a subclass that implements its own 'serialize' function. */
5
5
  children: any[];
6
- start: number;
6
+ start: any;
7
7
  end: any;
8
8
  callbackEnd: number;
9
9
  callbackDuration: number;
@@ -1 +1 @@
1
- {"version":3,"file":"bel-node.d.ts","sourceRoot":"","sources":["../../../../../src/features/soft_navigations/aggregate/bel-node.js"],"names":[],"mappings":"AAIA;IAUE,kCAGC;IAZD,aAAO;IACP,6HAA6H;IAC7H,gBAAa;IACb,cAAa;IACb,SAAG;IACH,oBAAe;IACf,yBAAoB;IACpB,eAAoB;IAIlB,qBAAsC;IAGxC,2BAEC;IAED,+CAA+C;IAC/C,kBAAe;CAChB"}
1
+ {"version":3,"file":"bel-node.d.ts","sourceRoot":"","sources":["../../../../../src/features/soft_navigations/aggregate/bel-node.js"],"names":[],"mappings":"AAEA;IAUE,kCAGC;IAZD,aAAO;IACP,6HAA6H;IAC7H,gBAAa;IACb,WAAK;IACL,SAAG;IACH,oBAAe;IACf,yBAAoB;IACpB,eAAoB;IAIlB,qBAAsC;IAGxC,2BAEC;IAED,+CAA+C;IAC/C,kBAAe;CAChB"}
@@ -23,7 +23,6 @@ export class Interaction extends BelNode {
23
23
  cancellationTimer: any;
24
24
  belType: number;
25
25
  trigger: any;
26
- start: any;
27
26
  oldRoute: any;
28
27
  eventSubscription: Map<string, never[]>;
29
28
  forceSave: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../../../../src/features/soft_navigations/aggregate/interaction.js"],"names":[],"mappings":"AAQA;;IAEI;AACJ;IAoBE,+FAYC;IA/BD,WAAmB;IACnB,uBAAgC;IAChC,eAAmC;IACnC,eAAmC;IACnC,gBAAU;IACV,qBAAqB;IACrB,oBAAoB;IACpB,eAAS;IACT,aAAO;IACP,cAAQ;IACR,+EAA+E;IAC/E,eAA8B;IAC9B,qBAAgB;IAChB,yBAAoB;IACpB,sBAAoB;IACpB,6BAA2B;IAC3B,cAAW;IACX,uBAAiB;IAIf,gBAAoC;IACpC,aAAsB;IACtB,WAA6B;IAC7B,cAAiC;IACjC,wCAGE;IACF,mBAAyC;IAAxB,qBAAwB;IAI3C,gCAEC;IAED,iDAGC;IAED,mCAEC;IAED,8BAIC;IAED,kCAUC;IAwBD;;;;;OAKG;IACH,0BAHW,mBAAmB,WAM7B;IAGD,uBAAoB;IACpB,iCAA8B;IAC9B,sBAAmB;IAEnB,gDA2CC;;CACF;wBAxJuB,YAAY"}
1
+ {"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../../../../src/features/soft_navigations/aggregate/interaction.js"],"names":[],"mappings":"AASA;;IAEI;AACJ;IAoBE,+FAYC;IA/BD,WAAmB;IACnB,uBAAgC;IAChC,eAAmC;IACnC,eAAmC;IACnC,gBAAU;IACV,qBAAqB;IACrB,oBAAoB;IACpB,eAAS;IACT,aAAO;IACP,cAAQ;IACR,+EAA+E;IAC/E,eAA8B;IAC9B,qBAAgB;IAChB,yBAAoB;IACpB,sBAAoB;IACpB,6BAA2B;IAC3B,cAAW;IACX,uBAAiB;IAIf,gBAAoC;IACpC,aAAsB;IAEtB,cAAiC;IACjC,wCAGE;IACF,mBAAyC;IAAxB,qBAAwB;IAI3C,gCAEC;IAED,iDAGC;IAED,mCAEC;IAED,8BAIC;IAED,kCAUC;IAwBD;;;;;OAKG;IACH,0BAHW,mBAAmB,WAM7B;IAGD,uBAAoB;IACpB,iCAA8B;IAC9B,sBAAmB;IAEnB,gDA2CC;;CACF;wBAxJuB,YAAY"}
@@ -3,7 +3,7 @@ export class FeatureBase {
3
3
  /** @type {string} */
4
4
  agentIdentifier: string;
5
5
  /** @type {import('../../common/aggregate/aggregator').Aggregator} */
6
- aggregator: import('../../common/aggregate/aggregator').Aggregator;
6
+ aggregator: import("../../common/aggregate/aggregator").Aggregator;
7
7
  /** @type {import('../../common/event-emitter/contextual-ee').ee} */
8
8
  ee: any;
9
9
  /** @type {string} */
@@ -1 +1 @@
1
- {"version":3,"file":"feature-base.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/feature-base.js"],"names":[],"mappings":"AAEA;IACE,qEAeC;IAdC,qBAAqB;IACrB,iBADW,MAAM,CACqB;IACtC,qEAAqE;IACrE,YADW,OAAO,mCAAmC,EAAE,UAAU,CACrC;IAC5B,oEAAoE;IACpE,QAAiC;IACjC,qBAAqB;IACrB,aADW,MAAM,CACa;IAC9B;;;;OAIG;IACH,SAFU,OAAO,CAEG;CAEvB"}
1
+ {"version":3,"file":"feature-base.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/feature-base.js"],"names":[],"mappings":"AAEA;IACE,qEAeC;IAdC,qBAAqB;IACrB,iBADW,MAAM,CACqB;IACtC,qEAAqE;IACrE,YADW,OAAO,mCAAmC,EAAE,UAAU,CACrC;IAC5B,oEAAoE;IACpE,IADW,GAAqD,CAC/B;IACjC,qBAAqB;IACrB,aADW,MAAM,CACa;IAC9B;;;;OAIG;IACH,SAFU,OAAO,CAEG;CAEvB"}