@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.
- package/dist/cjs/cdn/polyfills.js +5 -2
- package/dist/cjs/common/config/state/configurable.js +15 -26
- package/dist/cjs/common/config/state/info.js +1 -1
- package/dist/cjs/common/config/state/init.js +101 -56
- package/dist/cjs/common/config/state/loader-config.js +1 -1
- package/dist/cjs/common/config/state/runtime.js +1 -5
- package/dist/cjs/common/constants/env.cdn.js +1 -1
- package/dist/cjs/common/constants/env.npm.js +1 -1
- package/dist/cjs/common/drain/drain.js +1 -1
- package/dist/cjs/common/harvest/harvest-scheduler.js +30 -10
- package/dist/cjs/common/harvest/harvest.js +119 -55
- package/dist/cjs/common/session/session-entity.js +35 -22
- package/dist/cjs/common/session/session-entity.test.js +73 -49
- package/dist/cjs/common/timer/interaction-timer.js +9 -12
- package/dist/cjs/common/url/protocol.test.js +0 -1
- package/dist/cjs/common/util/feature-flags.js +2 -1
- package/dist/cjs/common/util/submit-data.js +57 -18
- package/dist/cjs/common/wrap/wrap-fetch.js +1 -1
- package/dist/cjs/common/wrap/wrap-function.js +1 -1
- package/dist/cjs/common/wrap/wrap-promise.js +1 -1
- package/dist/cjs/features/ajax/aggregate/index.js +2 -2
- package/dist/cjs/features/jserrors/aggregate/index.js +7 -5
- package/dist/cjs/features/metrics/aggregate/framework-detection.js +67 -0
- package/dist/cjs/features/metrics/aggregate/framework-detection.test.js +137 -0
- package/dist/cjs/features/metrics/aggregate/index.js +7 -3
- package/dist/cjs/features/metrics/aggregate/polyfill-detection.es5.js +14 -0
- package/dist/cjs/features/metrics/aggregate/polyfill-detection.es5.test.js +17 -0
- package/dist/cjs/features/metrics/aggregate/polyfill-detection.js +53 -0
- package/dist/cjs/features/metrics/aggregate/polyfill-detection.test.js +165 -0
- package/dist/cjs/features/page_action/aggregate/index.js +2 -2
- package/dist/cjs/features/page_view_event/aggregate/index.js +6 -3
- package/dist/cjs/features/page_view_timing/aggregate/index.js +2 -2
- package/dist/cjs/features/session_replay/aggregate/index.js +333 -0
- package/dist/cjs/features/session_replay/constants.js +9 -0
- package/dist/cjs/features/session_replay/index.js +12 -0
- package/dist/cjs/features/session_replay/instrument/index.js +29 -0
- package/dist/cjs/features/session_trace/aggregate/index.js +163 -162
- package/dist/cjs/features/session_trace/constants.js +2 -9
- package/dist/cjs/features/session_trace/instrument/index.js +24 -66
- package/dist/cjs/features/spa/aggregate/index.js +2 -2
- package/dist/cjs/features/utils/agent-session.js +1 -2
- package/dist/cjs/features/utils/aggregate-base.js +64 -0
- package/dist/cjs/features/utils/feature-base.js +0 -31
- package/dist/cjs/features/utils/handler-cache.js +3 -4
- package/dist/cjs/features/utils/instrument-base.js +42 -10
- package/dist/cjs/features/utils/{lazy-loader.js → lazy-feature-loader.js} +4 -2
- package/dist/cjs/loaders/agent.js +1 -1
- package/dist/cjs/loaders/api/apiAsync.js +3 -1
- package/dist/cjs/loaders/configure/configure.js +3 -3
- package/dist/cjs/loaders/features/featureDependencies.js +0 -12
- package/dist/cjs/loaders/features/features.js +3 -1
- package/dist/cjs/loaders/micro-agent.js +6 -6
- package/dist/esm/cdn/polyfills.js +5 -2
- package/dist/esm/common/config/state/configurable.js +14 -24
- package/dist/esm/common/config/state/info.js +2 -2
- package/dist/esm/common/config/state/init.js +102 -57
- package/dist/esm/common/config/state/loader-config.js +2 -2
- package/dist/esm/common/config/state/runtime.js +2 -4
- package/dist/esm/common/constants/env.cdn.js +1 -1
- package/dist/esm/common/constants/env.npm.js +1 -1
- package/dist/esm/common/drain/drain.js +1 -1
- package/dist/esm/common/harvest/harvest-scheduler.js +30 -10
- package/dist/esm/common/harvest/harvest.js +121 -56
- package/dist/esm/common/session/session-entity.js +35 -22
- package/dist/esm/common/session/session-entity.test.js +73 -49
- package/dist/esm/common/timer/interaction-timer.js +9 -12
- package/dist/esm/common/url/protocol.test.js +0 -1
- package/dist/esm/common/util/feature-flags.js +2 -1
- package/dist/esm/common/util/submit-data.js +57 -18
- package/dist/esm/common/wrap/wrap-fetch.js +1 -1
- package/dist/esm/common/wrap/wrap-function.js +1 -1
- package/dist/esm/common/wrap/wrap-promise.js +1 -1
- package/dist/esm/features/ajax/aggregate/index.js +2 -2
- package/dist/esm/features/jserrors/aggregate/index.js +7 -5
- package/dist/esm/features/metrics/aggregate/framework-detection.js +61 -0
- package/dist/esm/features/metrics/aggregate/framework-detection.test.js +133 -0
- package/dist/esm/features/metrics/aggregate/index.js +7 -3
- package/dist/esm/features/metrics/aggregate/polyfill-detection.es5.js +8 -0
- package/dist/esm/features/metrics/aggregate/polyfill-detection.es5.test.js +15 -0
- package/dist/esm/features/metrics/aggregate/polyfill-detection.js +47 -0
- package/dist/esm/features/metrics/aggregate/polyfill-detection.test.js +163 -0
- package/dist/esm/features/page_action/aggregate/index.js +2 -2
- package/dist/esm/features/page_view_event/aggregate/index.js +6 -3
- package/dist/esm/features/page_view_timing/aggregate/index.js +2 -2
- package/dist/esm/features/session_replay/aggregate/index.js +327 -0
- package/dist/esm/features/session_replay/constants.js +2 -0
- package/dist/esm/features/session_replay/index.js +12 -0
- package/dist/esm/features/session_replay/instrument/index.js +21 -0
- package/dist/esm/features/session_trace/aggregate/index.js +163 -162
- package/dist/esm/features/session_trace/constants.js +1 -5
- package/dist/esm/features/session_trace/instrument/index.js +24 -66
- package/dist/esm/features/spa/aggregate/index.js +2 -2
- package/dist/esm/features/utils/agent-session.js +1 -2
- package/dist/esm/features/utils/aggregate-base.js +57 -0
- package/dist/esm/features/utils/feature-base.js +1 -32
- package/dist/esm/features/utils/handler-cache.js +3 -4
- package/dist/esm/features/utils/instrument-base.js +42 -10
- package/dist/esm/features/utils/{lazy-loader.js → lazy-feature-loader.js} +3 -1
- package/dist/esm/loaders/agent.js +1 -1
- package/dist/esm/loaders/api/apiAsync.js +3 -1
- package/dist/esm/loaders/configure/configure.js +3 -3
- package/dist/esm/loaders/features/featureDependencies.js +0 -11
- package/dist/esm/loaders/features/features.js +3 -1
- package/dist/esm/loaders/micro-agent.js +6 -6
- package/dist/types/common/config/state/configurable.d.ts +1 -3
- package/dist/types/common/config/state/configurable.d.ts.map +1 -1
- package/dist/types/common/config/state/init.d.ts.map +1 -1
- package/dist/types/common/config/state/runtime.d.ts.map +1 -1
- package/dist/types/common/harvest/harvest-scheduler.d.ts.map +1 -1
- package/dist/types/common/harvest/harvest.d.ts +37 -34
- package/dist/types/common/harvest/harvest.d.ts.map +1 -1
- package/dist/types/common/session/session-entity.d.ts +6 -3
- package/dist/types/common/session/session-entity.d.ts.map +1 -1
- package/dist/types/common/timer/interaction-timer.d.ts +2 -1
- package/dist/types/common/timer/interaction-timer.d.ts.map +1 -1
- package/dist/types/common/util/feature-flags.d.ts.map +1 -1
- package/dist/types/common/util/submit-data.d.ts +40 -14
- package/dist/types/common/util/submit-data.d.ts.map +1 -1
- package/dist/types/features/ajax/aggregate/index.d.ts +2 -2
- package/dist/types/features/ajax/aggregate/index.d.ts.map +1 -1
- package/dist/types/features/jserrors/aggregate/index.d.ts +2 -2
- package/dist/types/features/jserrors/aggregate/index.d.ts.map +1 -1
- package/dist/types/features/metrics/aggregate/framework-detection.d.ts.map +1 -0
- package/dist/types/features/metrics/aggregate/index.d.ts +2 -2
- package/dist/types/features/metrics/aggregate/index.d.ts.map +1 -1
- package/dist/types/features/metrics/aggregate/polyfill-detection.d.ts +6 -0
- package/dist/types/features/metrics/aggregate/polyfill-detection.d.ts.map +1 -0
- package/dist/types/features/metrics/aggregate/polyfill-detection.es5.d.ts +7 -0
- package/dist/types/features/metrics/aggregate/polyfill-detection.es5.d.ts.map +1 -0
- package/dist/types/features/page_action/aggregate/index.d.ts +2 -2
- package/dist/types/features/page_action/aggregate/index.d.ts.map +1 -1
- package/dist/types/features/page_view_event/aggregate/index.d.ts +2 -2
- package/dist/types/features/page_view_event/aggregate/index.d.ts.map +1 -1
- package/dist/types/features/page_view_timing/aggregate/index.d.ts +2 -2
- package/dist/types/features/page_view_timing/aggregate/index.d.ts.map +1 -1
- package/dist/types/features/session_replay/aggregate/index.d.ts +96 -0
- package/dist/types/features/session_replay/aggregate/index.d.ts.map +1 -0
- package/dist/types/features/session_replay/constants.d.ts +2 -0
- package/dist/types/features/session_replay/constants.d.ts.map +1 -0
- package/dist/types/features/session_replay/index.d.ts +2 -0
- package/dist/types/features/session_replay/index.d.ts.map +1 -0
- package/dist/types/features/session_replay/instrument/index.d.ts +6 -0
- package/dist/types/features/session_replay/instrument/index.d.ts.map +1 -0
- package/dist/types/features/session_trace/aggregate/index.d.ts +8 -57
- package/dist/types/features/session_trace/aggregate/index.d.ts.map +1 -1
- package/dist/types/features/session_trace/constants.d.ts +0 -3
- package/dist/types/features/session_trace/constants.d.ts.map +1 -1
- package/dist/types/features/session_trace/instrument/index.d.ts +1 -3
- package/dist/types/features/session_trace/instrument/index.d.ts.map +1 -1
- package/dist/types/features/spa/aggregate/index.d.ts +2 -2
- package/dist/types/features/spa/aggregate/index.d.ts.map +1 -1
- package/dist/types/features/utils/agent-session.d.ts.map +1 -1
- package/dist/types/features/utils/aggregate-base.d.ts +11 -0
- package/dist/types/features/utils/aggregate-base.d.ts.map +1 -0
- package/dist/types/features/utils/feature-base.d.ts +0 -5
- package/dist/types/features/utils/feature-base.d.ts.map +1 -1
- package/dist/types/features/utils/handler-cache.d.ts.map +1 -1
- package/dist/types/features/utils/instrument-base.d.ts +3 -1
- package/dist/types/features/utils/instrument-base.d.ts.map +1 -1
- package/dist/types/features/utils/{lazy-loader.d.ts → lazy-feature-loader.d.ts} +2 -2
- package/dist/types/features/utils/lazy-feature-loader.d.ts.map +1 -0
- package/dist/types/loaders/configure/configure.d.ts.map +1 -1
- package/dist/types/loaders/features/featureDependencies.d.ts +0 -1
- package/dist/types/loaders/features/featureDependencies.d.ts.map +1 -1
- package/dist/types/loaders/features/features.d.ts +1 -0
- package/dist/types/loaders/features/features.d.ts.map +1 -1
- package/package.json +28 -19
- package/src/cdn/polyfills.js +4 -1
- package/src/common/config/state/configurable.js +18 -24
- package/src/common/config/state/info.js +2 -2
- package/src/common/config/state/init.js +62 -28
- package/src/common/config/state/loader-config.js +2 -2
- package/src/common/config/state/runtime.js +2 -4
- package/src/common/drain/drain.js +1 -1
- package/src/common/harvest/harvest-scheduler.js +35 -10
- package/src/common/harvest/harvest.js +73 -50
- package/src/common/session/session-entity.js +34 -23
- package/src/common/session/session-entity.test.js +57 -51
- package/src/common/timer/interaction-timer.js +9 -12
- package/src/common/url/protocol.test.js +0 -1
- package/src/common/util/feature-flags.js +2 -2
- package/src/common/util/submit-data.js +28 -17
- package/src/common/wrap/wrap-fetch.js +1 -1
- package/src/common/wrap/wrap-function.js +1 -1
- package/src/common/wrap/wrap-promise.js +1 -1
- package/src/features/ajax/aggregate/index.js +2 -2
- package/src/features/jserrors/aggregate/index.js +7 -5
- package/src/features/metrics/aggregate/framework-detection.js +73 -0
- package/src/features/metrics/aggregate/framework-detection.test.js +201 -0
- package/src/features/metrics/aggregate/index.js +8 -3
- package/src/features/metrics/aggregate/polyfill-detection.es5.js +9 -0
- package/src/features/metrics/aggregate/polyfill-detection.es5.test.js +16 -0
- package/src/features/metrics/aggregate/polyfill-detection.js +48 -0
- package/src/features/metrics/aggregate/polyfill-detection.test.js +163 -0
- package/src/features/page_action/aggregate/index.js +2 -2
- package/src/features/page_view_event/aggregate/index.js +5 -5
- package/src/features/page_view_timing/aggregate/index.js +2 -2
- package/src/features/session_replay/aggregate/index.js +314 -0
- package/src/features/session_replay/constants.js +3 -0
- package/src/features/session_replay/index.js +12 -0
- package/src/features/session_replay/instrument/index.js +22 -0
- package/src/features/session_trace/aggregate/index.js +148 -187
- package/src/features/session_trace/constants.js +0 -4
- package/src/features/session_trace/instrument/index.js +17 -69
- package/src/features/spa/aggregate/index.js +2 -2
- package/src/features/utils/agent-session.js +1 -2
- package/src/features/utils/aggregate-base.js +51 -0
- package/src/features/utils/feature-base.js +1 -31
- package/src/features/utils/handler-cache.js +3 -4
- package/src/features/utils/instrument-base.js +40 -8
- package/src/features/utils/{lazy-loader.js → lazy-feature-loader.js} +3 -1
- package/src/loaders/agent.js +1 -1
- package/src/loaders/api/apiAsync.js +1 -1
- package/src/loaders/configure/configure.js +4 -3
- package/src/loaders/features/featureDependencies.js +0 -12
- package/src/loaders/features/features.js +3 -1
- package/src/loaders/micro-agent.js +4 -4
- package/dist/cjs/common/metrics/framework-detection.js +0 -72
- package/dist/cjs/common/util/user-agent.js +0 -57
- package/dist/cjs/common/window/supports-performance-observer.js +0 -15
- package/dist/esm/common/metrics/framework-detection.js +0 -66
- package/dist/esm/common/util/user-agent.js +0 -48
- package/dist/esm/common/window/supports-performance-observer.js +0 -9
- package/dist/types/common/metrics/framework-detection.d.ts.map +0 -1
- package/dist/types/common/util/user-agent.d.ts +0 -5
- package/dist/types/common/util/user-agent.d.ts.map +0 -1
- package/dist/types/common/window/supports-performance-observer.d.ts +0 -2
- package/dist/types/common/window/supports-performance-observer.d.ts.map +0 -1
- package/dist/types/features/utils/lazy-loader.d.ts.map +0 -1
- package/src/common/metrics/framework-detection.js +0 -71
- package/src/common/util/user-agent.js +0 -56
- package/src/common/window/supports-performance-observer.js +0 -10
- /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;
|
|
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
|
|
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 {
|
|
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,
|
|
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
|
|
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 {
|
|
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":"
|
|
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
|
|
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 {
|
|
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;
|
|
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
|
|
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 {
|
|
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;
|
|
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
|
|
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 {
|
|
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;
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/features/session_replay/constants.js"],"names":[],"mappings":"AAEA,kCAAuD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/session_replay/index.js"],"names":[],"mappings":""}
|
|
@@ -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
|
|
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(
|
|
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):
|
|
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
|
-
|
|
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 {
|
|
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":"
|
|
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":"
|
|
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
|
-
|
|
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":"
|
|
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
|
|
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 {
|
|
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;
|
|
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":"
|
|
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":"
|
|
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;
|
|
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":"
|
|
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
|
|
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;;;;;;;;
|
|
1
|
+
{"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../../../../src/loaders/configure/configure.js"],"names":[],"mappings":"AAMA;;;;;;;;EA4BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureDependencies.d.ts","sourceRoot":"","sources":["../../../../src/loaders/features/featureDependencies.js"],"names":[],"mappings":"AAEA,kEAWC
|
|
1
|
+
{"version":3,"file":"featureDependencies.d.ts","sourceRoot":"","sources":["../../../../src/loaders/features/featureDependencies.js"],"names":[],"mappings":"AAEA,kEAWC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../../src/loaders/features/features.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../../src/loaders/features/features.js"],"names":[],"mappings":";;;;;;;;;;;AAYA;;;GAGG;AACH;;EAUC"}
|