@microsoft/applicationinsights-channel-js 3.0.6-nightly3.2311-06 → 3.0.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 (61) hide show
  1. package/browser/es5/{applicationinsights-channel-js.3.0.6-nightly3.2311-06.cjs.js → applicationinsights-channel-js.3.0.6.cjs.js} +149 -192
  2. package/browser/es5/applicationinsights-channel-js.3.0.6.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-channel-js.3.0.6.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-channel-js.3.0.6.cjs.min.js.map +1 -0
  5. package/browser/es5/{applicationinsights-channel-js.3.0.6-nightly3.2311-06.gbl.js → applicationinsights-channel-js.3.0.6.gbl.js} +151 -194
  6. package/browser/es5/applicationinsights-channel-js.3.0.6.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-channel-js.3.0.6.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-channel-js.3.0.6.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-channel-js.3.0.6.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-channel-js.3.0.6-nightly3.2311-06.js → applicationinsights-channel-js.3.0.6.js} +151 -194
  11. package/browser/es5/applicationinsights-channel-js.3.0.6.js.map +1 -0
  12. package/browser/es5/applicationinsights-channel-js.3.0.6.min.js +6 -0
  13. package/browser/es5/applicationinsights-channel-js.3.0.6.min.js.map +1 -0
  14. package/browser/es5/applicationinsights-channel-js.3.cjs.js +148 -191
  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 +150 -193
  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 +150 -193
  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 +148 -191
  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 +56 -53
  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 +10 -9
  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 +5 -10
  51. package/types/applicationinsights-channel-js.namespaced.d.ts +5 -10
  52. package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.cjs.js.map +0 -1
  53. package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.cjs.min.js +0 -6
  54. package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.cjs.min.js.map +0 -1
  55. package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.gbl.js.map +0 -1
  56. package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.gbl.min.js +0 -6
  57. package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.gbl.min.js.map +0 -1
  58. package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.integrity.json +0 -66
  59. package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.js.map +0 -1
  60. package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.min.js +0 -6
  61. package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.min.js.map +0 -1
package/package.json CHANGED
@@ -1,65 +1,62 @@
1
- {
2
- "name": "@microsoft/applicationinsights-channel-js",
3
- "version": "3.0.6-nightly3.2311-06",
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.6-nightly3.2311-06",
57
- "@microsoft/applicationinsights-common": "3.0.6-nightly3.2311-06",
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.6",
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.6",
57
+ "@microsoft/applicationinsights-common": "3.0.6",
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.6-nightly3.2311-06
2
+ * Microsoft Application Insights JavaScript SDK Channel, 3.0.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -214,16 +214,11 @@ export declare interface ISenderConfig {
214
214
  */
215
215
  alwaysUseXhrOverride?: boolean;
216
216
  /**
217
- * [Optional] Either an array or single value identifying the requested TransportType type that should be used.
218
- * This is used during initialization to identify the requested send transport, it will be ignored if a httpXHROverride is provided.
217
+ * [Optional] Disable events splitting during sendbeacon.
218
+ * Default: false
219
+ * @since 3.0.6
219
220
  */
220
- transports?: number | number[];
221
- /**
222
- * [Optional] Either an array or single value identifying the requested TransportType type(s) that should be used during unload or events
223
- * marked as sendBeacon. This is used during initialization to identify the requested send transport, it will be ignored if a httpXHROverride
224
- * is provided and alwaysUseXhrOverride is true.
225
- */
226
- unloadTransports?: number | number[];
221
+ disableSendBeaconSplit?: boolean;
227
222
  }
228
223
 
229
224
  export declare class Sender extends BaseTelemetryPlugin implements IChannelControls {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights JavaScript SDK Channel, 3.0.6-nightly3.2311-06
2
+ * Microsoft Application Insights JavaScript SDK Channel, 3.0.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -209,16 +209,11 @@ declare namespace ApplicationInsights {
209
209
  */
210
210
  alwaysUseXhrOverride?: boolean;
211
211
  /**
212
- * [Optional] Either an array or single value identifying the requested TransportType type that should be used.
213
- * This is used during initialization to identify the requested send transport, it will be ignored if a httpXHROverride is provided.
212
+ * [Optional] Disable events splitting during sendbeacon.
213
+ * Default: false
214
+ * @since 3.0.6
214
215
  */
215
- transports?: number | number[];
216
- /**
217
- * [Optional] Either an array or single value identifying the requested TransportType type(s) that should be used during unload or events
218
- * marked as sendBeacon. This is used during initialization to identify the requested send transport, it will be ignored if a httpXHROverride
219
- * is provided and alwaysUseXhrOverride is true.
220
- */
221
- unloadTransports?: number | number[];
216
+ disableSendBeaconSplit?: boolean;
222
217
  }
223
218
 
224
219
  class Sender extends BaseTelemetryPlugin implements IChannelControls {