@microsoft/applicationinsights-teechannel-js 3.3.2 → 3.3.3-nightly3.2409-01
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-teechannel-js.3.3.2.cjs.js → applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.cjs.js} +3 -3
- package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.cjs.min.js.map +1 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.3.2.gbl.js → applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.gbl.js} +5 -5
- package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.integrity.json +66 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.3.2.js → applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.js} +5 -5
- package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-01.min.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +4 -4
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.integrity.json +25 -25
- package/browser/es5/applicationinsights-teechannel-js.3.js +4 -4
- package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-teechannel-js.js +2 -2
- package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
- package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
- package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
- package/dist-es5/ChannelController.js +1 -1
- package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
- package/dist-es5/TeeChannel.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-teechannel-js.js +1 -1
- package/package.json +66 -63
- package/types/applicationinsights-teechannel-js.d.ts +1 -1
- package/types/applicationinsights-teechannel-js.namespaced.d.ts +29 -3
- package/browser/es5/applicationinsights-teechannel-js.3.3.2.cjs.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.2.cjs.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.3.2.cjs.min.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.2.gbl.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.2.gbl.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.3.2.gbl.min.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.2.integrity.json +0 -66
- package/browser/es5/applicationinsights-teechannel-js.3.3.2.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.2.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.3.2.min.js.map +0 -1
package/dist-es5/TeeChannel.js
CHANGED
package/package.json
CHANGED
|
@@ -1,63 +1,66 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microsoft/applicationinsights-teechannel-js",
|
|
3
|
-
"version": "3.3.
|
|
4
|
-
"description": "Microsoft Application Insights JavaScript SDK Tee Channel",
|
|
5
|
-
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
|
-
"author": "Microsoft Application Insights Team",
|
|
7
|
-
"main": "dist/es5/applicationinsights-teechannel-js.js",
|
|
8
|
-
"module": "dist-es5/applicationinsights-teechannel-js.js",
|
|
9
|
-
"types": "types/applicationinsights-teechannel-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 teechannel",
|
|
16
|
-
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
17
|
-
"rebuild": "npm run build",
|
|
18
|
-
"test": "grunt teechanneltest",
|
|
19
|
-
"mintest": "grunt teechannel-mintest",
|
|
20
|
-
"lint": "tslint -p tsconfig.json",
|
|
21
|
-
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights JavaScript SDK Tee Channel\"",
|
|
22
|
-
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
23
|
-
"ai-min": "grunt teechannel-min",
|
|
24
|
-
"ai-restore": "grunt teechannel-restore",
|
|
25
|
-
"npm-pack": "npm pack",
|
|
26
|
-
"npm-publish-ai": "node ../../tools/release-tools/npm_publish.js .",
|
|
27
|
-
"api-docs": "typedoc"
|
|
28
|
-
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"@microsoft/ai-test-framework": "0.0.1",
|
|
31
|
-
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
32
|
-
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
33
|
-
"@microsoft/api-extractor": "^7.40.0",
|
|
34
|
-
"@types/sinon": "4.3.3",
|
|
35
|
-
"grunt": "^1.5.3",
|
|
36
|
-
"grunt-cli": "^1.4.3",
|
|
37
|
-
"@nevware21/grunt-ts-plugin": "^0.4.3",
|
|
38
|
-
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
39
|
-
"globby": "^11.0.0",
|
|
40
|
-
"magic-string": "^0.25.7",
|
|
41
|
-
"@rollup/plugin-commonjs": "^24.0.0",
|
|
42
|
-
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
43
|
-
"@rollup/plugin-replace": "^5.0.2",
|
|
44
|
-
"rollup-plugin-cleanup": "^3.2.1",
|
|
45
|
-
"rollup": "^3.20.0",
|
|
46
|
-
"typescript": "^4.9.3",
|
|
47
|
-
"tslib": "^2.0.0",
|
|
48
|
-
"typedoc": "^0.26.6",
|
|
49
|
-
"sinon": "^7.3.1"
|
|
50
|
-
},
|
|
51
|
-
"peerDependencies": {
|
|
52
|
-
"tslib": ">= 1.0.0"
|
|
53
|
-
},
|
|
54
|
-
"dependencies": {
|
|
55
|
-
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
56
|
-
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
57
|
-
"@microsoft/applicationinsights-core-js": "3.3.
|
|
58
|
-
"@microsoft/applicationinsights-common": "3.3.
|
|
59
|
-
"@nevware21/ts-utils": ">= 0.11.3 < 2.x",
|
|
60
|
-
"@nevware21/ts-async": ">= 0.5.2 < 2.x"
|
|
61
|
-
},
|
|
62
|
-
"license": "MIT"
|
|
63
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/applicationinsights-teechannel-js",
|
|
3
|
+
"version": "3.3.3-nightly3.2409-01",
|
|
4
|
+
"description": "Microsoft Application Insights JavaScript SDK Tee Channel",
|
|
5
|
+
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
|
+
"author": "Microsoft Application Insights Team",
|
|
7
|
+
"main": "dist/es5/applicationinsights-teechannel-js.js",
|
|
8
|
+
"module": "dist-es5/applicationinsights-teechannel-js.js",
|
|
9
|
+
"types": "types/applicationinsights-teechannel-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 teechannel",
|
|
16
|
+
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
17
|
+
"rebuild": "npm run build",
|
|
18
|
+
"test": "grunt teechanneltest",
|
|
19
|
+
"mintest": "grunt teechannel-mintest",
|
|
20
|
+
"lint": "tslint -p tsconfig.json",
|
|
21
|
+
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights JavaScript SDK Tee Channel\"",
|
|
22
|
+
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
23
|
+
"ai-min": "grunt teechannel-min",
|
|
24
|
+
"ai-restore": "grunt teechannel-restore",
|
|
25
|
+
"npm-pack": "npm pack",
|
|
26
|
+
"npm-publish-ai": "node ../../tools/release-tools/npm_publish.js .",
|
|
27
|
+
"api-docs": "typedoc"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@microsoft/ai-test-framework": "0.0.1",
|
|
31
|
+
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
32
|
+
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
33
|
+
"@microsoft/api-extractor": "^7.40.0",
|
|
34
|
+
"@types/sinon": "4.3.3",
|
|
35
|
+
"grunt": "^1.5.3",
|
|
36
|
+
"grunt-cli": "^1.4.3",
|
|
37
|
+
"@nevware21/grunt-ts-plugin": "^0.4.3",
|
|
38
|
+
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
39
|
+
"globby": "^11.0.0",
|
|
40
|
+
"magic-string": "^0.25.7",
|
|
41
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
42
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
43
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
44
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
45
|
+
"rollup": "^3.20.0",
|
|
46
|
+
"typescript": "^4.9.3",
|
|
47
|
+
"tslib": "^2.0.0",
|
|
48
|
+
"typedoc": "^0.26.6",
|
|
49
|
+
"sinon": "^7.3.1"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"tslib": ">= 1.0.0"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
56
|
+
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
57
|
+
"@microsoft/applicationinsights-core-js": "3.3.3-nightly3.2409-01",
|
|
58
|
+
"@microsoft/applicationinsights-common": "3.3.3-nightly3.2409-01",
|
|
59
|
+
"@nevware21/ts-utils": ">= 0.11.3 < 2.x",
|
|
60
|
+
"@nevware21/ts-async": ">= 0.5.2 < 2.x"
|
|
61
|
+
},
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"tag": "nightly3"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights JavaScript SDK Tee Channel, 3.3.
|
|
2
|
+
* Microsoft Application Insights JavaScript SDK Tee Channel, 3.3.3-nightly3.2409-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1353,10 +1353,31 @@ declare namespace ApplicationInsights {
|
|
|
1353
1353
|
setTraceFlags(newValue?: number): void;
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
|
+
/**
|
|
1357
|
+
* Configuration for extra exceptions information sent with the exception telemetry.
|
|
1358
|
+
* @example
|
|
1359
|
+
* ```js
|
|
1360
|
+
* const appInsights = new ApplicationInsights({
|
|
1361
|
+
config: {
|
|
1362
|
+
connectionString: 'InstrumentationKey=YOUR_INSTRUMENTATION_KEY_GOES_HERE',
|
|
1363
|
+
expCfg: {
|
|
1364
|
+
inclScripts: true,
|
|
1365
|
+
expLog : () => {
|
|
1366
|
+
return {logs: ["log info 1", "log info 2"]};
|
|
1367
|
+
},
|
|
1368
|
+
maxLogs : 100
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
});
|
|
1372
|
+
appInsights.trackException({error: new Error(), severityLevel: SeverityLevel.Critical});
|
|
1373
|
+
* ```
|
|
1374
|
+
* @interface IExceptionConfig
|
|
1375
|
+
*/
|
|
1356
1376
|
interface IExceptionConfig {
|
|
1357
1377
|
/**
|
|
1358
1378
|
* If set to true, when exception is sent out, the SDK will also send out all scripts basic info that are loaded on the page.
|
|
1359
1379
|
* Notice: This would increase the size of the exception telemetry.
|
|
1380
|
+
* @defaultvalue true
|
|
1360
1381
|
*/
|
|
1361
1382
|
inclScripts?: boolean;
|
|
1362
1383
|
/**
|
|
@@ -1371,10 +1392,15 @@ declare namespace ApplicationInsights {
|
|
|
1371
1392
|
*
|
|
1372
1393
|
* @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
|
|
1373
1394
|
*/
|
|
1374
|
-
expLog
|
|
1395
|
+
expLog?: () => {
|
|
1375
1396
|
logs: string[];
|
|
1376
1397
|
};
|
|
1377
|
-
|
|
1398
|
+
/**
|
|
1399
|
+
* The maximum number of logs to include in the telemetry data.
|
|
1400
|
+
* If not explicitly set, it defaults to 50.
|
|
1401
|
+
* This is used in conjunction with the `expLog` callback.
|
|
1402
|
+
*/
|
|
1403
|
+
maxLogs?: number;
|
|
1378
1404
|
}
|
|
1379
1405
|
|
|
1380
1406
|
interface IFeatureOptIn {
|