@newrelic/browser-agent 0.1.231 → 1.232.1
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/README.md +2 -2
- package/dist/cjs/common/config/state/configurable.js +27 -21
- package/dist/cjs/common/config/state/init.js +8 -0
- package/dist/cjs/common/config/state/runtime.js +24 -26
- package/dist/cjs/common/constants/env.cdn.js +1 -1
- package/dist/cjs/common/constants/env.npm.js +1 -1
- package/dist/cjs/common/context/shared-context.js +2 -1
- package/dist/cjs/common/event-emitter/contextual-ee.test.js +2 -2
- package/dist/cjs/common/event-emitter/register-handler.test.js +1 -1
- package/dist/cjs/common/event-listener/event-listener-opts.js +4 -2
- package/dist/cjs/common/harvest/harvest-scheduler.js +14 -11
- package/dist/cjs/common/harvest/harvest.js +3 -1
- package/dist/cjs/common/session/constants.js +12 -0
- package/dist/cjs/common/session/session-entity.js +278 -0
- package/dist/cjs/common/session/session-entity.test.js +436 -0
- package/dist/cjs/common/storage/first-party-cookies.js +35 -0
- package/dist/cjs/common/storage/local-memory.js +35 -0
- package/dist/cjs/common/storage/local-memory.test.js +20 -0
- package/dist/cjs/common/storage/local-storage.js +33 -0
- package/dist/cjs/common/storage/local-storage.test.js +14 -0
- package/dist/cjs/common/timer/interaction-timer.js +78 -0
- package/dist/cjs/common/timer/interaction-timer.test.js +216 -0
- package/dist/cjs/common/timer/timer.js +32 -0
- package/dist/cjs/common/timer/timer.test.js +105 -0
- package/dist/cjs/common/unload/eol.js +2 -2
- package/dist/cjs/common/url/canonicalize-url.js +32 -0
- package/dist/cjs/common/url/canonicalize-url.test.js +42 -0
- package/dist/cjs/common/url/clean-url.js +10 -3
- package/dist/cjs/common/util/data-size.js +6 -0
- package/dist/cjs/common/util/data-size.test.js +47 -0
- package/dist/cjs/common/util/global-scope.js +4 -2
- package/dist/cjs/common/util/invoke.js +73 -0
- package/dist/cjs/common/util/invoke.test.js +49 -0
- package/dist/cjs/common/util/obfuscate.js +0 -4
- package/dist/cjs/common/window/page-visibility.js +3 -1
- package/dist/cjs/common/wrap/wrap-fetch.js +1 -3
- package/dist/cjs/common/wrap/wrap-function.js +1 -3
- package/dist/cjs/common/wrap/wrap-timer.js +1 -1
- package/dist/cjs/features/ajax/aggregate/index.js +2 -2
- package/dist/cjs/features/ajax/instrument/index.js +1 -1
- package/dist/cjs/features/jserrors/aggregate/canonical-function-name.js +12 -4
- package/dist/cjs/features/jserrors/aggregate/compute-stack-trace.js +93 -10
- package/dist/cjs/features/jserrors/aggregate/compute-stack-trace.test.js +164 -38
- package/dist/cjs/features/jserrors/aggregate/index.js +25 -46
- package/dist/cjs/features/jserrors/instrument/index.js +0 -2
- package/dist/cjs/features/metrics/aggregate/index.js +13 -2
- 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 +6 -6
- package/dist/cjs/features/session_trace/aggregate/index.js +3 -5
- package/dist/cjs/features/spa/aggregate/index.js +6 -5
- package/dist/cjs/features/utils/agent-session.js +73 -0
- package/dist/cjs/features/utils/feature-base.js +1 -1
- package/dist/cjs/features/utils/instrument-base.js +7 -2
- package/dist/cjs/features/utils/lazy-loader.js +1 -1
- package/dist/cjs/loaders/agent.js +1 -1
- package/dist/cjs/loaders/api/api.js +1 -4
- package/dist/cjs/loaders/api/apiAsync.js +3 -2
- package/dist/cjs/loaders/configure/configure.js +0 -6
- package/dist/esm/common/config/state/configurable.js +26 -20
- package/dist/esm/common/config/state/init.js +8 -0
- package/dist/esm/common/config/state/runtime.js +24 -26
- package/dist/esm/common/constants/env.cdn.js +1 -1
- package/dist/esm/common/constants/env.npm.js +1 -1
- package/dist/esm/common/context/shared-context.js +2 -1
- package/dist/esm/common/event-emitter/contextual-ee.test.js +2 -2
- package/dist/esm/common/event-emitter/register-handler.test.js +1 -1
- package/dist/esm/common/event-listener/event-listener-opts.js +4 -2
- package/dist/esm/common/harvest/harvest-scheduler.js +14 -11
- package/dist/esm/common/harvest/harvest.js +3 -1
- package/dist/esm/common/session/constants.js +3 -0
- package/dist/esm/common/session/session-entity.js +271 -0
- package/dist/esm/common/session/session-entity.test.js +434 -0
- package/dist/esm/common/storage/first-party-cookies.js +28 -0
- package/dist/esm/common/storage/local-memory.js +28 -0
- package/dist/esm/common/storage/local-memory.test.js +18 -0
- package/dist/esm/common/storage/local-storage.js +26 -0
- package/dist/esm/common/storage/local-storage.test.js +12 -0
- package/dist/esm/common/timer/interaction-timer.js +71 -0
- package/dist/esm/common/timer/interaction-timer.test.js +214 -0
- package/dist/esm/common/timer/timer.js +25 -0
- package/dist/esm/common/timer/timer.test.js +103 -0
- package/dist/esm/common/unload/eol.js +1 -1
- package/dist/esm/common/url/canonicalize-url.js +27 -0
- package/dist/esm/common/url/canonicalize-url.test.js +38 -0
- package/dist/esm/common/url/clean-url.js +10 -3
- package/dist/esm/common/util/data-size.js +7 -0
- package/dist/esm/common/util/data-size.test.js +45 -0
- package/dist/esm/common/util/global-scope.js +1 -0
- package/dist/esm/common/util/invoke.js +66 -0
- package/dist/esm/common/util/invoke.test.js +47 -0
- package/dist/esm/common/util/obfuscate.js +0 -4
- package/dist/esm/common/window/page-visibility.js +3 -1
- package/dist/esm/common/wrap/wrap-fetch.js +1 -2
- package/dist/esm/common/wrap/wrap-function.js +1 -2
- package/dist/esm/common/wrap/wrap-timer.js +1 -1
- package/dist/esm/features/ajax/aggregate/index.js +2 -2
- package/dist/esm/features/ajax/instrument/index.js +1 -1
- package/dist/esm/features/jserrors/aggregate/canonical-function-name.js +12 -4
- package/dist/esm/features/jserrors/aggregate/compute-stack-trace.js +93 -10
- package/dist/esm/features/jserrors/aggregate/compute-stack-trace.test.js +149 -25
- package/dist/esm/features/jserrors/aggregate/index.js +26 -46
- package/dist/esm/features/jserrors/instrument/index.js +0 -1
- package/dist/esm/features/metrics/aggregate/index.js +14 -3
- 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 +6 -6
- package/dist/esm/features/session_trace/aggregate/index.js +3 -4
- package/dist/esm/features/spa/aggregate/index.js +6 -5
- package/dist/esm/features/utils/agent-session.js +67 -0
- package/dist/esm/features/utils/feature-base.js +1 -1
- package/dist/esm/features/utils/instrument-base.js +7 -2
- package/dist/esm/features/utils/lazy-loader.js +1 -1
- package/dist/esm/loaders/agent.js +1 -1
- package/dist/esm/loaders/api/api.js +2 -5
- package/dist/esm/loaders/api/apiAsync.js +2 -1
- package/dist/esm/loaders/configure/configure.js +2 -8
- 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/context/shared-context.d.ts.map +1 -1
- package/dist/types/common/event-listener/event-listener-opts.d.ts +2 -2
- package/dist/types/common/event-listener/event-listener-opts.d.ts.map +1 -1
- package/dist/types/common/harvest/harvest-scheduler.d.ts +1 -0
- package/dist/types/common/harvest/harvest-scheduler.d.ts.map +1 -1
- package/dist/types/common/harvest/harvest.d.ts.map +1 -1
- package/dist/types/common/session/constants.d.ts +4 -0
- package/dist/types/common/session/constants.d.ts.map +1 -0
- package/dist/types/common/session/session-entity.d.ts +72 -0
- package/dist/types/common/session/session-entity.d.ts.map +1 -0
- package/dist/types/common/storage/first-party-cookies.d.ts +8 -0
- package/dist/types/common/storage/first-party-cookies.d.ts.map +1 -0
- package/dist/types/common/storage/local-memory.d.ts +8 -0
- package/dist/types/common/storage/local-memory.d.ts.map +1 -0
- package/dist/types/common/storage/local-storage.d.ts +6 -0
- package/dist/types/common/storage/local-storage.d.ts.map +1 -0
- package/dist/types/common/timer/interaction-timer.d.ts +11 -0
- package/dist/types/common/timer/interaction-timer.d.ts.map +1 -0
- package/dist/types/common/timer/timer.d.ts +12 -0
- package/dist/types/common/timer/timer.d.ts.map +1 -0
- package/dist/types/common/url/canonicalize-url.d.ts +9 -0
- package/dist/types/common/url/canonicalize-url.d.ts.map +1 -0
- package/dist/types/common/url/clean-url.d.ts +7 -1
- package/dist/types/common/url/clean-url.d.ts.map +1 -1
- package/dist/types/common/util/data-size.d.ts +7 -1
- package/dist/types/common/util/data-size.d.ts.map +1 -1
- package/dist/types/common/util/global-scope.d.ts +1 -0
- package/dist/types/common/util/global-scope.d.ts.map +1 -1
- package/dist/types/common/util/invoke.d.ts +35 -0
- package/dist/types/common/util/invoke.d.ts.map +1 -0
- package/dist/types/common/util/obfuscate.d.ts.map +1 -1
- package/dist/types/common/window/page-visibility.d.ts +1 -1
- package/dist/types/common/window/page-visibility.d.ts.map +1 -1
- package/dist/types/common/wrap/wrap-fetch.d.ts.map +1 -1
- package/dist/types/common/wrap/wrap-function.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/canonical-function-name.d.ts +8 -1
- package/dist/types/features/jserrors/aggregate/canonical-function-name.d.ts.map +1 -1
- package/dist/types/features/jserrors/aggregate/compute-stack-trace.d.ts +48 -19
- package/dist/types/features/jserrors/aggregate/compute-stack-trace.d.ts.map +1 -1
- package/dist/types/features/jserrors/aggregate/index.d.ts +14 -5
- package/dist/types/features/jserrors/aggregate/index.d.ts.map +1 -1
- package/dist/types/features/jserrors/instrument/index.d.ts.map +1 -1
- 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/page_action/aggregate/index.d.ts +3 -3
- 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_trace/aggregate/index.d.ts +2 -2
- package/dist/types/features/session_trace/aggregate/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 +2 -0
- package/dist/types/features/utils/agent-session.d.ts.map +1 -0
- package/dist/types/features/utils/instrument-base.d.ts.map +1 -1
- package/dist/types/features/utils/lazy-loader.d.ts +2 -2
- package/dist/types/features/utils/lazy-loader.d.ts.map +1 -1
- package/dist/types/loaders/api/api.d.ts.map +1 -1
- package/dist/types/loaders/api/apiAsync.d.ts.map +1 -1
- package/dist/types/loaders/configure/configure.d.ts.map +1 -1
- package/package.json +9 -8
- package/src/common/config/state/configurable.js +26 -19
- package/src/common/config/state/init.js +7 -0
- package/src/common/config/state/runtime.js +22 -27
- package/src/common/context/shared-context.js +2 -1
- package/src/common/event-emitter/contextual-ee.test.js +2 -2
- package/src/common/event-emitter/register-handler.test.js +1 -1
- package/src/common/event-listener/event-listener-opts.js +4 -4
- package/src/common/harvest/harvest-scheduler.js +12 -8
- package/src/common/harvest/harvest.js +3 -1
- package/src/common/session/constants.js +3 -0
- package/src/common/session/session-entity.js +271 -0
- package/src/common/session/session-entity.test.js +317 -0
- package/src/common/storage/first-party-cookies.js +31 -0
- package/src/common/storage/local-memory.js +30 -0
- package/src/common/storage/local-memory.test.js +19 -0
- package/src/common/storage/local-storage.js +28 -0
- package/src/common/storage/local-storage.test.js +17 -0
- package/src/common/timer/interaction-timer.js +75 -0
- package/src/common/timer/interaction-timer.test.js +167 -0
- package/src/common/timer/timer.js +31 -0
- package/src/common/timer/timer.test.js +100 -0
- package/src/common/unload/eol.js +1 -1
- package/src/common/url/canonicalize-url.js +28 -0
- package/src/common/url/canonicalize-url.test.js +34 -0
- package/src/common/url/clean-url.js +10 -3
- package/src/common/util/data-size.js +6 -0
- package/src/common/util/data-size.test.js +50 -0
- package/src/common/util/global-scope.js +2 -0
- package/src/common/util/invoke.js +55 -0
- package/src/common/util/invoke.test.js +65 -0
- package/src/common/util/obfuscate.js +0 -4
- package/src/common/window/page-visibility.js +2 -2
- package/src/common/wrap/wrap-fetch.js +1 -2
- package/src/common/wrap/wrap-function.js +1 -2
- package/src/common/wrap/wrap-timer.js +1 -1
- package/src/features/ajax/aggregate/index.js +2 -2
- package/src/features/ajax/instrument/index.js +1 -1
- package/src/features/jserrors/aggregate/canonical-function-name.js +12 -4
- package/src/features/jserrors/aggregate/compute-stack-trace.js +85 -11
- package/src/features/jserrors/aggregate/compute-stack-trace.test.js +141 -24
- package/src/features/jserrors/aggregate/index.js +24 -50
- package/src/features/jserrors/instrument/index.js +0 -1
- package/src/features/metrics/aggregate/index.js +18 -3
- package/src/features/page_action/aggregate/index.js +2 -2
- package/src/features/page_view_event/aggregate/index.js +6 -3
- package/src/features/page_view_timing/aggregate/index.js +6 -6
- package/src/features/session_trace/aggregate/index.js +3 -4
- package/src/features/spa/aggregate/index.js +5 -5
- package/src/features/utils/agent-session.js +68 -0
- package/src/features/utils/feature-base.js +1 -1
- package/src/features/utils/instrument-base.js +5 -2
- package/src/features/utils/lazy-loader.js +1 -1
- package/src/loaders/agent.js +1 -1
- package/src/loaders/api/api.js +2 -5
- package/src/loaders/api/apiAsync.js +2 -1
- package/src/loaders/configure/configure.js +2 -7
- package/dist/cjs/common/util/single.js +0 -23
- package/dist/cjs/common/window/session-storage.js +0 -87
- package/dist/cjs/features/utils/aggregate-base.js +0 -13
- package/dist/esm/common/util/single.js +0 -16
- package/dist/esm/common/window/session-storage.js +0 -77
- package/dist/esm/features/utils/aggregate-base.js +0 -6
- package/dist/types/common/util/single.d.ts +0 -2
- package/dist/types/common/util/single.d.ts.map +0 -1
- package/dist/types/common/window/session-storage.d.ts +0 -18
- package/dist/types/common/window/session-storage.d.ts.map +0 -1
- package/dist/types/features/utils/aggregate-base.d.ts +0 -4
- package/dist/types/features/utils/aggregate-base.d.ts.map +0 -1
- package/src/common/util/single.js +0 -18
- package/src/common/window/session-storage.js +0 -75
- package/src/features/utils/aggregate-base.js +0 -7
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export class SessionEntity {
|
|
2
|
+
/**
|
|
3
|
+
* Create a self-managing Session Entity. This entity is scoped to the agent identifier which triggered it, allowing for multiple simultaneous session objects to exist.
|
|
4
|
+
* There is one "namespace" an agent can store data in LS -- NRBA_{key}. If there are two agents on one page, and they both use the same key, they could overwrite each other since they would both use the same namespace in LS by default.
|
|
5
|
+
* The value can be overridden in the constructor, but will default to a unique 16 character hex string
|
|
6
|
+
* expiresMs and inactiveMs are used to "expire" the session, but can be overridden in the constructor. Pass 0 to disable expiration timers.
|
|
7
|
+
*/
|
|
8
|
+
constructor(opts: any);
|
|
9
|
+
setup({ agentIdentifier, key, value, expiresMs, inactiveMs, storageAPI }: {
|
|
10
|
+
agentIdentifier: any;
|
|
11
|
+
key: any;
|
|
12
|
+
value?: string | undefined;
|
|
13
|
+
expiresMs?: number | undefined;
|
|
14
|
+
inactiveMs?: number | undefined;
|
|
15
|
+
storageAPI?: LocalMemory | undefined;
|
|
16
|
+
}): void;
|
|
17
|
+
storage: LocalMemory | undefined;
|
|
18
|
+
agentIdentifier: any;
|
|
19
|
+
key: any;
|
|
20
|
+
value: string | undefined;
|
|
21
|
+
expiresMs: number | undefined;
|
|
22
|
+
inactiveMs: number | undefined;
|
|
23
|
+
ee: any;
|
|
24
|
+
expiresAt: any;
|
|
25
|
+
expiresTimer: Timer | undefined;
|
|
26
|
+
inactiveAt: any;
|
|
27
|
+
inactiveTimer: InteractionTimer | undefined;
|
|
28
|
+
isNew: boolean | undefined;
|
|
29
|
+
initialized: boolean | undefined;
|
|
30
|
+
get lookupKey(): string;
|
|
31
|
+
sync(data: any): void;
|
|
32
|
+
/**
|
|
33
|
+
* Fetch the stored values from the storage API tied to this entity
|
|
34
|
+
* @returns {Object}
|
|
35
|
+
*/
|
|
36
|
+
read(): Object;
|
|
37
|
+
/**
|
|
38
|
+
* Store data to the storage API tied to this entity
|
|
39
|
+
* To preseve existing attributes, the output of ...session.read()
|
|
40
|
+
* should be appended to the data argument
|
|
41
|
+
* @param {Object} data
|
|
42
|
+
* @returns {Object}
|
|
43
|
+
*/
|
|
44
|
+
write(data: Object): Object;
|
|
45
|
+
reset(): Object;
|
|
46
|
+
/**
|
|
47
|
+
* Refresh the inactivity timer data
|
|
48
|
+
*/
|
|
49
|
+
refresh(): void;
|
|
50
|
+
/**
|
|
51
|
+
* @param {number} timestamp
|
|
52
|
+
* @returns {boolean}
|
|
53
|
+
*/
|
|
54
|
+
isExpired(timestamp: number): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* @param {Object} data
|
|
57
|
+
* @returns {boolean}
|
|
58
|
+
*/
|
|
59
|
+
isInvalid(data: Object): boolean;
|
|
60
|
+
collectSM(type: any, data: any, useUpdatedAt: any): void;
|
|
61
|
+
/**
|
|
62
|
+
* @param {number} futureMs - The number of ms to use to generate a future timestamp
|
|
63
|
+
* @returns {number}
|
|
64
|
+
*/
|
|
65
|
+
getFutureTimestamp(futureMs: number): number;
|
|
66
|
+
syncCustomAttribute(key: any, value: any): void;
|
|
67
|
+
custom: any;
|
|
68
|
+
}
|
|
69
|
+
import { LocalMemory } from '../storage/local-memory';
|
|
70
|
+
import { Timer } from '../timer/timer';
|
|
71
|
+
import { InteractionTimer } from '../timer/interaction-timer';
|
|
72
|
+
//# sourceMappingURL=session-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-entity.d.ts","sourceRoot":"","sources":["../../../../src/common/session/session-entity.js"],"names":[],"mappings":"AAyBA;IACE;;;;;OAKG;IACH,uBAEC;IAED;;;;;;;aA6EC;IA3EsB,iCAAgC;IAKrD,qBAAsC;IAGtC,SAAc;IAEd,0BAAkB;IAElB,8BAA0B;IAC1B,+BAA4B;IAE5B,QAAiC;IAe/B,eAA6E;IAC7E,gCAO+B;IAS/B,gBAAgF;IAChF,4CAagC;IAOlC,2BAA6C;IAM7C,iCAAuB;IAIzB,wBAEC;IAED,sBAEC;IAED;;;OAGG;IACH,QAFa,MAAM,CA6BlB;IAED;;;;;;OAMG;IACH,YAHW,MAAM,GACJ,MAAM,CAgBlB;IAED,gBAyBC;IAED;;OAEG;IACH,gBAKC;IAED;;;OAGG;IACH,qBAHW,MAAM,GACJ,OAAO,CAInB;IAED;;;OAGG;IACH,gBAHW,MAAM,GACJ,OAAO,CAKnB;IAED,yDAYC;IAED;;;OAGG;IACH,6BAHW,MAAM,GACJ,MAAM,CAIlB;IAED,gDAaC;IAHG,YAAuD;CAI5D;4BAvQ2B,yBAAyB;sBAH/B,gBAAgB;iCAIL,4BAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"first-party-cookies.d.ts","sourceRoot":"","sources":["../../../../src/common/storage/first-party-cookies.js"],"names":[],"mappings":"AAAA;IACE,yBAEC;IADC,YAAoB;IAGtB,mCAOC;IAED,gCAOC;IAED,qCAMC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-memory.d.ts","sourceRoot":"","sources":["../../../../src/common/storage/local-memory.js"],"names":[],"mappings":"AAAA;IACE,+BAEC;IADC,UAAyB;IAG3B,mBAMC;IAED,gCAOC;IAED,uBAMC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-storage.d.ts","sourceRoot":"","sources":["../../../../src/common/storage/local-storage.js"],"names":[],"mappings":"AAAA;IACE,kCAQC;IAED,gCAOC;IAED,uBAMC;CACF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export class InteractionTimer extends Timer {
|
|
2
|
+
onRefresh: any;
|
|
3
|
+
onPause: any;
|
|
4
|
+
remainingMs: number | undefined;
|
|
5
|
+
abortController: AbortController | undefined;
|
|
6
|
+
abort(): void;
|
|
7
|
+
pause(): void;
|
|
8
|
+
refresh(cb: any, ms: any): void;
|
|
9
|
+
}
|
|
10
|
+
import { Timer } from './timer';
|
|
11
|
+
//# sourceMappingURL=interaction-timer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction-timer.d.ts","sourceRoot":"","sources":["../../../../src/common/timer/interaction-timer.js"],"names":[],"mappings":"AAKA;IAGI,eAA+B;IAC/B,aAA2B;IAG3B,gCAA4B;IAM1B,6CAA4C;IA+BhD,cAGC;IAED,cAIC;IAED,gCAMC;CAQF;sBA1EqB,SAAS"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export class Timer {
|
|
2
|
+
constructor(opts: any, ms: any);
|
|
3
|
+
onEnd: any;
|
|
4
|
+
initialMs: any;
|
|
5
|
+
startTimestamp: number;
|
|
6
|
+
timer: NodeJS.Timeout;
|
|
7
|
+
create(cb: any, ms: any): NodeJS.Timeout;
|
|
8
|
+
clear(): void;
|
|
9
|
+
end(): void;
|
|
10
|
+
isValid(): boolean;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=timer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timer.d.ts","sourceRoot":"","sources":["../../../../src/common/timer/timer.js"],"names":[],"mappings":"AACA;IACE,gCAQC;IALC,WAAuB;IACvB,eAAmB;IACnB,uBAAgC;IAEhC,sBAAwC;IAG1C,yCAGC;IAED,cAGC;IAED,YAGC;IAED,mBAEC;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a URL to its basic form without a query string or fragment. If the resulting URL is the same as the
|
|
3
|
+
* loader's origin URL, returns '<inline>'.
|
|
4
|
+
* @param {string} url - The URL to be canonicalized.
|
|
5
|
+
* @param {string} loaderOriginUrl - The origin URL of the agent loader, used for inline detection.
|
|
6
|
+
* @returns {string} The canonicalized URL, or '<inline>' if the URL matches the loader origin URL.
|
|
7
|
+
*/
|
|
8
|
+
export function canonicalizeUrl(url: string): string;
|
|
9
|
+
//# sourceMappingURL=canonicalize-url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"canonicalize-url.d.ts","sourceRoot":"","sources":["../../../../src/common/url/canonicalize-url.js"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,qCAJW,MAAM,GAEJ,MAAM,CAclB"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Cleans a URL by removing the query string and fragment (hash portion).
|
|
3
|
+
* @param {string} url - The original URL to be cleaned.
|
|
4
|
+
* @param {boolean} [keepHash=false] - Whether to preserve the hash portion of the URL.
|
|
5
|
+
* @returns {string} The cleaned URL.
|
|
6
|
+
*/
|
|
7
|
+
export function cleanURL(url: string, keepHash?: boolean | undefined): string;
|
|
2
8
|
//# sourceMappingURL=clean-url.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-url.d.ts","sourceRoot":"","sources":["../../../../src/common/url/clean-url.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"clean-url.d.ts","sourceRoot":"","sources":["../../../../src/common/url/clean-url.js"],"names":[],"mappings":"AAQA;;;;;GAKG;AACH,8BAJW,MAAM,mCAEJ,MAAM,CAIlB"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Returns the size of the provided data. Designed for measuring XHR responses.
|
|
3
|
+
*
|
|
4
|
+
* @param {*} data - The data to be measured.
|
|
5
|
+
* @returns {(number|undefined)} - The size of the data or undefined if size cannot be determined.
|
|
6
|
+
*/
|
|
7
|
+
export function dataSize(data: any): (number | undefined);
|
|
2
8
|
//# sourceMappingURL=data-size.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-size.d.ts","sourceRoot":"","sources":["../../../../src/common/util/data-size.js"],"names":[],"mappings":"AAOA,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-scope.d.ts","sourceRoot":"","sources":["../../../../src/common/util/global-scope.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"global-scope.d.ts","sourceRoot":"","sources":["../../../../src/common/util/global-scope.js"],"names":[],"mappings":"AAwBA;;;;;GAKG;AACH,yCAEC;AACD,mCAYC;AACD,oDAEC;AA9CD,qCAC2D;AAE3D,oCACgG;AAEhG,0CAYI;AAEJ,qCAAwD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reduce the invocation of the supplied function so that it is only invoked
|
|
3
|
+
* once within a given timeout.
|
|
4
|
+
*
|
|
5
|
+
* If `wait` is `0`, the function will be invoked during the next tick.
|
|
6
|
+
* If `options.leading` is false or not provided, the function will be invoked
|
|
7
|
+
* N milliseconds after the last invocation of the returned function where
|
|
8
|
+
* N is the `timeout` value.
|
|
9
|
+
* If `options.leading` is true, the function will be invoked immediately upon
|
|
10
|
+
* the first invocation of the returned function and not again for N milliseconds
|
|
11
|
+
* where N is the `timeout` value.
|
|
12
|
+
* @param {function} func Function whose invocation should be limited so it is only invoked
|
|
13
|
+
* once within a given timeout period.
|
|
14
|
+
* @param {number} timeout Time in milliseconds that the function should only be invoked
|
|
15
|
+
* once within.
|
|
16
|
+
* @param {object} options Debounce options
|
|
17
|
+
* @param {boolean} options.leading Forces the function to be invoked on the first
|
|
18
|
+
* invocation of the returned function instead of N milliseconds after the last
|
|
19
|
+
* invocation.
|
|
20
|
+
* @returns {function} A wrapping function that will ensure the provided function
|
|
21
|
+
* is invoked only once within the given timeout.
|
|
22
|
+
*/
|
|
23
|
+
export function debounce(func: Function, timeout?: number, options?: {
|
|
24
|
+
leading: boolean;
|
|
25
|
+
}): Function;
|
|
26
|
+
/**
|
|
27
|
+
* Reduce the invocation of the supplied function so that it is only invoked
|
|
28
|
+
* once.
|
|
29
|
+
* @param {function} func Function whose invocation should be limited so it is only invoked
|
|
30
|
+
* once.
|
|
31
|
+
* @returns {function} A wrapping function that will ensure the provided function
|
|
32
|
+
* is invoked only once.
|
|
33
|
+
*/
|
|
34
|
+
export function single(func: Function): Function;
|
|
35
|
+
//# sourceMappingURL=invoke.d.ts.map
|
|
@@ -0,0 +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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"obfuscate.d.ts","sourceRoot":"","sources":["../../../../src/common/util/obfuscate.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"obfuscate.d.ts","sourceRoot":"","sources":["../../../../src/common/util/obfuscate.js"],"names":[],"mappings":"AAiCA,sDAUC;AAGD,mDAsBC;AA3DD;IACE,2BAEC;IAGD,kCAcC;CACF;8BA7B6B,2BAA2B"}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* @param {boolean} [toHiddenOnly=false] - only execute the 'cb' when the vis is changing to the hidden state; no arg is passed to 'cb' if used
|
|
4
4
|
* @returns void
|
|
5
5
|
*/
|
|
6
|
-
export function subscribeToVisibilityChange(cb: Function, toHiddenOnly?: boolean | undefined): void;
|
|
6
|
+
export function subscribeToVisibilityChange(cb: Function, toHiddenOnly?: boolean | undefined, capture: any, abortSignal: any): void;
|
|
7
7
|
//# sourceMappingURL=page-visibility.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-visibility.d.ts","sourceRoot":"","sources":["../../../../src/common/window/page-visibility.js"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"page-visibility.d.ts","sourceRoot":"","sources":["../../../../src/common/window/page-visibility.js"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,oIAWC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrap-fetch.d.ts","sourceRoot":"","sources":["../../../../src/common/wrap/wrap-fetch.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wrap-fetch.d.ts","sourceRoot":"","sources":["../../../../src/common/wrap/wrap-fetch.js"],"names":[],"mappings":"AAsBA;;;;;;;GAOG;AACH,oCAJW,MAAM,GAEJ,MAAM,CAqElB;AAED;;;;;;GAMG;AACH,mCAJW,MAAM,GAEJ,MAAM,CAIlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrap-function.d.ts","sourceRoot":"","sources":["../../../../src/common/wrap/wrap-function.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wrap-function.d.ts","sourceRoot":"","sources":["../../../../src/common/wrap/wrap-function.js"],"names":[],"mappings":"AA0BA;;;;;GAKG;AACH,+EAHW,OAAO,YAkIjB;AA6DD;;;;;;;GAOG;AACH,wEAKC;AAED;;;;;;;GAOG;AACH,iCALW,MAAM,UACN,MAAM,2BAOhB;AA7OD,iCAAiC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class Aggregate extends
|
|
1
|
+
export class Aggregate extends FeatureBase {
|
|
2
2
|
static featureName: string;
|
|
3
3
|
constructor(agentIdentifier: any, aggregator: any);
|
|
4
4
|
storeXhr: (params: any, metrics: any, startTime: any, endTime: any, type: any) => void;
|
|
@@ -12,5 +12,5 @@ export class Aggregate extends AggregateBase {
|
|
|
12
12
|
spaAjaxEvents: {};
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
import {
|
|
15
|
+
import { FeatureBase } from '../../utils/feature-base';
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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;4BAxO2B,0BAA0B"}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Given a function name string, extracts only an alphanumeric segment at the end of the string (if one exists).
|
|
3
|
+
* This is useful for stack traces, where functions might not be named (e.g., anonymous, computed).
|
|
4
|
+
*
|
|
5
|
+
* @param {string} functionNameString - The original function name string.
|
|
6
|
+
* @returns {string|undefined} The canonical function name, or undefined if the input is falsy or no alphanumeric segments are found.
|
|
7
|
+
*/
|
|
8
|
+
export function canonicalFunctionName(functionNameString: string): string | undefined;
|
|
2
9
|
//# sourceMappingURL=canonical-function-name.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonical-function-name.d.ts","sourceRoot":"","sources":["../../../../../src/features/jserrors/aggregate/canonical-function-name.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"canonical-function-name.d.ts","sourceRoot":"","sources":["../../../../../src/features/jserrors/aggregate/canonical-function-name.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,0DAHW,MAAM,GACJ,MAAM,GAAC,SAAS,CAS5B"}
|
|
@@ -1,22 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Represents an error with a stack trace.
|
|
3
|
+
* @typedef {Object} StackInfo
|
|
4
|
+
* @property {string} name - The name of the error (e.g. 'TypeError').
|
|
5
|
+
* @property {string} message - The error message.
|
|
6
|
+
* @property {string} stackString - The stack trace as a string.
|
|
7
|
+
* @property {Array<Object>} frames - An array of frames in the stack trace.
|
|
8
|
+
* @property {string} frames.url - The URL of the file containing the code for the frame.
|
|
9
|
+
* @property {string} frames.func - The name of the function associated with the frame.
|
|
10
|
+
* @property {number} frames.line - The line number of the code in the frame.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Attempts to compute a stack trace for the given exception.
|
|
14
|
+
* @param {Error} ex - The exception for which to compute the stack trace.
|
|
15
|
+
* @returns {StackInfo} A stack trace object containing information about the frames on the stack.
|
|
16
|
+
*/
|
|
17
|
+
export function computeStackTrace(ex: Error): StackInfo;
|
|
18
|
+
/**
|
|
19
|
+
* Represents an error with a stack trace.
|
|
20
|
+
*/
|
|
21
|
+
export type StackInfo = {
|
|
22
|
+
/**
|
|
23
|
+
* - The name of the error (e.g. 'TypeError').
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* - The error message.
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
* - The stack trace as a string.
|
|
32
|
+
*/
|
|
7
33
|
stackString: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
34
|
+
/**
|
|
35
|
+
* - An array of frames in the stack trace.
|
|
36
|
+
*/
|
|
37
|
+
frames: Array<Object>;
|
|
38
|
+
/**
|
|
39
|
+
* - The URL of the file containing the code for the frame.
|
|
40
|
+
*/
|
|
41
|
+
url: string;
|
|
42
|
+
/**
|
|
43
|
+
* - The name of the function associated with the frame.
|
|
44
|
+
*/
|
|
45
|
+
func: string;
|
|
46
|
+
/**
|
|
47
|
+
* - The line number of the code in the frame.
|
|
48
|
+
*/
|
|
49
|
+
line: number;
|
|
21
50
|
};
|
|
22
51
|
//# sourceMappingURL=compute-stack-trace.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute-stack-trace.d.ts","sourceRoot":"","sources":["../../../../../src/features/jserrors/aggregate/compute-stack-trace.js"],"names":[],"mappings":"
|
|
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,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {import('./compute-stack-trace.js').StackInfo} StackInfo
|
|
3
|
+
*/
|
|
4
|
+
export class Aggregate extends FeatureBase {
|
|
2
5
|
static featureName: string;
|
|
3
6
|
constructor(agentIdentifier: any, aggregator: any);
|
|
4
7
|
stackReported: {};
|
|
@@ -13,12 +16,18 @@ export class Aggregate extends AggregateBase {
|
|
|
13
16
|
onHarvestFinished(result: any): void;
|
|
14
17
|
nameHash(params: any): number;
|
|
15
18
|
getBucketName(params: any, customParams: any): string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Builds a standardized stack trace string from the frames in the given `stackInfo` object, with each frame separated
|
|
21
|
+
* by a newline character. Lines take the form `<functionName>@<url>:<lineNumber>`.
|
|
22
|
+
*
|
|
23
|
+
* @param {StackInfo} stackInfo - An object specifying a stack string and individual frames.
|
|
24
|
+
* @returns {string} A canonical stack string built from the URLs and function names in the given `stackInfo` object.
|
|
25
|
+
*/
|
|
26
|
+
buildCanonicalStackString(stackInfo: StackInfo): string;
|
|
19
27
|
storeError(err: any, time: any, internal: any, customAttributes: any): void;
|
|
20
28
|
onInteractionSaved(interaction: any): void;
|
|
21
29
|
onInteractionDiscarded(interaction: any): void;
|
|
22
30
|
}
|
|
23
|
-
|
|
31
|
+
export type StackInfo = import('./compute-stack-trace.js').StackInfo;
|
|
32
|
+
import { FeatureBase } from '../../utils/feature-base';
|
|
24
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":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/jserrors/aggregate/index.js"],"names":[],"mappings":"AAwBA;;GAEG;AAEH;IACE,2BAAiC;IACjC,mDAmCC;IAhCC,kBAAuB;IACvB,qBAA0B;IAC1B,eAAoB;IAEpB,qBAAwB;IA8B1B;;;MAoBC;IAfG,iBAAuB;IAiB3B,qCAWC;IAED,8BAEC;IAED,sDAEC;IAED;;;;;;OAMG;IACH,qCAHW,SAAS,GACP,MAAM,CAgBlB;IAED,4EAsFC;IAED,2CAgCC;IAED,+CA2BC;CACF;wBAlQY,OAAO,0BAA0B,EAAE,SAAS;4BAH7B,0BAA0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/jserrors/instrument/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/jserrors/instrument/index.js"],"names":[],"mappings":"AAkBA;IACE,2BAAiC;IACjC,mEAgDC;IA5CC,iBAAiB;IAGf,2CAA0C;IAyB5C,iCAAsC;IActC,yBAA+B;IAUjC;;;;;;;;;OASG;IACH,wBAPW,MAAM,YACN,MAAM,UACN,MAAM,UACN,MAAM,YACN,KAAK,MAAI,2BAiBnB;;CACF;+BA3F8B,6BAA6B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class Aggregate extends
|
|
1
|
+
export class Aggregate extends FeatureBase {
|
|
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 AggregateBase {
|
|
|
8
8
|
unload(): void;
|
|
9
9
|
resourcesSent: boolean | undefined;
|
|
10
10
|
}
|
|
11
|
-
import {
|
|
11
|
+
import { FeatureBase } from '../../utils/feature-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":"AAeA;IACE,2BAAiC;IACjC,mDAsBC;IAED,wDAKC;IAED,iDAKC;IAED,qBA2BC;IAED,0BAQC;IAED,eAoDC;IA5CG,mCAAyB;CA6C9B;4BAvI2B,0BAA0B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class Aggregate extends
|
|
1
|
+
export class Aggregate extends FeatureBase {
|
|
2
2
|
static featureName: string;
|
|
3
3
|
constructor(agentIdentifier: any, aggregator: any);
|
|
4
4
|
eventsPerMinute: number;
|
|
@@ -6,7 +6,7 @@ export class Aggregate extends AggregateBase {
|
|
|
6
6
|
eventsPerHarvest: number;
|
|
7
7
|
events: any[];
|
|
8
8
|
att: any;
|
|
9
|
-
referrerUrl:
|
|
9
|
+
referrerUrl: string | undefined;
|
|
10
10
|
onHarvestStarted(options: any): {
|
|
11
11
|
qs: {
|
|
12
12
|
ua: any;
|
|
@@ -20,5 +20,5 @@ export class Aggregate extends AggregateBase {
|
|
|
20
20
|
onHarvestFinished(result: any): void;
|
|
21
21
|
addPageAction(t: any, name: any, attributes: any): void;
|
|
22
22
|
}
|
|
23
|
-
import {
|
|
23
|
+
import { FeatureBase } from '../../utils/feature-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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_action/aggregate/index.js"],"names":[],"mappings":"AAgBA;IACE,2BAAiC;IACjC,mDA2BC;IAzBC,wBAA0B;IAC1B,wBAAsL;IACtL,yBAA2E;IAI3E,cAAgB;IAEhB,SAAqD;IAEZ,gCAA8C;IAiBzF;;;;;;;;MAkBC;IALG,wCAAgC;IAOpC,qCAKC;IAGD,wDAoCC;CACF;4BAlG2B,0BAA0B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export class Aggregate extends
|
|
1
|
+
export class Aggregate extends FeatureBase {
|
|
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 { FeatureBase } from '../../utils/feature-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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/page_view_event/aggregate/index.js"],"names":[],"mappings":"AAoBA;IACE,2BAA2C;IAC3C,mDA2BC;IAvBG,iCAAwB;IAyB5B,8BAEC;IAED,gBAyFC;CACF;4BAjI2B,0BAA0B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class Aggregate extends
|
|
1
|
+
export class Aggregate extends FeatureBase {
|
|
2
2
|
static featureName: string;
|
|
3
3
|
constructor(agentIdentifier: any, aggregator: any);
|
|
4
4
|
timings: any[];
|
|
@@ -27,6 +27,6 @@ export class Aggregate extends AggregateBase {
|
|
|
27
27
|
} | undefined;
|
|
28
28
|
getPayload(data: any): string;
|
|
29
29
|
}
|
|
30
|
-
import {
|
|
30
|
+
import { FeatureBase } from '../../utils/feature-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;4BA7O2B,0BAA0B;iCARrB,2CAA2C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class Aggregate extends
|
|
1
|
+
export class Aggregate extends FeatureBase {
|
|
2
2
|
static featureName: string;
|
|
3
3
|
constructor(agentIdentifier: any, aggregator: any);
|
|
4
4
|
ptid: string | undefined;
|
|
@@ -73,5 +73,5 @@ export class Aggregate extends AggregateBase {
|
|
|
73
73
|
trivial(node: any): boolean;
|
|
74
74
|
shouldIgnoreEvent(event: any, target: any): boolean;
|
|
75
75
|
}
|
|
76
|
-
import {
|
|
76
|
+
import { FeatureBase } from '../../utils/feature-base';
|
|
77
77
|
//# 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":"AAiBA;IACE,2BAAiC;IACjC,mDAoHC;IA7GC,yBAAc;IACd;;;;;;;;;;;;kBAOC;IACD;;;;;kBAKC;IACD;;;;;;;;;;;;;;;;;;;;;;;;kBAwBC;IAED,sBAAe;IACf,8BAAkB;IAClB,iCAAqB;IACrB,wBAA0G;IAC1G,wBAA4G;IAE5G,8BAAkB;IAgEpB,oDAKC;IAED,2BAuBC;IAED,+DAaC;IAED,oFAmBC;IAED,wBAQC;IAED,uCAqBC;IAED,gDAUC;IAED,qCAoBC;IAED,qEAUC;IAED,mEAUC;IAED,yBASC;IAED,sCASC;IAED,yBAmCC;IAED,gCAEC;IAED,+DAyBC;IAED,+BAEC;IAED,6BAEC;IAED,uCAEC;IAED,4BAIC;IAED,oDAMC;CACF;4BA5Y2B,0BAA0B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class Aggregate extends
|
|
1
|
+
export class Aggregate extends FeatureBase {
|
|
2
2
|
static featureName: string;
|
|
3
3
|
constructor(agentIdentifier: any, aggregator: any);
|
|
4
4
|
state: {
|
|
@@ -20,6 +20,6 @@ export class Aggregate extends AggregateBase {
|
|
|
20
20
|
};
|
|
21
21
|
serializer: Serializer;
|
|
22
22
|
}
|
|
23
|
-
import {
|
|
23
|
+
import { FeatureBase } from '../../utils/feature-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;4BA5sB2B,0BAA0B;2BAL3B,cAAc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-session.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/agent-session.js"],"names":[],"mappings":"AAWA,6DAwDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrument-base.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/instrument-base.js"],"names":[],"mappings":"AAYA;;;GAGG;AACH;IACE;;;;;;;;OAQG;IACH,6BAPW,MAAM,uCAEN,MAAM,8BAchB;IAPC,uBAA0B;IAC1B,cAAgB;IAEhB,8IAA8I;IAC9I,cADW,WAAW,SAAS,CACd;IAKnB;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"instrument-base.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/instrument-base.js"],"names":[],"mappings":"AAYA;;;GAGG;AACH;IACE;;;;;;;;OAQG;IACH,6BAPW,MAAM,uCAEN,MAAM,8BAchB;IAPC,uBAA0B;IAC1B,cAAgB;IAEhB,8IAA8I;IAC9I,cADW,WAAW,SAAS,CACd;IAKnB;;;OAGG;IACH,yBA4BC;CACF;4BA/D2B,gBAAgB"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* should be.
|
|
8
8
|
* @param featureName Name of the feature to import such as ajax or session_trace
|
|
9
9
|
* @param featurePart Name of the feature part to load; should be either instrument or aggregate
|
|
10
|
-
* @returns {Promise<InstrumentBase|
|
|
10
|
+
* @returns {Promise<InstrumentBase|FeatureBase|null>}
|
|
11
11
|
*/
|
|
12
|
-
export function lazyLoader(featureName: any, featurePart: any): Promise<InstrumentBase |
|
|
12
|
+
export function lazyLoader(featureName: any, featurePart: any): Promise<InstrumentBase | FeatureBase | null>;
|
|
13
13
|
//# sourceMappingURL=lazy-loader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lazy-loader.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/lazy-loader.js"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,gEAFa,QAAQ,
|
|
1
|
+
{"version":3,"file":"lazy-loader.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/lazy-loader.js"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,gEAFa,QAAQ,+BAA2B,IAAI,CAAC,CAyBpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/loaders/api/api.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/loaders/api/api.js"],"names":[],"mappings":"AAkBA,2CAoBC;AAED;;;;;IA0DE;;;;OAIG;qBAFQ,MAAM;;;EAuElB;AA3JD,0CAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiAsync.d.ts","sourceRoot":"","sources":["../../../../src/loaders/api/apiAsync.js"],"names":[],"mappings":"AAUA,
|
|
1
|
+
{"version":3,"file":"apiAsync.d.ts","sourceRoot":"","sources":["../../../../src/loaders/api/apiAsync.js"],"names":[],"mappings":"AAUA,mDAkFC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../../../../src/loaders/configure/configure.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../../../../src/loaders/configure/configure.js"],"names":[],"mappings":"AAMA;;;;;;;;EA2BC"}
|