@microsoft/applicationinsights-channel-js 3.0.8 → 3.0.9
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.8.cjs.js → applicationinsights-channel-js.3.0.9.cjs.js} +86 -97
- package/browser/es5/applicationinsights-channel-js.3.0.9.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.9.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.9.cjs.min.js.map +1 -0
- package/browser/es5/{applicationinsights-channel-js.3.0.8.gbl.js → applicationinsights-channel-js.3.0.9.gbl.js} +88 -99
- package/browser/es5/applicationinsights-channel-js.3.0.9.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.9.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.9.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.9.integrity.json +66 -0
- package/browser/es5/{applicationinsights-channel-js.3.0.8.js → applicationinsights-channel-js.3.0.9.js} +88 -99
- package/browser/es5/applicationinsights-channel-js.3.0.9.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.9.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.9.min.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.cjs.js +85 -96
- 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 +87 -98
- 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 +87 -98
- 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 +85 -96
- 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 +1 -1
- package/dist-es5/SendBuffer.js +1 -1
- package/dist-es5/Sender.js +12 -4
- 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 +1 -1
- package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
- package/dist-es5/__DynamicConstants.js +2 -2
- package/dist-es5/__DynamicConstants.js.map +1 -1
- package/dist-es5/applicationinsights-channel-js.js +1 -1
- package/package.json +65 -62
- package/types/applicationinsights-channel-js.d.ts +7 -2
- package/types/applicationinsights-channel-js.namespaced.d.ts +2477 -42
- package/browser/es5/applicationinsights-channel-js.3.0.8.cjs.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.8.cjs.min.js +0 -6
- package/browser/es5/applicationinsights-channel-js.3.0.8.cjs.min.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.8.gbl.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.8.gbl.min.js +0 -6
- package/browser/es5/applicationinsights-channel-js.3.0.8.gbl.min.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.8.integrity.json +0 -66
- package/browser/es5/applicationinsights-channel-js.3.0.8.js.map +0 -1
- package/browser/es5/applicationinsights-channel-js.3.0.8.min.js +0 -6
- package/browser/es5/applicationinsights-channel-js.3.0.8.min.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,62 +1,65 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microsoft/applicationinsights-channel-js",
|
|
3
|
-
"version": "3.0.
|
|
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.
|
|
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.3",
|
|
55
|
-
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
56
|
-
"@microsoft/applicationinsights-core-js": "3.0.
|
|
57
|
-
"@microsoft/applicationinsights-common": "3.0.
|
|
58
|
-
"@nevware21/ts-utils": ">= 0.
|
|
59
|
-
"@nevware21/ts-async": ">= 0.3.0 < 2.x"
|
|
60
|
-
},
|
|
61
|
-
"license": "MIT"
|
|
62
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/applicationinsights-channel-js",
|
|
3
|
+
"version": "3.0.9",
|
|
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.40.0",
|
|
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.3",
|
|
55
|
+
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
56
|
+
"@microsoft/applicationinsights-core-js": "3.0.9",
|
|
57
|
+
"@microsoft/applicationinsights-common": "3.0.9",
|
|
58
|
+
"@nevware21/ts-utils": ">= 0.11.0 < 2.x",
|
|
59
|
+
"@nevware21/ts-async": ">= 0.3.0 < 2.x"
|
|
60
|
+
},
|
|
61
|
+
"license": "MIT",
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"tag": "release3"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights JavaScript SDK Channel, 3.0.
|
|
2
|
+
* Microsoft Application Insights JavaScript SDK Channel, 3.0.9
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -219,6 +219,11 @@ export declare interface ISenderConfig {
|
|
|
219
219
|
* @since 3.0.6
|
|
220
220
|
*/
|
|
221
221
|
disableSendBeaconSplit?: boolean;
|
|
222
|
+
/**
|
|
223
|
+
* (Optional) The specific error codes that will cause a retry of sending data to the backend.
|
|
224
|
+
* @since 3.1.1
|
|
225
|
+
*/
|
|
226
|
+
retryCodes?: number[];
|
|
222
227
|
}
|
|
223
228
|
|
|
224
229
|
export declare class Sender extends BaseTelemetryPlugin implements IChannelControls {
|
|
@@ -340,4 +345,4 @@ declare interface XDomainRequest extends XMLHttpRequestEventTarget {
|
|
|
340
345
|
open(method: string, url: string): void;
|
|
341
346
|
}
|
|
342
347
|
|
|
343
|
-
export { }
|
|
348
|
+
export { }
|