@microsoft/1ds-post-js 4.0.0 → 4.0.2-nightly3.2307-24
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 +10 -26
- package/bundle/es5/{ms.post-4.0.0.gbl.js → ms.post-4.0.2-nightly3.2307-24.gbl.js} +707 -524
- package/bundle/es5/ms.post-4.0.2-nightly3.2307-24.gbl.js.map +1 -0
- package/bundle/es5/ms.post-4.0.2-nightly3.2307-24.gbl.min.js +7 -0
- package/bundle/es5/ms.post-4.0.2-nightly3.2307-24.gbl.min.js.map +1 -0
- package/bundle/es5/ms.post-4.0.2-nightly3.2307-24.integrity.json +46 -0
- package/bundle/es5/{ms.post-4.0.0.js → ms.post-4.0.2-nightly3.2307-24.js} +707 -524
- package/bundle/es5/ms.post-4.0.2-nightly3.2307-24.js.map +1 -0
- package/bundle/es5/ms.post-4.0.2-nightly3.2307-24.min.js +7 -0
- package/bundle/es5/ms.post-4.0.2-nightly3.2307-24.min.js.map +1 -0
- package/bundle/es5/ms.post.gbl.js +706 -523
- 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 +706 -523
- 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 +704 -521
- 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 +8 -8
- package/dist-es5/ClockSkewManager.js.map +1 -1
- package/dist-es5/DataModels.js +1 -1
- package/dist-es5/EventBatch.js +13 -12
- package/dist-es5/EventBatch.js.map +1 -1
- package/dist-es5/HttpManager.js +173 -173
- package/dist-es5/HttpManager.js.map +1 -1
- package/dist-es5/Index.js +3 -3
- package/dist-es5/Index.js.map +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/KillSwitch.js +8 -8
- package/dist-es5/KillSwitch.js.map +1 -1
- package/dist-es5/PostChannel.js +92 -90
- package/dist-es5/PostChannel.js.map +1 -1
- package/dist-es5/RetryPolicy.js +1 -1
- package/dist-es5/Serializer.js +4 -5
- package/dist-es5/Serializer.js.map +1 -1
- package/dist-es5/TimeoutOverrideWrapper.js +1 -1
- package/dist-es5/__DynamicConstants.js +83 -0
- package/dist-es5/__DynamicConstants.js.map +1 -0
- package/dist-es5/typings/XDomainRequest.js +1 -1
- package/package.json +40 -24
- package/types/1ds-post-js.d.ts +5 -3
- package/types/1ds-post-js.namespaced.d.ts +5 -3
- package/bundle/es5/ms.post-4.0.0.gbl.js.map +0 -1
- package/bundle/es5/ms.post-4.0.0.gbl.min.js +0 -7
- package/bundle/es5/ms.post-4.0.0.gbl.min.js.map +0 -1
- package/bundle/es5/ms.post-4.0.0.integrity.json +0 -46
- package/bundle/es5/ms.post-4.0.0.js.map +0 -1
- package/bundle/es5/ms.post-4.0.0.min.js +0 -7
- package/bundle/es5/ms.post-4.0.0.min.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,50 +1,66 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/1ds-post-js",
|
|
3
|
-
"version": "4.0.
|
|
4
|
-
"description": "Microsoft Application Insights JavaScript SDK - 1ds-post-js
|
|
3
|
+
"version": "4.0.2-nightly3.2307-24",
|
|
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",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"scripts": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
10
|
+
"clean": "git clean -xdf",
|
|
11
|
+
"build": "npm run build:esm && npm run build:browser && npm run dtsgen && npm run sri",
|
|
12
|
+
"build:esm": "grunt 1dsPostBuild",
|
|
13
|
+
"build:browser": "npx rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
14
|
+
"rebuild": "npm run build",
|
|
15
|
+
"ai-min": "grunt 1dsPost-min",
|
|
16
|
+
"ai-restore": "grunt 1dsPost-restore",
|
|
17
|
+
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"1DS JS SDK Post Channel\" -oneDs",
|
|
18
|
+
"test": "grunt 1dsPostTest",
|
|
19
|
+
"mintest": "grunt adsPostMinTest",
|
|
20
|
+
"perftest": "",
|
|
21
|
+
"makePublicPackage": "node ../../tools/makePublic/makePublicPackage.js ./package.json && npm pack",
|
|
13
22
|
"publishPackage": "npm publish",
|
|
14
23
|
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
15
|
-
"npm-pack": "npm pack"
|
|
16
|
-
|
|
17
|
-
"publishConfig": {
|
|
18
|
-
"registry": "https://registry.npmjs.org"
|
|
24
|
+
"npm-pack": "npm pack",
|
|
25
|
+
"api-docs": "typedoc"
|
|
19
26
|
},
|
|
20
27
|
"dependencies": {
|
|
21
|
-
"@microsoft/applicationinsights-shims": "
|
|
28
|
+
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
22
29
|
"@microsoft/dynamicproto-js": "^2.0.2",
|
|
23
|
-
"@microsoft/1ds-core-js": "4.0.
|
|
24
|
-
"@nevware21/ts-utils": ">= 0.9.
|
|
30
|
+
"@microsoft/1ds-core-js": "4.0.2-nightly3.2307-24",
|
|
31
|
+
"@nevware21/ts-utils": ">= 0.9.6 < 2.x",
|
|
25
32
|
"@nevware21/ts-async": ">= 0.2.4 < 2.x"
|
|
26
33
|
},
|
|
27
34
|
"devDependencies": {
|
|
28
|
-
"@microsoft/
|
|
29
|
-
"@
|
|
35
|
+
"@microsoft/ai-test-framework": "0.0.1",
|
|
36
|
+
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
37
|
+
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
38
|
+
"@microsoft/api-extractor": "^7.18.19",
|
|
39
|
+
"globby": "^11.0.0",
|
|
30
40
|
"grunt": "^1.5.3",
|
|
31
|
-
"
|
|
41
|
+
"sinon": "^7.3.1",
|
|
42
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
43
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
44
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
45
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
46
|
+
"rollup": "^3.20.0",
|
|
47
|
+
"typedoc": "^0.24.8",
|
|
48
|
+
"typescript": "^4.9.3",
|
|
49
|
+
"pako": "^2.0.3"
|
|
32
50
|
},
|
|
33
51
|
"repository": {
|
|
34
52
|
"type": "git",
|
|
35
|
-
"url": "https://github.com/microsoft/ApplicationInsights-JS"
|
|
53
|
+
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/channels/1ds-post-js"
|
|
36
54
|
},
|
|
37
55
|
"main": "dist/es5/ms.post.js",
|
|
38
56
|
"module": "dist-es5/Index.js",
|
|
39
57
|
"types": "types/1ds-post-js.d.ts",
|
|
40
58
|
"keywords": [
|
|
41
|
-
"
|
|
42
|
-
"azure",
|
|
43
|
-
"cloud",
|
|
44
|
-
"script errors",
|
|
45
|
-
"microsoft",
|
|
46
|
-
"application insights",
|
|
59
|
+
"1DS",
|
|
47
60
|
"Js",
|
|
48
61
|
"SDK"
|
|
49
|
-
]
|
|
50
|
-
|
|
62
|
+
],
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"tag": "nightly3"
|
|
65
|
+
}
|
|
66
|
+
}
|
package/types/1ds-post-js.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* 1DS JS SDK Post Channel, 4.0.
|
|
2
|
+
* 1DS JS SDK Post Channel, 4.0.2-nightly3.2307-24
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
* https://
|
|
5
|
+
* Microsoft Application Insights Team
|
|
6
|
+
* https://github.com/microsoft/ApplicationInsights-JS#readme
|
|
7
7
|
*
|
|
8
8
|
* ---------------------------------------------------------------------------
|
|
9
9
|
* This is a single combined (rollup) declaration file for the package,
|
|
@@ -287,6 +287,8 @@ export declare type PayloadPreprocessorFunction = (payload: IPayloadData, callba
|
|
|
287
287
|
/**
|
|
288
288
|
* Class that manages adding events to inbound queues and batching of events
|
|
289
289
|
* into requests.
|
|
290
|
+
* @group Classes
|
|
291
|
+
* @group Entrypoint
|
|
290
292
|
*/
|
|
291
293
|
export declare class PostChannel extends BaseTelemetryPlugin implements IChannelControls, IPostChannel {
|
|
292
294
|
identifier: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* 1DS JS SDK Post Channel, 4.0.
|
|
2
|
+
* 1DS JS SDK Post Channel, 4.0.2-nightly3.2307-24
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
* https://
|
|
5
|
+
* Microsoft Application Insights Team
|
|
6
|
+
* https://github.com/microsoft/ApplicationInsights-JS#readme
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
declare namespace oneDS {
|
|
@@ -282,6 +282,8 @@ declare namespace oneDS {
|
|
|
282
282
|
/**
|
|
283
283
|
* Class that manages adding events to inbound queues and batching of events
|
|
284
284
|
* into requests.
|
|
285
|
+
* @group Classes
|
|
286
|
+
* @group Entrypoint
|
|
285
287
|
*/
|
|
286
288
|
class PostChannel extends BaseTelemetryPlugin implements IChannelControls, IPostChannel {
|
|
287
289
|
identifier: string;
|