@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.
- package/browser/es5/{applicationinsights-channel-js.3.0.6-nightly3.2311-06.cjs.js → applicationinsights-channel-js.3.0.6.cjs.js} +149 -192
- package/browser/es5/applicationinsights-channel-js.3.0.6.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.6.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.6.cjs.min.js.map +1 -0
- package/browser/es5/{applicationinsights-channel-js.3.0.6-nightly3.2311-06.gbl.js → applicationinsights-channel-js.3.0.6.gbl.js} +151 -194
- package/browser/es5/applicationinsights-channel-js.3.0.6.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.6.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.6.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.6.integrity.json +66 -0
- package/browser/es5/{applicationinsights-channel-js.3.0.6-nightly3.2311-06.js → applicationinsights-channel-js.3.0.6.js} +151 -194
- package/browser/es5/applicationinsights-channel-js.3.0.6.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.6.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.6.min.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.cjs.js +148 -191
- package/browser/es5/applicationinsights-channel-js.3.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-channel-js.3.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-channel-js.3.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-channel-js.3.gbl.js +150 -193
- package/browser/es5/applicationinsights-channel-js.3.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-channel-js.3.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-channel-js.3.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-channel-js.3.integrity.json +25 -25
- package/browser/es5/applicationinsights-channel-js.3.js +150 -193
- package/browser/es5/applicationinsights-channel-js.3.js.map +1 -1
- package/browser/es5/applicationinsights-channel-js.3.min.js +2 -2
- package/browser/es5/applicationinsights-channel-js.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-channel-js.js +148 -191
- package/dist/es5/applicationinsights-channel-js.js.map +1 -1
- package/dist/es5/applicationinsights-channel-js.min.js +2 -2
- package/dist/es5/applicationinsights-channel-js.min.js.map +1 -1
- package/dist-es5/EnvelopeCreator.js +2 -2
- package/dist-es5/EnvelopeCreator.js.map +1 -1
- package/dist-es5/Interfaces.js +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/Offline.js +91 -0
- package/dist-es5/Offline.js.map +1 -0
- package/dist-es5/SendBuffer.js +4 -4
- package/dist-es5/SendBuffer.js.map +1 -1
- package/dist-es5/Sender.js +56 -53
- package/dist-es5/Sender.js.map +1 -1
- package/dist-es5/Serializer.js +1 -1
- package/dist-es5/TelemetryProcessors/Sample.js +1 -1
- package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js +3 -3
- package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js.map +1 -1
- package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
- package/dist-es5/__DynamicConstants.js +10 -9
- package/dist-es5/__DynamicConstants.js.map +1 -1
- package/dist-es5/applicationinsights-channel-js.js +1 -1
- package/package.json +62 -65
- package/types/applicationinsights-channel-js.d.ts +5 -10
- package/types/applicationinsights-channel-js.namespaced.d.ts +5 -10
- package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.cjs.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.cjs.min.js +0 -6
- package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.cjs.min.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.gbl.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.gbl.min.js +0 -6
- package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.gbl.min.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.integrity.json +0 -66
- package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.6-nightly3.2311-06.min.js +0 -6
- 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
|
|
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
|
-
|
|
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
|
|
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]
|
|
218
|
-
*
|
|
217
|
+
* [Optional] Disable events splitting during sendbeacon.
|
|
218
|
+
* Default: false
|
|
219
|
+
* @since 3.0.6
|
|
219
220
|
*/
|
|
220
|
-
|
|
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
|
|
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]
|
|
213
|
-
*
|
|
212
|
+
* [Optional] Disable events splitting during sendbeacon.
|
|
213
|
+
* Default: false
|
|
214
|
+
* @since 3.0.6
|
|
214
215
|
*/
|
|
215
|
-
|
|
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 {
|