@microsoft/1ds-post-js 4.4.6-nightly3.2610-15 → 4.4.6

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 (47) hide show
  1. package/bundle/es5/{ms.post-4.4.6-nightly3.2610-15.gbl.js → ms.post-4.4.6.gbl.js} +7 -7
  2. package/bundle/es5/ms.post-4.4.6.gbl.js.map +1 -0
  3. package/bundle/es5/ms.post-4.4.6.gbl.min.js +7 -0
  4. package/bundle/es5/ms.post-4.4.6.gbl.min.js.map +1 -0
  5. package/bundle/es5/ms.post-4.4.6.integrity.json +46 -0
  6. package/bundle/es5/{ms.post-4.4.6-nightly3.2610-15.js → ms.post-4.4.6.js} +7 -7
  7. package/bundle/es5/ms.post-4.4.6.js.map +1 -0
  8. package/bundle/es5/ms.post-4.4.6.min.js +7 -0
  9. package/bundle/es5/ms.post-4.4.6.min.js.map +1 -0
  10. package/bundle/es5/ms.post.gbl.js +6 -6
  11. package/bundle/es5/ms.post.gbl.js.map +1 -1
  12. package/bundle/es5/ms.post.gbl.min.js +2 -2
  13. package/bundle/es5/ms.post.gbl.min.js.map +1 -1
  14. package/bundle/es5/ms.post.integrity.json +17 -17
  15. package/bundle/es5/ms.post.js +6 -6
  16. package/bundle/es5/ms.post.js.map +1 -1
  17. package/bundle/es5/ms.post.min.js +2 -2
  18. package/bundle/es5/ms.post.min.js.map +1 -1
  19. package/dist/es5/ms.post.js +4 -4
  20. package/dist/es5/ms.post.js.map +1 -1
  21. package/dist/es5/ms.post.min.js +2 -2
  22. package/dist/es5/ms.post.min.js.map +1 -1
  23. package/dist-es5/BatchNotificationActions.js +1 -1
  24. package/dist-es5/ClockSkewManager.js +1 -1
  25. package/dist-es5/DataModels.js +1 -1
  26. package/dist-es5/EventBatch.js +1 -1
  27. package/dist-es5/HttpManager.js +1 -1
  28. package/dist-es5/Index.js +1 -1
  29. package/dist-es5/InternalConstants.js +1 -1
  30. package/dist-es5/KillSwitch.js +1 -1
  31. package/dist-es5/PostChannel.js +2 -2
  32. package/dist-es5/PostChannel.js.map +1 -1
  33. package/dist-es5/RetryPolicy.js +1 -1
  34. package/dist-es5/Serializer.js +1 -1
  35. package/dist-es5/TimeoutOverrideWrapper.js +1 -1
  36. package/dist-es5/__DynamicConstants.js +1 -1
  37. package/dist-es5/typings/XDomainRequest.js +1 -1
  38. package/package.json +75 -78
  39. package/types/1ds-post-js.d.ts +1 -1
  40. package/types/1ds-post-js.namespaced.d.ts +12 -1
  41. package/bundle/es5/ms.post-4.4.6-nightly3.2610-15.gbl.js.map +0 -1
  42. package/bundle/es5/ms.post-4.4.6-nightly3.2610-15.gbl.min.js +0 -7
  43. package/bundle/es5/ms.post-4.4.6-nightly3.2610-15.gbl.min.js.map +0 -1
  44. package/bundle/es5/ms.post-4.4.6-nightly3.2610-15.integrity.json +0 -46
  45. package/bundle/es5/ms.post-4.4.6-nightly3.2610-15.js.map +0 -1
  46. package/bundle/es5/ms.post-4.4.6-nightly3.2610-15.min.js +0 -7
  47. package/bundle/es5/ms.post-4.4.6-nightly3.2610-15.min.js.map +0 -1
