@microsoft/1ds-post-js 4.0.1 → 4.0.2-nightly3.2307-25

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.
Files changed (55) hide show
  1. package/README.md +10 -26
  2. package/bundle/es5/{ms.post-4.0.1.gbl.js → ms.post-4.0.2-nightly3.2307-25.gbl.js} +507 -426
  3. package/bundle/es5/ms.post-4.0.2-nightly3.2307-25.gbl.js.map +1 -0
  4. package/bundle/es5/ms.post-4.0.2-nightly3.2307-25.gbl.min.js +7 -0
  5. package/bundle/es5/ms.post-4.0.2-nightly3.2307-25.gbl.min.js.map +1 -0
  6. package/bundle/es5/ms.post-4.0.2-nightly3.2307-25.integrity.json +46 -0
  7. package/bundle/es5/{ms.post-4.0.1.js → ms.post-4.0.2-nightly3.2307-25.js} +507 -426
  8. package/bundle/es5/ms.post-4.0.2-nightly3.2307-25.js.map +1 -0
  9. package/bundle/es5/ms.post-4.0.2-nightly3.2307-25.min.js +7 -0
  10. package/bundle/es5/ms.post-4.0.2-nightly3.2307-25.min.js.map +1 -0
  11. package/bundle/es5/ms.post.gbl.js +506 -425
  12. package/bundle/es5/ms.post.gbl.js.map +1 -1
  13. package/bundle/es5/ms.post.gbl.min.js +2 -2
  14. package/bundle/es5/ms.post.gbl.min.js.map +1 -1
  15. package/bundle/es5/ms.post.integrity.json +17 -17
  16. package/bundle/es5/ms.post.js +506 -425
  17. package/bundle/es5/ms.post.js.map +1 -1
  18. package/bundle/es5/ms.post.min.js +2 -2
  19. package/bundle/es5/ms.post.min.js.map +1 -1
  20. package/dist/es5/ms.post.js +504 -423
  21. package/dist/es5/ms.post.js.map +1 -1
  22. package/dist/es5/ms.post.min.js +2 -2
  23. package/dist/es5/ms.post.min.js.map +1 -1
  24. package/dist-es5/BatchNotificationActions.js +1 -1
  25. package/dist-es5/ClockSkewManager.js +8 -8
  26. package/dist-es5/ClockSkewManager.js.map +1 -1
  27. package/dist-es5/DataModels.js +1 -1
  28. package/dist-es5/EventBatch.js +13 -12
  29. package/dist-es5/EventBatch.js.map +1 -1
  30. package/dist-es5/HttpManager.js +173 -173
  31. package/dist-es5/HttpManager.js.map +1 -1
  32. package/dist-es5/Index.js +3 -3
  33. package/dist-es5/Index.js.map +1 -1
  34. package/dist-es5/InternalConstants.js +1 -1
  35. package/dist-es5/KillSwitch.js +8 -8
  36. package/dist-es5/KillSwitch.js.map +1 -1
  37. package/dist-es5/PostChannel.js +92 -90
  38. package/dist-es5/PostChannel.js.map +1 -1
  39. package/dist-es5/RetryPolicy.js +1 -1
  40. package/dist-es5/Serializer.js +4 -5
  41. package/dist-es5/Serializer.js.map +1 -1
  42. package/dist-es5/TimeoutOverrideWrapper.js +1 -1
  43. package/dist-es5/__DynamicConstants.js +83 -0
  44. package/dist-es5/__DynamicConstants.js.map +1 -0
  45. package/dist-es5/typings/XDomainRequest.js +1 -1
  46. package/package.json +39 -23
  47. package/types/1ds-post-js.d.ts +5 -3
  48. package/types/1ds-post-js.namespaced.d.ts +5 -3
  49. package/bundle/es5/ms.post-4.0.1.gbl.js.map +0 -1
  50. package/bundle/es5/ms.post-4.0.1.gbl.min.js +0 -7
  51. package/bundle/es5/ms.post-4.0.1.gbl.min.js.map +0 -1
  52. package/bundle/es5/ms.post-4.0.1.integrity.json +0 -46
  53. package/bundle/es5/ms.post-4.0.1.js.map +0 -1
  54. package/bundle/es5/ms.post-4.0.1.min.js +0 -7
  55. package/bundle/es5/ms.post-4.0.1.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.1",
4
- "description": "Microsoft Application Insights JavaScript SDK - 1ds-post-js extensions",
3
+ "version": "4.0.2-nightly3.2307-25",
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
- "ai-min": "grunt post-min",
11
- "ai-restore": "grunt post-restore",
12
- "dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"1DS JS SDK Post Channel\" -hidePrivate",
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": "^3.0.1",
28
+ "@microsoft/applicationinsights-shims": "3.0.1",
22
29
  "@microsoft/dynamicproto-js": "^2.0.2",
23
- "@microsoft/1ds-core-js": "4.0.1",
30
+ "@microsoft/1ds-core-js": "4.0.2-nightly3.2307-25",
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/api-extractor": "7.18.19",
29
- "@nevware21/ts-async": ">= 0.2.4 < 2.x",
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
- "typescript": "^4.9.3"
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
- "1ds",
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
+ }
@@ -1,9 +1,9 @@
1
1
  /*
2
- * 1DS JS SDK Post Channel, 4.0.1
2
+ * 1DS JS SDK Post Channel, 4.0.2-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
- * Javascript Telemetry SDKs <TelReachSDK@microsoft.com>
6
- * https://1dsdocs.azurewebsites.net/sdk.html
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.1
2
+ * 1DS JS SDK Post Channel, 4.0.2-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
- * Javascript Telemetry SDKs <TelReachSDK@microsoft.com>
6
- * https://1dsdocs.azurewebsites.net/sdk.html
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;