@microsoft/applicationinsights-core-js 3.0.0-beta.2210-02 → 3.0.0-beta.2210-03
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/applicationinsights-core-js.integrity.json +9 -9
- package/browser/applicationinsights-core-js.js +2 -2
- package/browser/applicationinsights-core-js.js.map +1 -1
- package/browser/applicationinsights-core-js.min.js +2 -2
- package/browser/applicationinsights-core-js.min.js.map +1 -1
- package/dist/applicationinsights-core-js.api.json +40 -10
- package/dist/applicationinsights-core-js.api.md +8 -5
- package/dist/applicationinsights-core-js.d.ts +8 -6
- package/dist/applicationinsights-core-js.js +2 -2
- package/dist/applicationinsights-core-js.js.map +1 -1
- package/dist/applicationinsights-core-js.min.js +2 -2
- package/dist/applicationinsights-core-js.min.js.map +1 -1
- package/dist/applicationinsights-core-js.rollup.d.ts +8 -6
- package/dist-esm/Config/ConfigDefaults.js +1 -1
- package/dist-esm/Config/DynamicConfig.js +1 -1
- package/dist-esm/Config/DynamicProperty.js +1 -1
- package/dist-esm/Config/DynamicState.js +1 -1
- package/dist-esm/Config/DynamicSupport.js +1 -1
- package/dist-esm/Config/IConfigDefaults.js +1 -1
- package/dist-esm/Config/IDynamicConfigHandler.js +1 -1
- package/dist-esm/Config/IDynamicPropertyHandler.js +1 -1
- package/dist-esm/Config/IDynamicWatcher.js +1 -1
- package/dist-esm/Config/_IDynamicConfigHandlerState.js +1 -1
- package/dist-esm/JavaScriptSDK/AppInsightsCore.js +1 -1
- package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK/ChannelController.js +1 -1
- package/dist-esm/JavaScriptSDK/CookieMgr.js +1 -1
- package/dist-esm/JavaScriptSDK/CoreUtils.js +1 -1
- package/dist-esm/JavaScriptSDK/DataCacheHelper.js +2 -2
- package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +1 -1
- package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
- package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +1 -1
- package/dist-esm/JavaScriptSDK/EnvUtils.js +1 -1
- package/dist-esm/JavaScriptSDK/EventHelpers.js +1 -1
- package/dist-esm/JavaScriptSDK/HelperFuncs.js +1 -1
- package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -1
- package/dist-esm/JavaScriptSDK/InternalConstants.js +1 -1
- package/dist-esm/JavaScriptSDK/NotificationManager.js +1 -1
- package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
- package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
- package/dist-esm/JavaScriptSDK/RandomHelper.js +1 -1
- package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +1 -1
- package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
- package/dist-esm/JavaScriptSDK/W3cTraceParent.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IUnloadHook.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/applicationinsights-core-js.js +1 -1
- package/package.json +1 -1
- package/src/JavaScriptSDK/DiagnosticLogger.ts +6 -6
- package/src/JavaScriptSDK.Interfaces/IDiagnosticLogger.ts +2 -2
- package/types/JavaScriptSDK/DiagnosticLogger.d.ts +5 -5
- package/types/JavaScriptSDK.Interfaces/IDiagnosticLogger.d.ts +2 -2
- package/types/applicationinsights-core-js.d.ts +1 -1
|
@@ -2079,8 +2079,8 @@
|
|
|
2079
2079
|
},
|
|
2080
2080
|
{
|
|
2081
2081
|
"kind": "Reference",
|
|
2082
|
-
"text": "
|
|
2083
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!
|
|
2082
|
+
"text": "_InternalMessageId",
|
|
2083
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!_InternalMessageId:type"
|
|
2084
2084
|
},
|
|
2085
2085
|
{
|
|
2086
2086
|
"kind": "Content",
|
|
@@ -2219,8 +2219,8 @@
|
|
|
2219
2219
|
},
|
|
2220
2220
|
{
|
|
2221
2221
|
"kind": "Reference",
|
|
2222
|
-
"text": "
|
|
2223
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!
|
|
2222
|
+
"text": "_InternalMessageId",
|
|
2223
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!_InternalMessageId:type"
|
|
2224
2224
|
},
|
|
2225
2225
|
{
|
|
2226
2226
|
"kind": "Content",
|
|
@@ -2241,6 +2241,36 @@
|
|
|
2241
2241
|
],
|
|
2242
2242
|
"implementsTokenRanges": []
|
|
2243
2243
|
},
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "TypeAlias",
|
|
2246
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!_InternalMessageId:type",
|
|
2247
|
+
"docComment": "",
|
|
2248
|
+
"excerptTokens": [
|
|
2249
|
+
{
|
|
2250
|
+
"kind": "Content",
|
|
2251
|
+
"text": "export declare type _InternalMessageId = "
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
"kind": "Content",
|
|
2255
|
+
"text": "number | "
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"kind": "Reference",
|
|
2259
|
+
"text": "_eInternalMessageId",
|
|
2260
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!_eInternalMessageId:enum"
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
"kind": "Content",
|
|
2264
|
+
"text": ";"
|
|
2265
|
+
}
|
|
2266
|
+
],
|
|
2267
|
+
"releaseTag": "Public",
|
|
2268
|
+
"name": "_InternalMessageId",
|
|
2269
|
+
"typeTokenRange": {
|
|
2270
|
+
"startIndex": 1,
|
|
2271
|
+
"endIndex": 3
|
|
2272
|
+
}
|
|
2273
|
+
},
|
|
2244
2274
|
{
|
|
2245
2275
|
"kind": "Interface",
|
|
2246
2276
|
"canonicalReference": "@microsoft/applicationinsights-core-js!_IRegisteredEvents:interface",
|
|
@@ -2420,8 +2450,8 @@
|
|
|
2420
2450
|
},
|
|
2421
2451
|
{
|
|
2422
2452
|
"kind": "Reference",
|
|
2423
|
-
"text": "
|
|
2424
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!
|
|
2453
|
+
"text": "_InternalMessageId",
|
|
2454
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!_InternalMessageId:type"
|
|
2425
2455
|
},
|
|
2426
2456
|
{
|
|
2427
2457
|
"kind": "Content",
|
|
@@ -7037,8 +7067,8 @@
|
|
|
7037
7067
|
},
|
|
7038
7068
|
{
|
|
7039
7069
|
"kind": "Reference",
|
|
7040
|
-
"text": "
|
|
7041
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!
|
|
7070
|
+
"text": "_InternalMessageId",
|
|
7071
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!_InternalMessageId:type"
|
|
7042
7072
|
},
|
|
7043
7073
|
{
|
|
7044
7074
|
"kind": "Content",
|
|
@@ -13109,8 +13139,8 @@
|
|
|
13109
13139
|
},
|
|
13110
13140
|
{
|
|
13111
13141
|
"kind": "Reference",
|
|
13112
|
-
"text": "
|
|
13113
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!
|
|
13142
|
+
"text": "_InternalMessageId",
|
|
13143
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!_InternalMessageId:type"
|
|
13114
13144
|
},
|
|
13115
13145
|
{
|
|
13116
13146
|
"kind": "Content",
|
|
@@ -226,7 +226,7 @@ export class DiagnosticLogger implements IDiagnosticLogger {
|
|
|
226
226
|
queue: _InternalLogMessage[];
|
|
227
227
|
resetInternalMessageCount(): void;
|
|
228
228
|
telemetryLoggingLevel(): number;
|
|
229
|
-
throwInternal(severity: LoggingSeverity, msgId:
|
|
229
|
+
throwInternal(severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
|
|
230
230
|
// (undocumented)
|
|
231
231
|
update(updateState: ITelemetryUpdateState): void;
|
|
232
232
|
warnToConsole(message: string): void;
|
|
@@ -690,7 +690,7 @@ export interface IDiagnosticLogger {
|
|
|
690
690
|
queue: _InternalLogMessage[];
|
|
691
691
|
resetInternalMessageCount(): void;
|
|
692
692
|
telemetryLoggingLevel: () => number;
|
|
693
|
-
throwInternal(severity: LoggingSeverity, msgId:
|
|
693
|
+
throwInternal(severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
|
|
694
694
|
update?(updateState: ITelemetryUpdateState): void;
|
|
695
695
|
warnToConsole(message: string): void;
|
|
696
696
|
}
|
|
@@ -822,15 +822,18 @@ export function InstrumentProtos(target: any, funcNames: string[], callbacks: II
|
|
|
822
822
|
|
|
823
823
|
// @public (undocumented)
|
|
824
824
|
export class _InternalLogMessage {
|
|
825
|
-
constructor(msgId:
|
|
825
|
+
constructor(msgId: _InternalMessageId, msg: string, isUserAct?: boolean, properties?: Object);
|
|
826
826
|
// (undocumented)
|
|
827
827
|
static dataType: string;
|
|
828
828
|
// (undocumented)
|
|
829
829
|
message: string;
|
|
830
830
|
// (undocumented)
|
|
831
|
-
messageId:
|
|
831
|
+
messageId: _InternalMessageId;
|
|
832
832
|
}
|
|
833
833
|
|
|
834
|
+
// @public (undocumented)
|
|
835
|
+
export type _InternalMessageId = number | _eInternalMessageId;
|
|
836
|
+
|
|
834
837
|
// @public
|
|
835
838
|
export interface IPerfEvent {
|
|
836
839
|
childEvts?: IPerfEvent[];
|
|
@@ -1299,7 +1302,7 @@ export const enum TelemetryUpdateReason {
|
|
|
1299
1302
|
export { throwError }
|
|
1300
1303
|
|
|
1301
1304
|
// @public
|
|
1302
|
-
export function _throwInternal(logger: IDiagnosticLogger, severity: LoggingSeverity, msgId:
|
|
1305
|
+
export function _throwInternal(logger: IDiagnosticLogger, severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
|
|
1303
1306
|
|
|
1304
1307
|
// @public
|
|
1305
1308
|
export function toISOString(date: Date): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Core Javascript SDK, 3.0.0-beta.2210-
|
|
2
|
+
* Microsoft Application Insights Core Javascript SDK, 3.0.0-beta.2210-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -486,7 +486,7 @@ declare namespace ApplicationInsights {
|
|
|
486
486
|
* @param severity - {LoggingSeverity} - The severity of the log message
|
|
487
487
|
* @param message - {_InternalLogMessage} - The log message.
|
|
488
488
|
*/
|
|
489
|
-
throwInternal(severity: LoggingSeverity, msgId:
|
|
489
|
+
throwInternal(severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
|
|
490
490
|
/**
|
|
491
491
|
* This will write a warning to the console if possible
|
|
492
492
|
* @param message - {string} - The warning message
|
|
@@ -1373,7 +1373,7 @@ declare namespace ApplicationInsights {
|
|
|
1373
1373
|
* @param severity - {LoggingSeverity} - The severity of the log message
|
|
1374
1374
|
* @param message - {_InternalLogMessage} - The log message.
|
|
1375
1375
|
*/
|
|
1376
|
-
throwInternal(severity: LoggingSeverity, msgId:
|
|
1376
|
+
throwInternal(severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
|
|
1377
1377
|
/**
|
|
1378
1378
|
* This will write a warning to the console if possible
|
|
1379
1379
|
* @param message - {string} - The warning message
|
|
@@ -1732,10 +1732,12 @@ declare namespace ApplicationInsights {
|
|
|
1732
1732
|
class _InternalLogMessage {
|
|
1733
1733
|
static dataType: string;
|
|
1734
1734
|
message: string;
|
|
1735
|
-
messageId:
|
|
1736
|
-
constructor(msgId:
|
|
1735
|
+
messageId: _InternalMessageId;
|
|
1736
|
+
constructor(msgId: _InternalMessageId, msg: string, isUserAct?: boolean, properties?: Object);
|
|
1737
1737
|
}
|
|
1738
1738
|
|
|
1739
|
+
type _InternalMessageId = number | _eInternalMessageId;
|
|
1740
|
+
|
|
1739
1741
|
/**
|
|
1740
1742
|
* This interface identifies the details of an internal performance event - it does not represent an outgoing reported event
|
|
1741
1743
|
*/
|
|
@@ -2820,7 +2822,7 @@ declare namespace ApplicationInsights {
|
|
|
2820
2822
|
* @param severity - {LoggingSeverity} - The severity of the log message
|
|
2821
2823
|
* @param message - {_InternalLogMessage} - The log message.
|
|
2822
2824
|
*/
|
|
2823
|
-
function _throwInternal(logger: IDiagnosticLogger, severity: LoggingSeverity, msgId:
|
|
2825
|
+
function _throwInternal(logger: IDiagnosticLogger, severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
|
|
2824
2826
|
|
|
2825
2827
|
/**
|
|
2826
2828
|
* Convert a date to I.S.O. format in IE8
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Core, 3.0.0-beta.2210-
|
|
2
|
+
* Application Insights JavaScript SDK - Core, 3.0.0-beta.2210-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -1546,7 +1546,7 @@
|
|
|
1546
1546
|
}
|
|
1547
1547
|
|
|
1548
1548
|
var _objDefineProperty = ObjDefineProperty;
|
|
1549
|
-
var version = "3.0.0-beta.2210-
|
|
1549
|
+
var version = "3.0.0-beta.2210-03";
|
|
1550
1550
|
var instanceName = "." + newId(6);
|
|
1551
1551
|
var _dataUid = 0;
|
|
1552
1552
|
function _createAccessor(target, prop, value) {
|