@microsoft/applicationinsights-properties-js 2.7.2-nightly.2111-09 → 2.7.2-nightly.2111-10
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/browser/applicationinsights-properties-js.integrity.json +9 -9
- package/browser/applicationinsights-properties-js.js +2 -2
- package/browser/applicationinsights-properties-js.js.map +1 -1
- package/browser/applicationinsights-properties-js.min.js +2 -2
- package/browser/applicationinsights-properties-js.min.js.map +1 -1
- package/dist/applicationinsights-properties-js.d.ts +1 -1
- package/dist/applicationinsights-properties-js.js +2 -2
- package/dist/applicationinsights-properties-js.js.map +1 -1
- package/dist/applicationinsights-properties-js.min.js +2 -2
- package/dist/applicationinsights-properties-js.min.js.map +1 -1
- package/dist/applicationinsights-properties-js.rollup.d.ts +1 -1
- package/dist-esm/Context/Application.js +1 -1
- package/dist-esm/Context/Device.js +1 -1
- package/dist-esm/Context/Internal.js +2 -2
- package/dist-esm/Context/Internal.js.map +1 -1
- package/dist-esm/Context/Location.js +1 -1
- package/dist-esm/Context/Session.js +1 -1
- package/dist-esm/Context/TelemetryTrace.js +1 -1
- package/dist-esm/Context/User.js +1 -1
- package/dist-esm/Interfaces/IPropTelemetryContext.js +1 -1
- package/dist-esm/Interfaces/ITelemetryConfig.js +1 -1
- package/dist-esm/PropertiesPlugin.js +1 -1
- package/dist-esm/TelemetryContext.js +1 -1
- package/dist-esm/applicationinsights-properties-js.js +1 -1
- package/package.json +3 -3
- package/src/Context/Internal.ts +1 -1
- package/Tests/Unit/src/SessionManager.Tests.ts +0 -375
- package/Tests/Unit/src/prop.tests.ts +0 -11
- package/Tests/Unit/src/properties.tests.ts +0 -697
- package/Tests/Unit/src/propertiesSize.tests.ts +0 -59
- package/Tests/UnitTests.html +0 -53
- package/Tests/tsconfig.json +0 -13
- package/api-extractor.json +0 -361
- package/applicationinsights-properties-js.build.error.log +0 -18
- package/applicationinsights-properties-js.build.log +0 -365
- package/rollup.config.js +0 -139
- package/temp/applicationinsights-properties-js.api.md +0 -180
- package/tslint.json +0 -8
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
## API Report File for "@microsoft/applicationinsights-properties-js"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { BaseTelemetryPlugin } from '@microsoft/applicationinsights-core-js';
|
|
8
|
-
import { IAppInsightsCore } from '@microsoft/applicationinsights-core-js';
|
|
9
|
-
import { IApplication } from '@microsoft/applicationinsights-common';
|
|
10
|
-
import { IConfig } from '@microsoft/applicationinsights-common';
|
|
11
|
-
import { IConfiguration } from '@microsoft/applicationinsights-core-js';
|
|
12
|
-
import { IDevice } from '@microsoft/applicationinsights-common';
|
|
13
|
-
import { IDiagnosticLogger } from '@microsoft/applicationinsights-core-js';
|
|
14
|
-
import { IInternal } from '@microsoft/applicationinsights-common';
|
|
15
|
-
import { ILocation } from '@microsoft/applicationinsights-common';
|
|
16
|
-
import { IOperatingSystem } from '@microsoft/applicationinsights-common';
|
|
17
|
-
import { IPlugin } from '@microsoft/applicationinsights-core-js';
|
|
18
|
-
import { IProcessTelemetryContext } from '@microsoft/applicationinsights-core-js';
|
|
19
|
-
import { IPropertiesPlugin } from '@microsoft/applicationinsights-common';
|
|
20
|
-
import { ISession } from '@microsoft/applicationinsights-common';
|
|
21
|
-
import { ITelemetryContext } from '@microsoft/applicationinsights-common';
|
|
22
|
-
import { ITelemetryItem } from '@microsoft/applicationinsights-core-js';
|
|
23
|
-
import { ITelemetryPluginChain } from '@microsoft/applicationinsights-core-js';
|
|
24
|
-
import { ITelemetryTrace } from '@microsoft/applicationinsights-common';
|
|
25
|
-
import { ITraceState } from '@microsoft/applicationinsights-common';
|
|
26
|
-
import { IUserContext } from '@microsoft/applicationinsights-common';
|
|
27
|
-
import { IWeb } from '@microsoft/applicationinsights-common';
|
|
28
|
-
|
|
29
|
-
// @public (undocumented)
|
|
30
|
-
export interface IPropTelemetryContext extends ITelemetryContext {
|
|
31
|
-
// (undocumented)
|
|
32
|
-
applyApplicationContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
33
|
-
// (undocumented)
|
|
34
|
-
applyDeviceContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
35
|
-
// (undocumented)
|
|
36
|
-
applyInternalContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
37
|
-
// (undocumented)
|
|
38
|
-
applyLocationContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
39
|
-
// (undocumented)
|
|
40
|
-
applyOperatingSystemContxt(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
41
|
-
// (undocumented)
|
|
42
|
-
applyOperationContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
43
|
-
// (undocumented)
|
|
44
|
-
applySessionContext(evt: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
45
|
-
// (undocumented)
|
|
46
|
-
applyUserContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
47
|
-
// (undocumented)
|
|
48
|
-
applyWebContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
49
|
-
// (undocumented)
|
|
50
|
-
cleanUp(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
51
|
-
// (undocumented)
|
|
52
|
-
readonly sessionManager: SessionManager;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// @public (undocumented)
|
|
56
|
-
export interface ISessionConfig {
|
|
57
|
-
// @deprecated (undocumented)
|
|
58
|
-
cookieDomain?: () => string;
|
|
59
|
-
// (undocumented)
|
|
60
|
-
getNewId?: () => (idLength?: number) => string;
|
|
61
|
-
// (undocumented)
|
|
62
|
-
idLength?: () => number;
|
|
63
|
-
// (undocumented)
|
|
64
|
-
namePrefix?: () => string;
|
|
65
|
-
// (undocumented)
|
|
66
|
-
sessionCookiePostfix?: () => string;
|
|
67
|
-
// (undocumented)
|
|
68
|
-
sessionExpirationMs?: () => number;
|
|
69
|
-
// (undocumented)
|
|
70
|
-
sessionRenewalMs?: () => number;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// @public (undocumented)
|
|
74
|
-
export class PropertiesPlugin extends BaseTelemetryPlugin implements IPropertiesPlugin {
|
|
75
|
-
constructor();
|
|
76
|
-
// (undocumented)
|
|
77
|
-
context: IPropTelemetryContext;
|
|
78
|
-
// Warning: (ae-forgotten-export) The symbol "ITelemetryConfig" needs to be exported by the entry point applicationinsights-properties-js.d.ts
|
|
79
|
-
//
|
|
80
|
-
// (undocumented)
|
|
81
|
-
static getDefaultConfig(): ITelemetryConfig;
|
|
82
|
-
// (undocumented)
|
|
83
|
-
identifier: string;
|
|
84
|
-
// (undocumented)
|
|
85
|
-
initialize(config: IConfiguration & IConfig, core: IAppInsightsCore, extensions: IPlugin[], pluginChain?: ITelemetryPluginChain): void;
|
|
86
|
-
// (undocumented)
|
|
87
|
-
priority: number;
|
|
88
|
-
processTelemetry(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// @public (undocumented)
|
|
92
|
-
export class Session implements ISession {
|
|
93
|
-
acquisitionDate?: number;
|
|
94
|
-
id?: string;
|
|
95
|
-
renewalDate?: number;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// @public (undocumented)
|
|
99
|
-
export class SessionManager {
|
|
100
|
-
constructor(config: ISessionConfig, core?: IAppInsightsCore);
|
|
101
|
-
// (undocumented)
|
|
102
|
-
static acquisitionSpan: number;
|
|
103
|
-
// (undocumented)
|
|
104
|
-
automaticSession: Session;
|
|
105
|
-
backup(): void;
|
|
106
|
-
// (undocumented)
|
|
107
|
-
config: ISessionConfig;
|
|
108
|
-
// (undocumented)
|
|
109
|
-
static cookieUpdateInterval: number;
|
|
110
|
-
// (undocumented)
|
|
111
|
-
static renewalSpan: number;
|
|
112
|
-
// (undocumented)
|
|
113
|
-
update(): void;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
// @public (undocumented)
|
|
117
|
-
export class TelemetryContext implements IPropTelemetryContext {
|
|
118
|
-
constructor(core: IAppInsightsCore, defaultConfig: ITelemetryConfig);
|
|
119
|
-
// (undocumented)
|
|
120
|
-
appId: () => string;
|
|
121
|
-
// (undocumented)
|
|
122
|
-
application: IApplication;
|
|
123
|
-
// (undocumented)
|
|
124
|
-
applyApplicationContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
125
|
-
// (undocumented)
|
|
126
|
-
applyDeviceContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
127
|
-
// (undocumented)
|
|
128
|
-
applyInternalContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
129
|
-
// (undocumented)
|
|
130
|
-
applyLocationContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
131
|
-
// (undocumented)
|
|
132
|
-
applyOperatingSystemContxt(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
133
|
-
// (undocumented)
|
|
134
|
-
applyOperationContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
135
|
-
// (undocumented)
|
|
136
|
-
applySessionContext(evt: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
137
|
-
// (undocumented)
|
|
138
|
-
applyUserContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
139
|
-
// (undocumented)
|
|
140
|
-
applyWebContext(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
141
|
-
// (undocumented)
|
|
142
|
-
cleanUp(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
143
|
-
// (undocumented)
|
|
144
|
-
device: IDevice;
|
|
145
|
-
// (undocumented)
|
|
146
|
-
getSessionId: () => string;
|
|
147
|
-
// (undocumented)
|
|
148
|
-
internal: IInternal;
|
|
149
|
-
// (undocumented)
|
|
150
|
-
location: ILocation;
|
|
151
|
-
// (undocumented)
|
|
152
|
-
os: IOperatingSystem;
|
|
153
|
-
// (undocumented)
|
|
154
|
-
session: ISession;
|
|
155
|
-
// (undocumented)
|
|
156
|
-
sessionManager: SessionManager;
|
|
157
|
-
// (undocumented)
|
|
158
|
-
telemetryTrace: ITelemetryTrace;
|
|
159
|
-
// (undocumented)
|
|
160
|
-
user: IUserContext;
|
|
161
|
-
// (undocumented)
|
|
162
|
-
web: IWeb;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// @public (undocumented)
|
|
166
|
-
export class TelemetryTrace implements ITelemetryTrace {
|
|
167
|
-
constructor(id?: string, parentId?: string, name?: string, logger?: IDiagnosticLogger);
|
|
168
|
-
// (undocumented)
|
|
169
|
-
name: string;
|
|
170
|
-
// (undocumented)
|
|
171
|
-
parentID: string;
|
|
172
|
-
// (undocumented)
|
|
173
|
-
traceID: string;
|
|
174
|
-
// (undocumented)
|
|
175
|
-
traceState: ITraceState;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
// (No @packageDocumentation comment for this package)
|
|
179
|
-
|
|
180
|
-
```
|