@microsoft/applicationinsights-web-basic 3.0.0-beta.2210-03 → 3.0.0-beta.2210-06
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/aib.2.js +416 -215
- package/browser/aib.2.js.map +1 -1
- package/browser/aib.2.min.js +2 -2
- package/browser/aib.2.min.js.map +1 -1
- package/browser/aib.3.0.0-beta.2210-06.integrity.json +26 -0
- package/browser/{aib.3.0.0-beta.2210-03.js → aib.3.0.0-beta.2210-06.js} +417 -216
- package/browser/aib.3.0.0-beta.2210-06.js.map +1 -0
- package/browser/aib.3.0.0-beta.2210-06.min.js +6 -0
- package/browser/aib.3.0.0-beta.2210-06.min.js.map +1 -0
- package/dist/applicationinsights-web-basic.api.json +1 -1
- package/dist/applicationinsights-web-basic.d.ts +23 -46
- package/dist/applicationinsights-web-basic.js +416 -215
- package/dist/applicationinsights-web-basic.js.map +1 -1
- package/dist/applicationinsights-web-basic.min.js +2 -2
- package/dist/applicationinsights-web-basic.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.rollup.d.ts +23 -46
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/index.js +1 -1
- package/package.json +6 -6
- package/types/tsdoc-metadata.json +1 -1
- package/browser/aib.3.0.0-beta.2210-03.integrity.json +0 -26
- package/browser/aib.3.0.0-beta.2210-03.js.map +0 -1
- package/browser/aib.3.0.0-beta.2210-03.min.js +0 -6
- package/browser/aib.3.0.0-beta.2210-03.min.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft.ApplicationInsights, 3.0.0-beta.2210-
|
|
2
|
+
* Microsoft.ApplicationInsights, 3.0.0-beta.2210-06
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1388,20 +1388,20 @@ declare interface IDiagnosticLogger {
|
|
|
1388
1388
|
queue: _InternalLogMessage[];
|
|
1389
1389
|
/**
|
|
1390
1390
|
* This method will throw exceptions in debug mode or attempt to log the error as a console warning.
|
|
1391
|
-
* @param severity -
|
|
1392
|
-
* @param message -
|
|
1391
|
+
* @param severity - The severity of the log message
|
|
1392
|
+
* @param message - The log message.
|
|
1393
1393
|
*/
|
|
1394
1394
|
throwInternal(severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
|
|
1395
1395
|
/**
|
|
1396
1396
|
* This will write a warning to the console if possible
|
|
1397
|
-
* @param message -
|
|
1397
|
+
* @param message - The warning message
|
|
1398
1398
|
*/
|
|
1399
1399
|
warnToConsole(message: string): void;
|
|
1400
1400
|
/**
|
|
1401
1401
|
* This will write an error to the console if possible.
|
|
1402
1402
|
* Provided by the default DiagnosticLogger instance, and internally the SDK will fall back to warnToConsole, however,
|
|
1403
1403
|
* direct callers MUST check for its existence on the logger as you can provide your own IDiagnosticLogger instance.
|
|
1404
|
-
* @param message -
|
|
1404
|
+
* @param message - The error message
|
|
1405
1405
|
*/
|
|
1406
1406
|
errorToConsole?(message: string): void;
|
|
1407
1407
|
/**
|
|
@@ -1410,8 +1410,8 @@ declare interface IDiagnosticLogger {
|
|
|
1410
1410
|
resetInternalMessageCount(): void;
|
|
1411
1411
|
/**
|
|
1412
1412
|
* Logs a message to the internal queue.
|
|
1413
|
-
* @param severity -
|
|
1414
|
-
* @param message -
|
|
1413
|
+
* @param severity - The severity of the log message
|
|
1414
|
+
* @param message - The message to log.
|
|
1415
1415
|
*/
|
|
1416
1416
|
logInternalMessage?(severity: LoggingSeverity, message: _InternalLogMessage): void;
|
|
1417
1417
|
/**
|
|
@@ -1465,39 +1465,6 @@ declare interface IDistributedTraceContext {
|
|
|
1465
1465
|
setTraceFlags(newValue?: number): void;
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
|
-
/**
|
|
1469
|
-
* This interface identifies the config which can track changes
|
|
1470
|
-
*/
|
|
1471
|
-
declare interface IDynamicConfigHandler<T extends IConfiguration> {
|
|
1472
|
-
/**
|
|
1473
|
-
* Unique Id for this config handler
|
|
1474
|
-
*/
|
|
1475
|
-
readonly uid: string;
|
|
1476
|
-
/**
|
|
1477
|
-
* Link back to the configuration object that should be used to get/set values
|
|
1478
|
-
*/
|
|
1479
|
-
cfg: T;
|
|
1480
|
-
/**
|
|
1481
|
-
* The logger instance to use to loger any issues
|
|
1482
|
-
*/
|
|
1483
|
-
logger: IDiagnosticLogger;
|
|
1484
|
-
/**
|
|
1485
|
-
* Helper to call any listeners that are waiting to be notified
|
|
1486
|
-
*/
|
|
1487
|
-
notify: () => void;
|
|
1488
|
-
/**
|
|
1489
|
-
* Watch and track changes for accesses to the current config anb
|
|
1490
|
-
*/
|
|
1491
|
-
watch: (configHandler: WatcherFunction<T>) => IWatcherHandler<T>;
|
|
1492
|
-
/**
|
|
1493
|
-
* Set the value against the provided config/name with the value, the property
|
|
1494
|
-
* will be converted to be dynamic (if not already) as long as the provided config
|
|
1495
|
-
* is already a tracked dynamic object.
|
|
1496
|
-
* @throws TypeError if the provided config is not a monitored dynamic config
|
|
1497
|
-
*/
|
|
1498
|
-
set: <C, V>(theConfig: C, name: string, value: V) => V;
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
1468
|
declare interface IEnvelope extends ISerializable {
|
|
1502
1469
|
/**
|
|
1503
1470
|
* Envelope version. For internal use only. By assigning this the default, it will not be serialized within the payload unless changed to a value other than #1.
|
|
@@ -2322,13 +2289,23 @@ declare interface IUnloadHook {
|
|
|
2322
2289
|
}
|
|
2323
2290
|
|
|
2324
2291
|
declare interface IWatchDetails<T extends IConfiguration> {
|
|
2292
|
+
/**
|
|
2293
|
+
* The current config object
|
|
2294
|
+
*/
|
|
2325
2295
|
cfg: T;
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2296
|
+
/**
|
|
2297
|
+
* Set the value against the provided config/name with the value, the property
|
|
2298
|
+
* will be converted to be dynamic (if not already) as long as the provided config
|
|
2299
|
+
* is already a tracked dynamic object.
|
|
2300
|
+
* @throws TypeError if the provided config is not a monitored dynamic config
|
|
2301
|
+
*/
|
|
2302
|
+
set: <C, V>(theConfig: C, name: string, value: V) => V;
|
|
2303
|
+
/**
|
|
2304
|
+
* Set default values for the config if not present.
|
|
2305
|
+
* @param theConfig - The configuration object to set default on (if missing)
|
|
2306
|
+
* @param defaultValues - The default values to apply to the config
|
|
2307
|
+
*/
|
|
2308
|
+
setDf: <C>(theConfig: C, defaultValues: IConfigDefaults<C>) => C;
|
|
2332
2309
|
}
|
|
2333
2310
|
|
|
2334
2311
|
declare const LoggingSeverity: EnumValue<typeof eLoggingSeverity>;
|
package/dist-esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-web-basic",
|
|
3
|
-
"version": "3.0.0-beta.2210-
|
|
3
|
+
"version": "3.0.0-beta.2210-06",
|
|
4
4
|
"description": "Microsoft Application Insights Javascript SDK core and channel",
|
|
5
5
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
6
|
"author": "Microsoft Application Insights Team",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"tslib": "*"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@microsoft/dynamicproto-js": "^1.1.
|
|
55
|
+
"@microsoft/dynamicproto-js": "^1.1.7",
|
|
56
56
|
"@microsoft/applicationinsights-shims": "2.0.1",
|
|
57
|
-
"@microsoft/applicationinsights-common": "3.0.0-beta.2210-
|
|
58
|
-
"@microsoft/applicationinsights-channel-js": "3.0.0-beta.2210-
|
|
59
|
-
"@microsoft/applicationinsights-core-js": "3.0.0-beta.2210-
|
|
60
|
-
"@nevware21/ts-utils": "^0.4.
|
|
57
|
+
"@microsoft/applicationinsights-common": "3.0.0-beta.2210-06",
|
|
58
|
+
"@microsoft/applicationinsights-channel-js": "3.0.0-beta.2210-06",
|
|
59
|
+
"@microsoft/applicationinsights-core-js": "3.0.0-beta.2210-06",
|
|
60
|
+
"@nevware21/ts-utils": "^0.4.4"
|
|
61
61
|
},
|
|
62
62
|
"license": "MIT",
|
|
63
63
|
"publishConfig": {
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "aib",
|
|
3
|
-
"version": "3.0.0-beta.2210-03",
|
|
4
|
-
"ext": {
|
|
5
|
-
"@js": {
|
|
6
|
-
"file": "aib.3.0.0-beta.2210-03.js",
|
|
7
|
-
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-UPQ6LCEzwfXrW1F7emwOkWIq7n2FFlva6mA+wqj8jU4= sha384-lGS/CbRx29zjjjI+40yDjZRhj5LfDVcaaSWiozSS5/dwDJkpoD7jcvoBVoxYyRO2 sha512-gmcf9vM8Q2YQg66Wco9IOsLYdNdo/rR7aEbGs9lkvCYAmA3jlH48lECH3cAdS4FHCu2QbF2OQP1n9BuqR0F08g==",
|
|
9
|
-
"hashes": {
|
|
10
|
-
"sha256": "UPQ6LCEzwfXrW1F7emwOkWIq7n2FFlva6mA+wqj8jU4=",
|
|
11
|
-
"sha384": "lGS/CbRx29zjjjI+40yDjZRhj5LfDVcaaSWiozSS5/dwDJkpoD7jcvoBVoxYyRO2",
|
|
12
|
-
"sha512": "gmcf9vM8Q2YQg66Wco9IOsLYdNdo/rR7aEbGs9lkvCYAmA3jlH48lECH3cAdS4FHCu2QbF2OQP1n9BuqR0F08g=="
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"@min.js": {
|
|
16
|
-
"file": "aib.3.0.0-beta.2210-03.min.js",
|
|
17
|
-
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-DlRbeoaHmxBUL8LsV0wrLgYUFKsnRys0MUxfaLOHFw0= sha384-UN+vcB4Q1gX+KgVJIPnnPdUg/i6QVX8obIv5fkvn8/6a5zoFN+eS5KTlohSGF7TE sha512-qzWmOKRDGE4f2DWtiqozCdFTFlBDIciALaL+bE2d6VG91KOi0sZK9gxIByXZyxlgW2viWgSibpljaevhOOTCDA==",
|
|
19
|
-
"hashes": {
|
|
20
|
-
"sha256": "DlRbeoaHmxBUL8LsV0wrLgYUFKsnRys0MUxfaLOHFw0=",
|
|
21
|
-
"sha384": "UN+vcB4Q1gX+KgVJIPnnPdUg/i6QVX8obIv5fkvn8/6a5zoFN+eS5KTlohSGF7TE",
|
|
22
|
-
"sha512": "qzWmOKRDGE4f2DWtiqozCdFTFlBDIciALaL+bE2d6VG91KOi0sZK9gxIByXZyxlgW2viWgSibpljaevhOOTCDA=="
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|