package/package.json CHANGED
@@ -1,78 +1,75 @@
1
- {
2
- "name": "@microsoft/1ds-post-js",
3
- "version": "4.4.6-nightly3.2610-15",
4
- "description": "Microsoft Application Insights JavaScript SDK - 1ds-post-channel-js",
5
- "author": "Microsoft Application Insights Team",
6
- "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
7
- "license": "MIT",
8
- "sideEffects": false,
9
- "scripts": {
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",
22
- "publishPackage": "npm publish",
23
- "sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
24
- "npm-pack": "npm pack",
25
- "api-docs": "typedoc"
26
- },
27
- "dependencies": {
28
- "@microsoft/applicationinsights-shims": "3.0.1",
29
- "@microsoft/dynamicproto-js": "^2.0.3",
30
- "@microsoft/applicationinsights-core-js": "3.4.6-nightly3.2610-15",
31
- "@nevware21/ts-utils": ">= 0.14.0 < 2.x",
32
- "@nevware21/ts-async": ">= 0.5.5 < 0.6.0"
33
- },
34
- "devDependencies": {
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.40.0",
39
- "globby": "^11.0.0",
40
- "grunt": "^1.6.1",
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": "^3.20.0",
46
- "rollup-plugin-cleanup": "^3.2.1",
47
- "rollup-plugin-sourcemaps": "^0.6.3",
48
- "typedoc": "^0.26.6",
49
- "typescript": "^4.9.3",
50
- "pako": "^2.0.3",
51
- "eslint": "^8.56.0",
52
- "@typescript-eslint/eslint-plugin": "^7.14.1",
53
- "@typescript-eslint/parser": "^7.14.1",
54
- "eslint-plugin-security": "^1.5.0",
55
- "grunt-cli": "^1.5.0",
56
- "@nevware21/grunt-ts-plugin": "^0.5.2",
57
- "@nevware21/grunt-eslint-ts": "^0.5.2",
58
- "grunt-contrib-connect": "^5.0.0",
59
- "eventemitter2": "6.4.9",
60
- "puppeteer": "^24.40.0",
61
- "tslib": "^2.0.0"
62
- },
63
- "repository": {
64
- "type": "git",
65
- "url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/channels/1ds-post-js"
66
- },
67
- "main": "dist/es5/ms.post.js",
68
- "module": "dist-es5/Index.js",
69
- "types": "types/1ds-post-js.d.ts",
70
- "keywords": [
71
- "1DS",
72
- "Js",
73
- "SDK"
74
- ],
75
- "publishConfig": {
76
- "tag": "nightly3"
77
- }
78
- }
1
+ {
2
+ "name": "@microsoft/1ds-post-js",
3
+ "version": "4.4.6",
4
+ "description": "Microsoft Application Insights JavaScript SDK - 1ds-post-channel-js",
5
+ "author": "Microsoft Application Insights Team",
6
+ "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
7
+ "license": "MIT",
8
+ "sideEffects": false,
9
+ "scripts": {
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",
22
+ "publishPackage": "npm publish",
23
+ "sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
24
+ "npm-pack": "npm pack",
25
+ "api-docs": "typedoc"
26
+ },
27
+ "dependencies": {
28
+ "@microsoft/applicationinsights-shims": "3.0.1",
29
+ "@microsoft/dynamicproto-js": "^2.0.3",
30
+ "@microsoft/applicationinsights-core-js": "3.4.6",
31
+ "@nevware21/ts-utils": ">= 0.14.0 < 2.x",
32
+ "@nevware21/ts-async": ">= 0.5.5 < 0.6.0"
33
+ },
34
+ "devDependencies": {
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.40.0",
39
+ "globby": "^11.0.0",
40
+ "grunt": "^1.6.1",
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": "^3.20.0",
46
+ "rollup-plugin-cleanup": "^3.2.1",
47
+ "rollup-plugin-sourcemaps": "^0.6.3",
48
+ "typedoc": "^0.26.6",
49
+ "typescript": "^4.9.3",
50
+ "pako": "^2.0.3",
51
+ "eslint": "^8.56.0",
52
+ "@typescript-eslint/eslint-plugin": "^7.14.1",
53
+ "@typescript-eslint/parser": "^7.14.1",
54
+ "eslint-plugin-security": "^1.5.0",
55
+ "grunt-cli": "^1.5.0",
56
+ "@nevware21/grunt-ts-plugin": "^0.5.2",
57
+ "@nevware21/grunt-eslint-ts": "^0.5.2",
58
+ "grunt-contrib-connect": "^5.0.0",
59
+ "eventemitter2": "6.4.9",
60
+ "puppeteer": "^24.40.0",
61
+ "tslib": "^2.0.0"
62
+ },
63
+ "repository": {
64
+ "type": "git",
65
+ "url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/channels/1ds-post-js"
66
+ },
67
+ "main": "dist/es5/ms.post.js",
68
+ "module": "dist-es5/Index.js",
69
+ "types": "types/1ds-post-js.d.ts",
70
+ "keywords": [
71
+ "1DS",
72
+ "Js",
73
+ "SDK"
74
+ ]
75
+ }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Post Channel, 4.4.6-nightly3.2610-15
2
+ * 1DS JS SDK Post Channel, 4.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Post Channel, 4.4.6-nightly3.2610-15
2
+ * 1DS JS SDK Post Channel, 4.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -2377,6 +2377,17 @@ declare namespace oneDS {
2377
2377
  */
2378
2378
  interface INotificationManager {
2379
2379
  listeners: INotificationListener[];
2380
+ /**
2381
+ * Optional hint indicating whether a notification has a matching listener or custom handler.
2382
+ * @param name - The notification method to query.
2383
+ * @returns False only when calling the method would have no effect. Callers must retain their
2384
+ * existing dispatch behavior when this hint is absent or does not return false.
2385
+ * @remarks
2386
+ * Implementations must account for custom notification handling as well as registered listeners.
2387
+ * The built-in manager returns true for overridden notification methods, even without matching listeners.
2388
+ * This method must not dispatch notifications or change listener state.
2389
+ */
2390
+ hasListener?(name: string): boolean;
2380
2391
  /**
2381
2392
  * Adds a notification listener.
2382
2393
  * @param listener - The notification listener to be added.