@microsoft/applicationinsights-channel-js 3.0.7-nightly3.2312-03 → 3.0.7

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 (61) hide show
  1. package/browser/es5/{applicationinsights-channel-js.3.0.7-nightly3.2312-03.js → applicationinsights-channel-js.3.0.7.cjs.js} +110 -195
  2. package/browser/es5/applicationinsights-channel-js.3.0.7.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-channel-js.3.0.7.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-channel-js.3.0.7.cjs.min.js.map +1 -0
  5. package/browser/es5/{applicationinsights-channel-js.3.0.7-nightly3.2312-03.gbl.js → applicationinsights-channel-js.3.0.7.gbl.js} +112 -170
  6. package/browser/es5/applicationinsights-channel-js.3.0.7.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-channel-js.3.0.7.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-channel-js.3.0.7.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-channel-js.3.0.7.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-channel-js.3.0.7-nightly3.2312-03.cjs.js → applicationinsights-channel-js.3.0.7.js} +137 -168
  11. package/browser/es5/applicationinsights-channel-js.3.0.7.js.map +1 -0
  12. package/browser/es5/applicationinsights-channel-js.3.0.7.min.js +6 -0
  13. package/browser/es5/applicationinsights-channel-js.3.0.7.min.js.map +1 -0
  14. package/browser/es5/applicationinsights-channel-js.3.cjs.js +109 -167
  15. package/browser/es5/applicationinsights-channel-js.3.cjs.js.map +1 -1
  16. package/browser/es5/applicationinsights-channel-js.3.cjs.min.js +2 -2
  17. package/browser/es5/applicationinsights-channel-js.3.cjs.min.js.map +1 -1
  18. package/browser/es5/applicationinsights-channel-js.3.gbl.js +111 -169
  19. package/browser/es5/applicationinsights-channel-js.3.gbl.js.map +1 -1
  20. package/browser/es5/applicationinsights-channel-js.3.gbl.min.js +2 -2
  21. package/browser/es5/applicationinsights-channel-js.3.gbl.min.js.map +1 -1
  22. package/browser/es5/applicationinsights-channel-js.3.integrity.json +25 -25
  23. package/browser/es5/applicationinsights-channel-js.3.js +111 -169
  24. package/browser/es5/applicationinsights-channel-js.3.js.map +1 -1
  25. package/browser/es5/applicationinsights-channel-js.3.min.js +2 -2
  26. package/browser/es5/applicationinsights-channel-js.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-channel-js.js +109 -167
  28. package/dist/es5/applicationinsights-channel-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-channel-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-channel-js.min.js.map +1 -1
  31. package/dist-es5/EnvelopeCreator.js +2 -2
  32. package/dist-es5/EnvelopeCreator.js.map +1 -1
  33. package/dist-es5/Interfaces.js +1 -1
  34. package/dist-es5/InternalConstants.js +1 -1
  35. package/dist-es5/Offline.js +91 -0
  36. package/dist-es5/Offline.js.map +1 -0
  37. package/dist-es5/SendBuffer.js +4 -4
  38. package/dist-es5/SendBuffer.js.map +1 -1
  39. package/dist-es5/Sender.js +16 -35
  40. package/dist-es5/Sender.js.map +1 -1
  41. package/dist-es5/Serializer.js +1 -1
  42. package/dist-es5/TelemetryProcessors/Sample.js +1 -1
  43. package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js +3 -3
  44. package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js.map +1 -1
  45. package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
  46. package/dist-es5/__DynamicConstants.js +5 -5
  47. package/dist-es5/__DynamicConstants.js.map +1 -1
  48. package/dist-es5/applicationinsights-channel-js.js +1 -1
  49. package/package.json +62 -65
  50. package/types/applicationinsights-channel-js.d.ts +1 -12
  51. package/types/applicationinsights-channel-js.namespaced.d.ts +1 -12
  52. package/browser/es5/applicationinsights-channel-js.3.0.7-nightly3.2312-03.cjs.js.map +0 -1
  53. package/browser/es5/applicationinsights-channel-js.3.0.7-nightly3.2312-03.cjs.min.js +0 -6
  54. package/browser/es5/applicationinsights-channel-js.3.0.7-nightly3.2312-03.cjs.min.js.map +0 -1
  55. package/browser/es5/applicationinsights-channel-js.3.0.7-nightly3.2312-03.gbl.js.map +0 -1
  56. package/browser/es5/applicationinsights-channel-js.3.0.7-nightly3.2312-03.gbl.min.js +0 -6
  57. package/browser/es5/applicationinsights-channel-js.3.0.7-nightly3.2312-03.gbl.min.js.map +0 -1
  58. package/browser/es5/applicationinsights-channel-js.3.0.7-nightly3.2312-03.integrity.json +0 -66
  59. package/browser/es5/applicationinsights-channel-js.3.0.7-nightly3.2312-03.js.map +0 -1
  60. package/browser/es5/applicationinsights-channel-js.3.0.7-nightly3.2312-03.min.js +0 -6
  61. package/browser/es5/applicationinsights-channel-js.3.0.7-nightly3.2312-03.min.js.map +0 -1
