@microsoft/applicationinsights-web-basic 2.8.0-beta.2203-10 → 2.8.0-beta.2203-13
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/aib.2.8.0-beta.2203-13.integrity.json +26 -0
- package/browser/{aib.2.8.0-beta.2203-10.js → aib.2.8.0-beta.2203-13.js} +157 -152
- package/browser/aib.2.8.0-beta.2203-13.js.map +1 -0
- package/browser/aib.2.8.0-beta.2203-13.min.js +6 -0
- package/browser/aib.2.8.0-beta.2203-13.min.js.map +1 -0
- package/browser/aib.2.js +156 -151
- package/browser/aib.2.js.map +1 -1
- package/browser/aib.2.min.js +2 -2
- package/browser/aib.2.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.api.json +3417 -278
- package/dist/applicationinsights-web-basic.api.md +322 -9
- package/dist/applicationinsights-web-basic.d.ts +57 -6
- package/dist/applicationinsights-web-basic.js +156 -151
- package/dist/applicationinsights-web-basic.js.map +1 -1
- package/dist/applicationinsights-web-basic.min.js +2 -2
- package/dist/applicationinsights-web-basic.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.rollup.d.ts +64 -13
- package/dist-esm/index.js +47 -57
- package/dist-esm/index.js.map +1 -1
- package/package.json +8 -6
- package/src/index.ts +203 -0
- package/tsconfig.json +7 -3
- package/types/index.d.ts +34 -5
- package/types/tsdoc-metadata.json +1 -1
- package/browser/aib.2.8.0-beta.2203-10.integrity.json +0 -26
- package/browser/aib.2.8.0-beta.2203-10.js.map +0 -1
- package/browser/aib.2.8.0-beta.2203-10.min.js +0 -6
- package/browser/aib.2.8.0-beta.2203-10.min.js.map +0 -1
- package/index.ts +0 -125
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IConfiguration, ITelemetryItem } from "@microsoft/applicationinsights-core-js";
|
|
1
|
+
import { IConfiguration, ITelemetryItem, UnloadHandler, IPlugin, ITelemetryPlugin, ILoadedPlugin } from "@microsoft/applicationinsights-core-js";
|
|
2
2
|
import { IConfig } from "@microsoft/applicationinsights-common";
|
|
3
3
|
/**
|
|
4
4
|
* @export
|
|
@@ -6,7 +6,6 @@ import { IConfig } from "@microsoft/applicationinsights-common";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class ApplicationInsights {
|
|
8
8
|
config: IConfiguration & IConfig;
|
|
9
|
-
private core;
|
|
10
9
|
/**
|
|
11
10
|
* Creates an instance of ApplicationInsights.
|
|
12
11
|
* @param {IConfiguration & IConfig} config
|
|
@@ -32,10 +31,40 @@ export declare class ApplicationInsights {
|
|
|
32
31
|
* @memberof ApplicationInsights
|
|
33
32
|
*/
|
|
34
33
|
flush(async?: boolean): void;
|
|
35
|
-
|
|
34
|
+
pollInternalLogs(): void;
|
|
36
35
|
stopPollingInternalLogs(): void;
|
|
37
|
-
|
|
36
|
+
getSKUDefaults(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Unload and Tear down the SDK and any initialized plugins, after calling this the SDK will be considered
|
|
39
|
+
* to be un-initialized and non-operational, re-initializing the SDK should only be attempted if the previous
|
|
40
|
+
* unload call return `true` stating that all plugins reported that they also unloaded, the recommended
|
|
41
|
+
* approach is to create a new instance and initialize that instance.
|
|
42
|
+
* This is due to possible unexpected side effects caused by plugins not supporting unload / teardown, unable
|
|
43
|
+
* to successfully remove any global references or they may just be completing the unload process asynchronously.
|
|
44
|
+
*/
|
|
45
|
+
unload(isAsync?: boolean, unloadComplete?: () => void): void;
|
|
46
|
+
/**
|
|
47
|
+
* Find and return the (first) plugin with the specified identifier if present
|
|
48
|
+
* @param pluginIdentifier
|
|
49
|
+
*/
|
|
50
|
+
getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
|
|
51
|
+
/**
|
|
52
|
+
* Add a new plugin to the installation
|
|
53
|
+
* @param plugin - The new plugin to add
|
|
54
|
+
* @param replaceExisting - should any existing plugin be replaced
|
|
55
|
+
* @param doAsync - Should the add be performed asynchronously
|
|
56
|
+
*/
|
|
57
|
+
addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting: boolean, doAsync: boolean, addCb?: (added?: boolean) => void): void;
|
|
58
|
+
/**
|
|
59
|
+
* Returns the unique event namespace that should be used
|
|
60
|
+
*/
|
|
61
|
+
evtNamespace(): string;
|
|
62
|
+
/**
|
|
63
|
+
* Add an unload handler that will be called when the SDK is being unloaded
|
|
64
|
+
* @param handler - the handler
|
|
65
|
+
*/
|
|
66
|
+
addUnloadCb(handler: UnloadHandler): void;
|
|
38
67
|
}
|
|
39
|
-
export { IConfiguration, AppInsightsCore, IAppInsightsCore, CoreUtils, ITelemetryItem } from "@microsoft/applicationinsights-core-js";
|
|
68
|
+
export { IConfiguration, AppInsightsCore, IAppInsightsCore, CoreUtils, ITelemetryItem, ILoadedPlugin, arrForEach, SendRequestReason, _eInternalMessageId, _InternalMessageId, isNullOrUndefined, throwError, proxyFunctions, IPlugin, ITelemetryPlugin } from "@microsoft/applicationinsights-core-js";
|
|
40
69
|
export { SeverityLevel, IPageViewTelemetry, IDependencyTelemetry, IAutoExceptionTelemetry, IEventTelemetry, IMetricTelemetry, IPageViewPerformanceTelemetry, ITraceTelemetry } from "@microsoft/applicationinsights-common";
|
|
41
70
|
export { Sender } from "@microsoft/applicationinsights-channel-js";
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "aib",
|
|
3
|
-
"version": "2.8.0-beta.2203-10",
|
|
4
|
-
"ext": {
|
|
5
|
-
"@js": {
|
|
6
|
-
"file": "aib.2.8.0-beta.2203-10.js",
|
|
7
|
-
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-VE/LrOyTQqbMkTeT2aKhuGtSCIL4/5B9P8hW2GYxVCU= sha384-yJZJ0U1HjX0Xl0Sl36hboNmmchqi90IaRzKj0qw3juE8IgLYLwZXLSSFSh6RlVia sha512-lJBXZaq8fcDN8/YwGZwSeFWCq/RbTdzxdnlcgqqasnN2GRjg1gP37f4AMHuvduyvgTYh7GPDE3OD4QIwQgP1Dw==",
|
|
9
|
-
"hashes": {
|
|
10
|
-
"sha256": "VE/LrOyTQqbMkTeT2aKhuGtSCIL4/5B9P8hW2GYxVCU=",
|
|
11
|
-
"sha384": "yJZJ0U1HjX0Xl0Sl36hboNmmchqi90IaRzKj0qw3juE8IgLYLwZXLSSFSh6RlVia",
|
|
12
|
-
"sha512": "lJBXZaq8fcDN8/YwGZwSeFWCq/RbTdzxdnlcgqqasnN2GRjg1gP37f4AMHuvduyvgTYh7GPDE3OD4QIwQgP1Dw=="
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"@min.js": {
|
|
16
|
-
"file": "aib.2.8.0-beta.2203-10.min.js",
|
|
17
|
-
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-5YwD/RfkMwR2iM1lnOjZEo6PLdIblo401no0IHTaxGA= sha384-huSkWlE4prk9B7GTyJu2otqRRLv65sFQTqauyvMm0HZ43JhpqfGJ7JmKbfbz5aeD sha512-DtrH9+X2H67h115mIjXX1BwfhRPozVDxbSr+ji5i8fcTNbQRWD6KeKRFsHFBgJ0xHayo6lR+s+2mwrPg7SmMFQ==",
|
|
19
|
-
"hashes": {
|
|
20
|
-
"sha256": "5YwD/RfkMwR2iM1lnOjZEo6PLdIblo401no0IHTaxGA=",
|
|
21
|
-
"sha384": "huSkWlE4prk9B7GTyJu2otqRRLv65sFQTqauyvMm0HZ43JhpqfGJ7JmKbfbz5aeD",
|
|
22
|
-
"sha512": "DtrH9+X2H67h115mIjXX1BwfhRPozVDxbSr+ji5i8fcTNbQRWD6KeKRFsHFBgJ0xHayo6lR+s+2mwrPg7SmMFQ=="
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|