@microsoft/1ds-post-js 4.4.0-nightlybeta3.2504-05 → 4.4.0-nightlybeta3.2504-17
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/bundle/es5/{ms.post-4.4.0-nightlybeta3.2504-05.gbl.js → ms.post-4.4.0-nightlybeta3.2504-17.gbl.js} +230 -123
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-17.gbl.js.map +1 -0
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-17.gbl.min.js +7 -0
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-17.gbl.min.js.map +1 -0
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-17.integrity.json +46 -0
- package/bundle/es5/{ms.post-4.4.0-nightlybeta3.2504-05.js → ms.post-4.4.0-nightlybeta3.2504-17.js} +230 -123
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-17.js.map +1 -0
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-17.min.js +7 -0
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-17.min.js.map +1 -0
- package/bundle/es5/ms.post.gbl.js +229 -122
- package/bundle/es5/ms.post.gbl.js.map +1 -1
- package/bundle/es5/ms.post.gbl.min.js +2 -2
- package/bundle/es5/ms.post.gbl.min.js.map +1 -1
- package/bundle/es5/ms.post.integrity.json +17 -17
- package/bundle/es5/ms.post.js +229 -122
- package/bundle/es5/ms.post.js.map +1 -1
- package/bundle/es5/ms.post.min.js +2 -2
- package/bundle/es5/ms.post.min.js.map +1 -1
- package/dist/es5/ms.post.js +227 -120
- package/dist/es5/ms.post.js.map +1 -1
- package/dist/es5/ms.post.min.js +2 -2
- package/dist/es5/ms.post.min.js.map +1 -1
- package/dist-es5/BatchNotificationActions.js +1 -1
- package/dist-es5/ClockSkewManager.js +1 -1
- package/dist-es5/DataModels.js +1 -1
- package/dist-es5/EventBatch.js +1 -1
- package/dist-es5/HttpManager.js +1 -1
- package/dist-es5/Index.js +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/KillSwitch.js +1 -1
- package/dist-es5/PostChannel.js +2 -2
- package/dist-es5/PostChannel.js.map +1 -1
- package/dist-es5/RetryPolicy.js +1 -1
- package/dist-es5/Serializer.js +3 -2
- package/dist-es5/Serializer.js.map +1 -1
- package/dist-es5/TimeoutOverrideWrapper.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/typings/XDomainRequest.js +1 -1
- package/package.json +2 -2
- package/types/1ds-post-js.d.ts +1 -1
- package/types/1ds-post-js.namespaced.d.ts +33 -1
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-05.gbl.js.map +0 -1
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-05.gbl.min.js +0 -7
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-05.gbl.min.js.map +0 -1
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-05.integrity.json +0 -46
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-05.js.map +0 -1
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-05.min.js +0 -7
- package/bundle/es5/ms.post-4.4.0-nightlybeta3.2504-05.min.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/1ds-post-js",
|
|
3
|
-
"version": "4.4.0-nightlybeta3.2504-
|
|
3
|
+
"version": "4.4.0-nightlybeta3.2504-17",
|
|
4
4
|
"description": "Microsoft Application Insights JavaScript SDK - 1ds-post-channel-js",
|
|
5
5
|
"author": "Microsoft Application Insights Team",
|
|
6
6
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
29
29
|
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
30
|
-
"@microsoft/1ds-core-js": "4.4.0-nightlybeta3.2504-
|
|
30
|
+
"@microsoft/1ds-core-js": "4.4.0-nightlybeta3.2504-17",
|
|
31
31
|
"@nevware21/ts-utils": ">= 0.11.8 < 2.x",
|
|
32
32
|
"@nevware21/ts-async": ">= 0.5.4 < 2.x"
|
|
33
33
|
},
|
package/types/1ds-post-js.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* 1DS JS SDK Post Channel, 4.4.0-nightlybeta3.2504-
|
|
2
|
+
* 1DS JS SDK Post Channel, 4.4.0-nightlybeta3.2504-17
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -344,6 +344,7 @@ declare namespace oneDS {
|
|
|
344
344
|
*/
|
|
345
345
|
addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
|
|
346
346
|
pollInternalLogs?(eventName?: string): ITimerHandler;
|
|
347
|
+
getStatsBeat?(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
|
|
347
348
|
stopPollingInternalLogs?(): void;
|
|
348
349
|
/**
|
|
349
350
|
* Return a new instance of the IProcessTelemetryContext for processing events
|
|
@@ -999,6 +1000,11 @@ declare namespace oneDS {
|
|
|
999
1000
|
* @since 3.3.2
|
|
1000
1001
|
*/
|
|
1001
1002
|
expCfg?: IExceptionConfig;
|
|
1003
|
+
/**
|
|
1004
|
+
* [Optional] Internal SDK configuration for developers
|
|
1005
|
+
* @internal
|
|
1006
|
+
*/
|
|
1007
|
+
_sdk?: IInternalSdkConfiguration;
|
|
1002
1008
|
}
|
|
1003
1009
|
|
|
1004
1010
|
interface ICookieMgr {
|
|
@@ -1455,6 +1461,18 @@ declare namespace oneDS {
|
|
|
1455
1461
|
createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
|
|
1456
1462
|
}
|
|
1457
1463
|
|
|
1464
|
+
/**
|
|
1465
|
+
* Internal SDK configuration options
|
|
1466
|
+
* @internal
|
|
1467
|
+
*/
|
|
1468
|
+
interface IInternalSdkConfiguration {
|
|
1469
|
+
/**
|
|
1470
|
+
* [Optional] Enable Internal StatsBeat
|
|
1471
|
+
* @internal
|
|
1472
|
+
*/
|
|
1473
|
+
stats?: boolean;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1458
1476
|
/**
|
|
1459
1477
|
* An alternate interface which provides automatic removal during unloading of the component
|
|
1460
1478
|
*/
|
|
@@ -2066,6 +2084,20 @@ declare namespace oneDS {
|
|
|
2066
2084
|
getProperty: (key: string) => string;
|
|
2067
2085
|
}
|
|
2068
2086
|
|
|
2087
|
+
interface IStatsBeat {
|
|
2088
|
+
initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
|
|
2089
|
+
isInitialized(): boolean;
|
|
2090
|
+
count(status: number, payloadData: IPayloadData, endpoint: string): void;
|
|
2091
|
+
countException(endpoint: string, exceptionType: string): void;
|
|
2092
|
+
getEndpoint(): string;
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
interface IStatsBeatConfig {
|
|
2096
|
+
ikey: string;
|
|
2097
|
+
endpoint: string;
|
|
2098
|
+
version?: string;
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2069
2101
|
interface ITelemetryInitializerHandler extends ILegacyUnloadHook {
|
|
2070
2102
|
remove(): void;
|
|
2071
2103
|
}
|