package/package.json CHANGED
@@ -1,65 +1,62 @@
1
- {
2
- "name": "@microsoft/applicationinsights-channel-js",
3
- "version": "3.0.7-nightly3.2312-03",
4
- "description": "Microsoft Application Insights JavaScript SDK Channel",
5
- "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
- "author": "Microsoft Application Insights Team",
7
- "main": "dist/es5/applicationinsights-channel-js.js",
8
- "module": "dist-es5/applicationinsights-channel-js.js",
9
- "types": "types/applicationinsights-channel-js.d.ts",
10
- "sideEffects": false,
11
- "repository": "github:Microsoft/applicationinsights-js",
12
- "scripts": {
13
- "clean": "git clean -xdf",
14
- "build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
15
- "build:esm": "grunt aichannel",
16
- "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
17
- "rebuild": "npm run build",
18
- "test": "grunt aichanneltest",
19
- "mintest": "grunt aichannel-mintest",
20
- "lint": "tslint -p tsconfig.json",
21
- "dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights JavaScript SDK Channel\"",
22
- "sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
23
- "ai-min": "grunt aichannel-min",
24
- "ai-restore": "grunt aichannel-restore",
25
- "npm-pack": "npm pack",
26
- "api-docs": "typedoc"
27
- },
28
- "devDependencies": {
29
- "@microsoft/ai-test-framework": "0.0.1",
30
- "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
31
- "@microsoft/applicationinsights-rollup-es5": "1.0.2",
32
- "@microsoft/api-extractor": "^7.18.19",
33
- "@types/sinon": "4.3.3",
34
- "grunt": "^1.5.3",
35
- "grunt-cli": "^1.4.3",
36
- "@nevware21/grunt-ts-plugin": "^0.4.3",
37
- "@nevware21/grunt-eslint-ts": "^0.2.2",
38
- "globby": "^11.0.0",
39
- "magic-string": "^0.25.7",
40
- "@rollup/plugin-commonjs": "^24.0.0",
41
- "@rollup/plugin-node-resolve": "^15.0.1",
42
- "@rollup/plugin-replace": "^5.0.2",
43
- "rollup-plugin-cleanup": "^3.2.1",
44
- "rollup": "^3.20.0",
45
- "typescript": "^4.9.3",
46
- "tslib": "^2.0.0",
47
- "sinon": "^7.3.1",
48
- "typedoc": "^0.24.8"
49
- },
50
- "peerDependencies": {
51
- "tslib": "*"
52
- },
53
- "dependencies": {
54
- "@microsoft/dynamicproto-js": "^2.0.2",
55
- "@microsoft/applicationinsights-shims": "3.0.1",
56
- "@microsoft/applicationinsights-core-js": "3.0.7-nightly3.2312-03",
57
- "@microsoft/applicationinsights-common": "3.0.7-nightly3.2312-03",
58
- "@nevware21/ts-utils": ">= 0.10.1 < 2.x",
59
- "@nevware21/ts-async": ">= 0.3.0 < 2.x"
60
- },
61
- "license": "MIT",
62
- "publishConfig": {
63
- "tag": "nightly3"
64
- }
65
- }
1
+ {
2
+ "name": "@microsoft/applicationinsights-channel-js",
3
+ "version": "3.0.7",
4
+ "description": "Microsoft Application Insights JavaScript SDK Channel",
5
+ "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
+ "author": "Microsoft Application Insights Team",
7
+ "main": "dist/es5/applicationinsights-channel-js.js",
8
+ "module": "dist-es5/applicationinsights-channel-js.js",
9
+ "types": "types/applicationinsights-channel-js.d.ts",
10
+ "sideEffects": false,
11
+ "repository": "github:Microsoft/applicationinsights-js",
12
+ "scripts": {
13
+ "clean": "git clean -xdf",
14
+ "build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
15
+ "build:esm": "grunt aichannel",
16
+ "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
17
+ "rebuild": "npm run build",
18
+ "test": "grunt aichanneltest",
19
+ "mintest": "grunt aichannel-mintest",
20
+ "lint": "tslint -p tsconfig.json",
21
+ "dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights JavaScript SDK Channel\"",
22
+ "sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
23
+ "ai-min": "grunt aichannel-min",
24
+ "ai-restore": "grunt aichannel-restore",
25
+ "npm-pack": "npm pack",
26
+ "api-docs": "typedoc"
27
+ },
28
+ "devDependencies": {
29
+ "@microsoft/ai-test-framework": "0.0.1",
30
+ "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
31
+ "@microsoft/applicationinsights-rollup-es5": "1.0.2",
32
+ "@microsoft/api-extractor": "^7.18.19",
33
+ "@types/sinon": "4.3.3",
34
+ "grunt": "^1.5.3",
35
+ "grunt-cli": "^1.4.3",
36
+ "@nevware21/grunt-ts-plugin": "^0.4.3",
37
+ "@nevware21/grunt-eslint-ts": "^0.2.2",
38
+ "globby": "^11.0.0",
39
+ "magic-string": "^0.25.7",
40
+ "@rollup/plugin-commonjs": "^24.0.0",
41
+ "@rollup/plugin-node-resolve": "^15.0.1",
42
+ "@rollup/plugin-replace": "^5.0.2",
43
+ "rollup-plugin-cleanup": "^3.2.1",
44
+ "rollup": "^3.20.0",
45
+ "typescript": "^4.9.3",
46
+ "tslib": "^2.0.0",
47
+ "sinon": "^7.3.1",
48
+ "typedoc": "^0.24.8"
49
+ },
50
+ "peerDependencies": {
51
+ "tslib": "*"
52
+ },
53
+ "dependencies": {
54
+ "@microsoft/dynamicproto-js": "^2.0.2",
55
+ "@microsoft/applicationinsights-shims": "3.0.1",
56
+ "@microsoft/applicationinsights-core-js": "3.0.7",
57
+ "@microsoft/applicationinsights-common": "3.0.7",
58
+ "@nevware21/ts-utils": ">= 0.10.1 < 2.x",
59
+ "@nevware21/ts-async": ">= 0.3.0 < 2.x"
60
+ },
61
+ "license": "MIT"
62
+ }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights JavaScript SDK Channel, 3.0.7-nightly3.2312-03
2
+ * Microsoft Application Insights JavaScript SDK Channel, 3.0.7
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -219,17 +219,6 @@ export declare interface ISenderConfig {
219
219
  * @since 3.0.6
220
220
  */
221
221
  disableSendBeaconSplit?: boolean;
222
- /**
223
- * [Optional] Either an array or single value identifying the requested TransportType type that should be used.
224
- * This is used during initialization to identify the requested send transport, it will be ignored if a httpXHROverride is provided.
225
- */
226
- transports?: number | number[];
227
- /**
228
- * [Optional] Either an array or single value identifying the requested TransportType type(s) that should be used during unload or events
229
- * marked as sendBeacon. This is used during initialization to identify the requested send transport, it will be ignored if a httpXHROverride
230
- * is provided and alwaysUseXhrOverride is true.
231
- */
232
- unloadTransports?: number | number[];
233
222
  }
234
223
 
235
224
  export declare class Sender extends BaseTelemetryPlugin implements IChannelControls {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights JavaScript SDK Channel, 3.0.7-nightly3.2312-03
2
+ * Microsoft Application Insights JavaScript SDK Channel, 3.0.7
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -214,17 +214,6 @@ declare namespace ApplicationInsights {
214
214
  * @since 3.0.6
215
215
  */
216
216
  disableSendBeaconSplit?: boolean;
217
- /**
218
- * [Optional] Either an array or single value identifying the requested TransportType type that should be used.
219
- * This is used during initialization to identify the requested send transport, it will be ignored if a httpXHROverride is provided.
220
- */
221
- transports?: number | number[];
222
- /**
223
- * [Optional] Either an array or single value identifying the requested TransportType type(s) that should be used during unload or events
224
- * marked as sendBeacon. This is used during initialization to identify the requested send transport, it will be ignored if a httpXHROverride
225
- * is provided and alwaysUseXhrOverride is true.
226
- */
227
- unloadTransports?: number | number[];
228
217
  }
229
218
 
230
219
  class Sender extends BaseTelemetryPlugin implements IChannelControls {