@microsoft/applicationinsights-web-basic 3.0.0-beta.2210-01 → 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.
@@ -501,6 +501,27 @@
501
501
  "releaseTag": "Public",
502
502
  "name": "ClientPerformanceMathError"
503
503
  },
504
+ {
505
+ "kind": "EnumMember",
506
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!_eInternalMessageId.ConfigWatcherException:member",
507
+ "docComment": "",
508
+ "excerptTokens": [
509
+ {
510
+ "kind": "Content",
511
+ "text": "ConfigWatcherException = "
512
+ },
513
+ {
514
+ "kind": "Content",
515
+ "text": "107"
516
+ }
517
+ ],
518
+ "initializerTokenRange": {
519
+ "startIndex": 1,
520
+ "endIndex": 2
521
+ },
522
+ "releaseTag": "Public",
523
+ "name": "ConfigWatcherException"
524
+ },
504
525
  {
505
526
  "kind": "EnumMember",
506
527
  "canonicalReference": "@microsoft/applicationinsights-web-basic!_eInternalMessageId.CreateEnvelopeError:member",
@@ -522,6 +543,27 @@
522
543
  "releaseTag": "Public",
523
544
  "name": "CreateEnvelopeError"
524
545
  },
546
+ {
547
+ "kind": "EnumMember",
548
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!_eInternalMessageId.DynamicConfigException:member",
549
+ "docComment": "",
550
+ "excerptTokens": [
551
+ {
552
+ "kind": "Content",
553
+ "text": "DynamicConfigException = "
554
+ },
555
+ {
556
+ "kind": "Content",
557
+ "text": "108"
558
+ }
559
+ ],
560
+ "initializerTokenRange": {
561
+ "startIndex": 1,
562
+ "endIndex": 2
563
+ },
564
+ "releaseTag": "Public",
565
+ "name": "DynamicConfigException"
566
+ },
525
567
  {
526
568
  "kind": "EnumMember",
527
569
  "canonicalReference": "@microsoft/applicationinsights-web-basic!_eInternalMessageId.ErrorParsingAISessionCookie:member",
@@ -1931,76 +1973,6 @@
1931
1973
  }
1932
1974
  ]
1933
1975
  },
1934
- {
1935
- "kind": "TypeAlias",
1936
- "canonicalReference": "@microsoft/applicationinsights-web-basic!_InternalMessageId:type",
1937
- "docComment": "",
1938
- "excerptTokens": [
1939
- {
1940
- "kind": "Content",
1941
- "text": "export declare type _InternalMessageId = "
1942
- },
1943
- {
1944
- "kind": "Content",
1945
- "text": "number | "
1946
- },
1947
- {
1948
- "kind": "Reference",
1949
- "text": "_eInternalMessageId",
1950
- "canonicalReference": "@microsoft/applicationinsights-web-basic!_eInternalMessageId:enum"
1951
- },
1952
- {
1953
- "kind": "Content",
1954
- "text": ";"
1955
- }
1956
- ],
1957
- "releaseTag": "Public",
1958
- "name": "_InternalMessageId",
1959
- "typeTokenRange": {
1960
- "startIndex": 1,
1961
- "endIndex": 3
1962
- }
1963
- },
1964
- {
1965
- "kind": "Variable",
1966
- "canonicalReference": "@microsoft/applicationinsights-web-basic!_InternalMessageId:var",
1967
- "docComment": "/**\n * Internal message ID. Please create a new one for every conceptually different message. Please keep alphabetically ordered\n */\n",
1968
- "excerptTokens": [
1969
- {
1970
- "kind": "Content",
1971
- "text": "_InternalMessageId: "
1972
- },
1973
- {
1974
- "kind": "Content",
1975
- "text": "import(\"../JavaScriptSDK.Enums/EnumHelperFuncs\")."
1976
- },
1977
- {
1978
- "kind": "Reference",
1979
- "text": "EnumValue",
1980
- "canonicalReference": "@microsoft/applicationinsights-web-basic!EnumValue:type"
1981
- },
1982
- {
1983
- "kind": "Content",
1984
- "text": "<typeof "
1985
- },
1986
- {
1987
- "kind": "Reference",
1988
- "text": "_eInternalMessageId",
1989
- "canonicalReference": "@microsoft/applicationinsights-web-basic!_eInternalMessageId:enum"
1990
- },
1991
- {
1992
- "kind": "Content",
1993
- "text": ">"
1994
- }
1995
- ],
1996
- "isReadonly": true,
1997
- "releaseTag": "Public",
1998
- "name": "_InternalMessageId",
1999
- "variableTypeTokenRange": {
2000
- "startIndex": 1,
2001
- "endIndex": 6
2002
- }
2003
- },
2004
1976
  {
2005
1977
  "kind": "Class",
2006
1978
  "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore:class",
@@ -2008,16 +1980,7 @@
2008
1980
  "excerptTokens": [
2009
1981
  {
2010
1982
  "kind": "Content",
2011
- "text": "export declare class AppInsightsCore extends "
2012
- },
2013
- {
2014
- "kind": "Reference",
2015
- "text": "BaseCore",
2016
- "canonicalReference": "@microsoft/applicationinsights-web-basic!BaseCore:class"
2017
- },
2018
- {
2019
- "kind": "Content",
2020
- "text": " implements "
1983
+ "text": "export declare class AppInsightsCore implements "
2021
1984
  },
2022
1985
  {
2023
1986
  "kind": "Reference",
@@ -2034,37 +1997,13 @@
2034
1997
  "preserveMemberOrder": false,
2035
1998
  "members": [
2036
1999
  {
2037
- "kind": "Constructor",
2038
- "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore:constructor(1)",
2039
- "docComment": "/**\n * Constructs a new instance of the `AppInsightsCore` class\n */\n",
2040
- "excerptTokens": [
2041
- {
2042
- "kind": "Content",
2043
- "text": "constructor();"
2044
- }
2045
- ],
2046
- "releaseTag": "Public",
2047
- "isProtected": false,
2048
- "overloadIndex": 1,
2049
- "parameters": []
2050
- },
2051
- {
2052
- "kind": "Method",
2053
- "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#initialize:member(1)",
2000
+ "kind": "Property",
2001
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#_extensions:member",
2054
2002
  "docComment": "",
2055
2003
  "excerptTokens": [
2056
2004
  {
2057
2005
  "kind": "Content",
2058
- "text": "initialize(config: "
2059
- },
2060
- {
2061
- "kind": "Reference",
2062
- "text": "IConfiguration",
2063
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
2064
- },
2065
- {
2066
- "kind": "Content",
2067
- "text": ", extensions: "
2006
+ "text": "_extensions: "
2068
2007
  },
2069
2008
  {
2070
2009
  "kind": "Reference",
@@ -2077,21 +2016,42 @@
2077
2016
  },
2078
2017
  {
2079
2018
  "kind": "Content",
2080
- "text": ", logger?: "
2019
+ "text": ";"
2020
+ }
2021
+ ],
2022
+ "isReadonly": false,
2023
+ "isOptional": false,
2024
+ "releaseTag": "Public",
2025
+ "name": "_extensions",
2026
+ "propertyTypeTokenRange": {
2027
+ "startIndex": 1,
2028
+ "endIndex": 3
2029
+ },
2030
+ "isStatic": false,
2031
+ "isProtected": false
2032
+ },
2033
+ {
2034
+ "kind": "Method",
2035
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#_updateHook:member(1)",
2036
+ "docComment": "/**\n * Hook for Core extensions to allow them to update their own configuration before updating all of the plugins.\n *\n * @param updateCtx - The plugin update context\n *\n * @param updateState - The Update State\n *\n * @returns boolean - True means the extension class will call updateState otherwise the Core will\n */\n",
2037
+ "excerptTokens": [
2038
+ {
2039
+ "kind": "Content",
2040
+ "text": "protected _updateHook?(updateCtx: "
2081
2041
  },
2082
2042
  {
2083
2043
  "kind": "Reference",
2084
- "text": "IDiagnosticLogger",
2085
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IDiagnosticLogger:interface"
2044
+ "text": "IProcessTelemetryUpdateContext",
2045
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IProcessTelemetryUpdateContext:interface"
2086
2046
  },
2087
2047
  {
2088
2048
  "kind": "Content",
2089
- "text": ", notificationManager?: "
2049
+ "text": ", updateState: "
2090
2050
  },
2091
2051
  {
2092
2052
  "kind": "Reference",
2093
- "text": "INotificationManager",
2094
- "canonicalReference": "@microsoft/applicationinsights-web-basic!INotificationManager:interface"
2053
+ "text": "ITelemetryUpdateState",
2054
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ITelemetryUpdateState:interface"
2095
2055
  },
2096
2056
  {
2097
2057
  "kind": "Content",
@@ -2099,7 +2059,7 @@
2099
2059
  },
2100
2060
  {
2101
2061
  "kind": "Content",
2102
- "text": "void"
2062
+ "text": "void | boolean"
2103
2063
  },
2104
2064
  {
2105
2065
  "kind": "Content",
@@ -2108,15 +2068,15 @@
2108
2068
  ],
2109
2069
  "isStatic": false,
2110
2070
  "returnTypeTokenRange": {
2111
- "startIndex": 10,
2112
- "endIndex": 11
2071
+ "startIndex": 5,
2072
+ "endIndex": 6
2113
2073
  },
2114
2074
  "releaseTag": "Public",
2115
- "isProtected": false,
2075
+ "isProtected": true,
2116
2076
  "overloadIndex": 1,
2117
2077
  "parameters": [
2118
2078
  {
2119
- "parameterName": "config",
2079
+ "parameterName": "updateCtx",
2120
2080
  "parameterTypeTokenRange": {
2121
2081
  "startIndex": 1,
2122
2082
  "endIndex": 2
@@ -2124,46 +2084,45 @@
2124
2084
  "isOptional": false
2125
2085
  },
2126
2086
  {
2127
- "parameterName": "extensions",
2087
+ "parameterName": "updateState",
2128
2088
  "parameterTypeTokenRange": {
2129
2089
  "startIndex": 3,
2130
- "endIndex": 5
2090
+ "endIndex": 4
2131
2091
  },
2132
2092
  "isOptional": false
2133
- },
2134
- {
2135
- "parameterName": "logger",
2136
- "parameterTypeTokenRange": {
2137
- "startIndex": 6,
2138
- "endIndex": 7
2139
- },
2140
- "isOptional": true
2141
- },
2093
+ }
2094
+ ],
2095
+ "isOptional": true,
2096
+ "name": "_updateHook"
2097
+ },
2098
+ {
2099
+ "kind": "Constructor",
2100
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore:constructor(1)",
2101
+ "docComment": "/**\n * Constructs a new instance of the `AppInsightsCore` class\n */\n",
2102
+ "excerptTokens": [
2142
2103
  {
2143
- "parameterName": "notificationManager",
2144
- "parameterTypeTokenRange": {
2145
- "startIndex": 8,
2146
- "endIndex": 9
2147
- },
2148
- "isOptional": true
2104
+ "kind": "Content",
2105
+ "text": "constructor();"
2149
2106
  }
2150
2107
  ],
2151
- "isOptional": false,
2152
- "name": "initialize"
2108
+ "releaseTag": "Public",
2109
+ "isProtected": false,
2110
+ "overloadIndex": 1,
2111
+ "parameters": []
2153
2112
  },
2154
2113
  {
2155
2114
  "kind": "Method",
2156
- "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#track:member(1)",
2157
- "docComment": "",
2115
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#addNotificationListener:member(1)",
2116
+ "docComment": "/**\n * Adds a notification listener. The SDK calls methods on the listener when an appropriate notification is raised. The added plugins must raise notifications. If the plugins do not implement the notifications, then no methods will be called.\n *\n * @param listener - An INotificationListener object.\n */\n",
2158
2117
  "excerptTokens": [
2159
2118
  {
2160
2119
  "kind": "Content",
2161
- "text": "track(telemetryItem: "
2120
+ "text": "addNotificationListener(listener: "
2162
2121
  },
2163
2122
  {
2164
2123
  "kind": "Reference",
2165
- "text": "ITelemetryItem",
2166
- "canonicalReference": "@microsoft/applicationinsights-web-basic!ITelemetryItem:interface"
2124
+ "text": "INotificationListener",
2125
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!INotificationListener:interface"
2167
2126
  },
2168
2127
  {
2169
2128
  "kind": "Content",
@@ -2188,7 +2147,7 @@
2188
2147
  "overloadIndex": 1,
2189
2148
  "parameters": [
2190
2149
  {
2191
- "parameterName": "telemetryItem",
2150
+ "parameterName": "listener",
2192
2151
  "parameterTypeTokenRange": {
2193
2152
  "startIndex": 1,
2194
2153
  "endIndex": 2
@@ -2197,17 +2156,1620 @@
2197
2156
  }
2198
2157
  ],
2199
2158
  "isOptional": false,
2200
- "name": "track"
2159
+ "name": "addNotificationListener"
2160
+ },
2161
+ {
2162
+ "kind": "Method",
2163
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#addPlugin:member(1)",
2164
+ "docComment": "/**\n * Add a new plugin to the installation\n *\n * @param plugin - The new plugin to add\n *\n * @param replaceExisting - should any existing plugin be replaced, default is false\n *\n * @param doAsync - Should the add be performed asynchronously\n *\n * @param addCb - [Optional] callback to call after the plugin has been added\n */\n",
2165
+ "excerptTokens": [
2166
+ {
2167
+ "kind": "Content",
2168
+ "text": "addPlugin<T extends "
2169
+ },
2170
+ {
2171
+ "kind": "Reference",
2172
+ "text": "IPlugin",
2173
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IPlugin:interface"
2174
+ },
2175
+ {
2176
+ "kind": "Content",
2177
+ "text": " = "
2178
+ },
2179
+ {
2180
+ "kind": "Reference",
2181
+ "text": "ITelemetryPlugin",
2182
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ITelemetryPlugin:interface"
2183
+ },
2184
+ {
2185
+ "kind": "Content",
2186
+ "text": ">(plugin: "
2187
+ },
2188
+ {
2189
+ "kind": "Content",
2190
+ "text": "T"
2191
+ },
2192
+ {
2193
+ "kind": "Content",
2194
+ "text": ", replaceExisting?: "
2195
+ },
2196
+ {
2197
+ "kind": "Content",
2198
+ "text": "boolean"
2199
+ },
2200
+ {
2201
+ "kind": "Content",
2202
+ "text": ", doAsync?: "
2203
+ },
2204
+ {
2205
+ "kind": "Content",
2206
+ "text": "boolean"
2207
+ },
2208
+ {
2209
+ "kind": "Content",
2210
+ "text": ", addCb?: "
2211
+ },
2212
+ {
2213
+ "kind": "Content",
2214
+ "text": "(added?: boolean) => void"
2215
+ },
2216
+ {
2217
+ "kind": "Content",
2218
+ "text": "): "
2219
+ },
2220
+ {
2221
+ "kind": "Content",
2222
+ "text": "void"
2223
+ },
2224
+ {
2225
+ "kind": "Content",
2226
+ "text": ";"
2227
+ }
2228
+ ],
2229
+ "typeParameters": [
2230
+ {
2231
+ "typeParameterName": "T",
2232
+ "constraintTokenRange": {
2233
+ "startIndex": 1,
2234
+ "endIndex": 2
2235
+ },
2236
+ "defaultTypeTokenRange": {
2237
+ "startIndex": 3,
2238
+ "endIndex": 4
2239
+ }
2240
+ }
2241
+ ],
2242
+ "isStatic": false,
2243
+ "returnTypeTokenRange": {
2244
+ "startIndex": 13,
2245
+ "endIndex": 14
2246
+ },
2247
+ "releaseTag": "Public",
2248
+ "isProtected": false,
2249
+ "overloadIndex": 1,
2250
+ "parameters": [
2251
+ {
2252
+ "parameterName": "plugin",
2253
+ "parameterTypeTokenRange": {
2254
+ "startIndex": 5,
2255
+ "endIndex": 6
2256
+ },
2257
+ "isOptional": false
2258
+ },
2259
+ {
2260
+ "parameterName": "replaceExisting",
2261
+ "parameterTypeTokenRange": {
2262
+ "startIndex": 7,
2263
+ "endIndex": 8
2264
+ },
2265
+ "isOptional": true
2266
+ },
2267
+ {
2268
+ "parameterName": "doAsync",
2269
+ "parameterTypeTokenRange": {
2270
+ "startIndex": 9,
2271
+ "endIndex": 10
2272
+ },
2273
+ "isOptional": true
2274
+ },
2275
+ {
2276
+ "parameterName": "addCb",
2277
+ "parameterTypeTokenRange": {
2278
+ "startIndex": 11,
2279
+ "endIndex": 12
2280
+ },
2281
+ "isOptional": true
2282
+ }
2283
+ ],
2284
+ "isOptional": false,
2285
+ "name": "addPlugin"
2286
+ },
2287
+ {
2288
+ "kind": "Method",
2289
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#addTelemetryInitializer:member(1)",
2290
+ "docComment": "/**\n * Add a telemetry processor to decorate or drop telemetry events.\n *\n * @param telemetryInitializer - The Telemetry Initializer function\n *\n * @returns - A ITelemetryInitializerHandler to enable the initializer to be removed\n */\n",
2291
+ "excerptTokens": [
2292
+ {
2293
+ "kind": "Content",
2294
+ "text": "addTelemetryInitializer(telemetryInitializer: "
2295
+ },
2296
+ {
2297
+ "kind": "Reference",
2298
+ "text": "TelemetryInitializerFunction",
2299
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!TelemetryInitializerFunction:type"
2300
+ },
2301
+ {
2302
+ "kind": "Content",
2303
+ "text": "): "
2304
+ },
2305
+ {
2306
+ "kind": "Reference",
2307
+ "text": "ITelemetryInitializerHandler",
2308
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ITelemetryInitializerHandler:interface"
2309
+ },
2310
+ {
2311
+ "kind": "Content",
2312
+ "text": ";"
2313
+ }
2314
+ ],
2315
+ "isStatic": false,
2316
+ "returnTypeTokenRange": {
2317
+ "startIndex": 3,
2318
+ "endIndex": 4
2319
+ },
2320
+ "releaseTag": "Public",
2321
+ "isProtected": false,
2322
+ "overloadIndex": 1,
2323
+ "parameters": [
2324
+ {
2325
+ "parameterName": "telemetryInitializer",
2326
+ "parameterTypeTokenRange": {
2327
+ "startIndex": 1,
2328
+ "endIndex": 2
2329
+ },
2330
+ "isOptional": false
2331
+ }
2332
+ ],
2333
+ "isOptional": false,
2334
+ "name": "addTelemetryInitializer"
2335
+ },
2336
+ {
2337
+ "kind": "Method",
2338
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#addUnloadCb:member(1)",
2339
+ "docComment": "/**\n * Add an unload handler that will be called when the SDK is being unloaded\n *\n * @param handler - the handler\n */\n",
2340
+ "excerptTokens": [
2341
+ {
2342
+ "kind": "Content",
2343
+ "text": "addUnloadCb(handler: "
2344
+ },
2345
+ {
2346
+ "kind": "Reference",
2347
+ "text": "UnloadHandler",
2348
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!UnloadHandler:type"
2349
+ },
2350
+ {
2351
+ "kind": "Content",
2352
+ "text": "): "
2353
+ },
2354
+ {
2355
+ "kind": "Content",
2356
+ "text": "void"
2357
+ },
2358
+ {
2359
+ "kind": "Content",
2360
+ "text": ";"
2361
+ }
2362
+ ],
2363
+ "isStatic": false,
2364
+ "returnTypeTokenRange": {
2365
+ "startIndex": 3,
2366
+ "endIndex": 4
2367
+ },
2368
+ "releaseTag": "Public",
2369
+ "isProtected": false,
2370
+ "overloadIndex": 1,
2371
+ "parameters": [
2372
+ {
2373
+ "parameterName": "handler",
2374
+ "parameterTypeTokenRange": {
2375
+ "startIndex": 1,
2376
+ "endIndex": 2
2377
+ },
2378
+ "isOptional": false
2379
+ }
2380
+ ],
2381
+ "isOptional": false,
2382
+ "name": "addUnloadCb"
2383
+ },
2384
+ {
2385
+ "kind": "Method",
2386
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#addUnloadHook:member(1)",
2387
+ "docComment": "/**\n * Add this hook so that it is automatically removed during unloading\n *\n * @param hooks - The single hook or an array of IInstrumentHook objects\n */\n",
2388
+ "excerptTokens": [
2389
+ {
2390
+ "kind": "Content",
2391
+ "text": "addUnloadHook(hooks: "
2392
+ },
2393
+ {
2394
+ "kind": "Reference",
2395
+ "text": "IUnloadHook",
2396
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IUnloadHook:interface"
2397
+ },
2398
+ {
2399
+ "kind": "Content",
2400
+ "text": " | "
2401
+ },
2402
+ {
2403
+ "kind": "Reference",
2404
+ "text": "IUnloadHook",
2405
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IUnloadHook:interface"
2406
+ },
2407
+ {
2408
+ "kind": "Content",
2409
+ "text": "[] | "
2410
+ },
2411
+ {
2412
+ "kind": "Reference",
2413
+ "text": "Iterator",
2414
+ "canonicalReference": "!Iterator:interface"
2415
+ },
2416
+ {
2417
+ "kind": "Content",
2418
+ "text": "<"
2419
+ },
2420
+ {
2421
+ "kind": "Reference",
2422
+ "text": "IUnloadHook",
2423
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IUnloadHook:interface"
2424
+ },
2425
+ {
2426
+ "kind": "Content",
2427
+ "text": "> | "
2428
+ },
2429
+ {
2430
+ "kind": "Reference",
2431
+ "text": "ILegacyUnloadHook",
2432
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ILegacyUnloadHook:interface"
2433
+ },
2434
+ {
2435
+ "kind": "Content",
2436
+ "text": " | "
2437
+ },
2438
+ {
2439
+ "kind": "Reference",
2440
+ "text": "ILegacyUnloadHook",
2441
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ILegacyUnloadHook:interface"
2442
+ },
2443
+ {
2444
+ "kind": "Content",
2445
+ "text": "[] | "
2446
+ },
2447
+ {
2448
+ "kind": "Reference",
2449
+ "text": "Iterator",
2450
+ "canonicalReference": "!Iterator:interface"
2451
+ },
2452
+ {
2453
+ "kind": "Content",
2454
+ "text": "<"
2455
+ },
2456
+ {
2457
+ "kind": "Reference",
2458
+ "text": "ILegacyUnloadHook",
2459
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ILegacyUnloadHook:interface"
2460
+ },
2461
+ {
2462
+ "kind": "Content",
2463
+ "text": ">"
2464
+ },
2465
+ {
2466
+ "kind": "Content",
2467
+ "text": "): "
2468
+ },
2469
+ {
2470
+ "kind": "Content",
2471
+ "text": "void"
2472
+ },
2473
+ {
2474
+ "kind": "Content",
2475
+ "text": ";"
2476
+ }
2477
+ ],
2478
+ "isStatic": false,
2479
+ "returnTypeTokenRange": {
2480
+ "startIndex": 18,
2481
+ "endIndex": 19
2482
+ },
2483
+ "releaseTag": "Public",
2484
+ "isProtected": false,
2485
+ "overloadIndex": 1,
2486
+ "parameters": [
2487
+ {
2488
+ "parameterName": "hooks",
2489
+ "parameterTypeTokenRange": {
2490
+ "startIndex": 1,
2491
+ "endIndex": 17
2492
+ },
2493
+ "isOptional": false
2494
+ }
2495
+ ],
2496
+ "isOptional": false,
2497
+ "name": "addUnloadHook"
2498
+ },
2499
+ {
2500
+ "kind": "Property",
2501
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#config:member",
2502
+ "docComment": "",
2503
+ "excerptTokens": [
2504
+ {
2505
+ "kind": "Content",
2506
+ "text": "config: "
2507
+ },
2508
+ {
2509
+ "kind": "Reference",
2510
+ "text": "IConfiguration",
2511
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
2512
+ },
2513
+ {
2514
+ "kind": "Content",
2515
+ "text": ";"
2516
+ }
2517
+ ],
2518
+ "isReadonly": false,
2519
+ "isOptional": false,
2520
+ "releaseTag": "Public",
2521
+ "name": "config",
2522
+ "propertyTypeTokenRange": {
2523
+ "startIndex": 1,
2524
+ "endIndex": 2
2525
+ },
2526
+ "isStatic": false,
2527
+ "isProtected": false
2528
+ },
2529
+ {
2530
+ "kind": "Property",
2531
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore.defaultConfig:member",
2532
+ "docComment": "",
2533
+ "excerptTokens": [
2534
+ {
2535
+ "kind": "Content",
2536
+ "text": "static defaultConfig: "
2537
+ },
2538
+ {
2539
+ "kind": "Reference",
2540
+ "text": "IConfiguration",
2541
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
2542
+ },
2543
+ {
2544
+ "kind": "Content",
2545
+ "text": ";"
2546
+ }
2547
+ ],
2548
+ "isReadonly": false,
2549
+ "isOptional": false,
2550
+ "releaseTag": "Public",
2551
+ "name": "defaultConfig",
2552
+ "propertyTypeTokenRange": {
2553
+ "startIndex": 1,
2554
+ "endIndex": 2
2555
+ },
2556
+ "isStatic": true,
2557
+ "isProtected": false
2558
+ },
2559
+ {
2560
+ "kind": "Method",
2561
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#eventCnt:member(1)",
2562
+ "docComment": "",
2563
+ "excerptTokens": [
2564
+ {
2565
+ "kind": "Content",
2566
+ "text": "eventCnt(): "
2567
+ },
2568
+ {
2569
+ "kind": "Content",
2570
+ "text": "number"
2571
+ },
2572
+ {
2573
+ "kind": "Content",
2574
+ "text": ";"
2575
+ }
2576
+ ],
2577
+ "isStatic": false,
2578
+ "returnTypeTokenRange": {
2579
+ "startIndex": 1,
2580
+ "endIndex": 2
2581
+ },
2582
+ "releaseTag": "Public",
2583
+ "isProtected": false,
2584
+ "overloadIndex": 1,
2585
+ "parameters": [],
2586
+ "isOptional": false,
2587
+ "name": "eventCnt"
2588
+ },
2589
+ {
2590
+ "kind": "Method",
2591
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#evtNamespace:member(1)",
2592
+ "docComment": "/**\n * Returns the unique event namespace that should be used\n */\n",
2593
+ "excerptTokens": [
2594
+ {
2595
+ "kind": "Content",
2596
+ "text": "evtNamespace(): "
2597
+ },
2598
+ {
2599
+ "kind": "Content",
2600
+ "text": "string"
2601
+ },
2602
+ {
2603
+ "kind": "Content",
2604
+ "text": ";"
2605
+ }
2606
+ ],
2607
+ "isStatic": false,
2608
+ "returnTypeTokenRange": {
2609
+ "startIndex": 1,
2610
+ "endIndex": 2
2611
+ },
2612
+ "releaseTag": "Public",
2613
+ "isProtected": false,
2614
+ "overloadIndex": 1,
2615
+ "parameters": [],
2616
+ "isOptional": false,
2617
+ "name": "evtNamespace"
2618
+ },
2619
+ {
2620
+ "kind": "Method",
2621
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#flush:member(1)",
2622
+ "docComment": "/**\n * Flush and send any batched / cached data immediately\n *\n * @param async - send data asynchronously when true (defaults to true)\n *\n * @param callBack - if specified, notify caller when send is complete, the channel should return true to indicate to the caller that it will be called. If the caller doesn't return true the caller should assume that it may never be called.\n *\n * @param sendReason - specify the reason that you are calling \"flush\" defaults to ManualFlush (1) if not specified\n *\n * @returns - true if the callback will be return after the flush is complete otherwise the caller should assume that any provided callback will never be called\n */\n",
2623
+ "excerptTokens": [
2624
+ {
2625
+ "kind": "Content",
2626
+ "text": "flush(isAsync?: "
2627
+ },
2628
+ {
2629
+ "kind": "Content",
2630
+ "text": "boolean"
2631
+ },
2632
+ {
2633
+ "kind": "Content",
2634
+ "text": ", callBack?: "
2635
+ },
2636
+ {
2637
+ "kind": "Content",
2638
+ "text": "(flushComplete?: boolean) => void"
2639
+ },
2640
+ {
2641
+ "kind": "Content",
2642
+ "text": ", sendReason?: "
2643
+ },
2644
+ {
2645
+ "kind": "Reference",
2646
+ "text": "SendRequestReason",
2647
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!SendRequestReason:enum"
2648
+ },
2649
+ {
2650
+ "kind": "Content",
2651
+ "text": "): "
2652
+ },
2653
+ {
2654
+ "kind": "Content",
2655
+ "text": "void"
2656
+ },
2657
+ {
2658
+ "kind": "Content",
2659
+ "text": ";"
2660
+ }
2661
+ ],
2662
+ "isStatic": false,
2663
+ "returnTypeTokenRange": {
2664
+ "startIndex": 7,
2665
+ "endIndex": 8
2666
+ },
2667
+ "releaseTag": "Public",
2668
+ "isProtected": false,
2669
+ "overloadIndex": 1,
2670
+ "parameters": [
2671
+ {
2672
+ "parameterName": "isAsync",
2673
+ "parameterTypeTokenRange": {
2674
+ "startIndex": 1,
2675
+ "endIndex": 2
2676
+ },
2677
+ "isOptional": true
2678
+ },
2679
+ {
2680
+ "parameterName": "callBack",
2681
+ "parameterTypeTokenRange": {
2682
+ "startIndex": 3,
2683
+ "endIndex": 4
2684
+ },
2685
+ "isOptional": true
2686
+ },
2687
+ {
2688
+ "parameterName": "sendReason",
2689
+ "parameterTypeTokenRange": {
2690
+ "startIndex": 5,
2691
+ "endIndex": 6
2692
+ },
2693
+ "isOptional": true
2694
+ }
2695
+ ],
2696
+ "isOptional": false,
2697
+ "name": "flush"
2698
+ },
2699
+ {
2700
+ "kind": "Method",
2701
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getCookieMgr:member(1)",
2702
+ "docComment": "/**\n * Get the current cookie manager for this instance\n */\n",
2703
+ "excerptTokens": [
2704
+ {
2705
+ "kind": "Content",
2706
+ "text": "getCookieMgr(): "
2707
+ },
2708
+ {
2709
+ "kind": "Reference",
2710
+ "text": "ICookieMgr",
2711
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ICookieMgr:interface"
2712
+ },
2713
+ {
2714
+ "kind": "Content",
2715
+ "text": ";"
2716
+ }
2717
+ ],
2718
+ "isStatic": false,
2719
+ "returnTypeTokenRange": {
2720
+ "startIndex": 1,
2721
+ "endIndex": 2
2722
+ },
2723
+ "releaseTag": "Public",
2724
+ "isProtected": false,
2725
+ "overloadIndex": 1,
2726
+ "parameters": [],
2727
+ "isOptional": false,
2728
+ "name": "getCookieMgr"
2729
+ },
2730
+ {
2731
+ "kind": "Method",
2732
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getNotifyMgr:member(1)",
2733
+ "docComment": "",
2734
+ "excerptTokens": [
2735
+ {
2736
+ "kind": "Content",
2737
+ "text": "getNotifyMgr(): "
2738
+ },
2739
+ {
2740
+ "kind": "Reference",
2741
+ "text": "INotificationManager",
2742
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!INotificationManager:interface"
2743
+ },
2744
+ {
2745
+ "kind": "Content",
2746
+ "text": ";"
2747
+ }
2748
+ ],
2749
+ "isStatic": false,
2750
+ "returnTypeTokenRange": {
2751
+ "startIndex": 1,
2752
+ "endIndex": 2
2753
+ },
2754
+ "releaseTag": "Public",
2755
+ "isProtected": false,
2756
+ "overloadIndex": 1,
2757
+ "parameters": [],
2758
+ "isOptional": false,
2759
+ "name": "getNotifyMgr"
2760
+ },
2761
+ {
2762
+ "kind": "Method",
2763
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getPerfMgr:member(1)",
2764
+ "docComment": "",
2765
+ "excerptTokens": [
2766
+ {
2767
+ "kind": "Content",
2768
+ "text": "getPerfMgr(): "
2769
+ },
2770
+ {
2771
+ "kind": "Reference",
2772
+ "text": "IPerfManager",
2773
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IPerfManager:interface"
2774
+ },
2775
+ {
2776
+ "kind": "Content",
2777
+ "text": ";"
2778
+ }
2779
+ ],
2780
+ "isStatic": false,
2781
+ "returnTypeTokenRange": {
2782
+ "startIndex": 1,
2783
+ "endIndex": 2
2784
+ },
2785
+ "releaseTag": "Public",
2786
+ "isProtected": false,
2787
+ "overloadIndex": 1,
2788
+ "parameters": [],
2789
+ "isOptional": false,
2790
+ "name": "getPerfMgr"
2791
+ },
2792
+ {
2793
+ "kind": "Method",
2794
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getPlugin:member(1)",
2795
+ "docComment": "",
2796
+ "excerptTokens": [
2797
+ {
2798
+ "kind": "Content",
2799
+ "text": "getPlugin<T extends "
2800
+ },
2801
+ {
2802
+ "kind": "Reference",
2803
+ "text": "IPlugin",
2804
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IPlugin:interface"
2805
+ },
2806
+ {
2807
+ "kind": "Content",
2808
+ "text": " = "
2809
+ },
2810
+ {
2811
+ "kind": "Reference",
2812
+ "text": "IPlugin",
2813
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IPlugin:interface"
2814
+ },
2815
+ {
2816
+ "kind": "Content",
2817
+ "text": ">(pluginIdentifier: "
2818
+ },
2819
+ {
2820
+ "kind": "Content",
2821
+ "text": "string"
2822
+ },
2823
+ {
2824
+ "kind": "Content",
2825
+ "text": "): "
2826
+ },
2827
+ {
2828
+ "kind": "Reference",
2829
+ "text": "ILoadedPlugin",
2830
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ILoadedPlugin:interface"
2831
+ },
2832
+ {
2833
+ "kind": "Content",
2834
+ "text": "<T>"
2835
+ },
2836
+ {
2837
+ "kind": "Content",
2838
+ "text": ";"
2839
+ }
2840
+ ],
2841
+ "typeParameters": [
2842
+ {
2843
+ "typeParameterName": "T",
2844
+ "constraintTokenRange": {
2845
+ "startIndex": 1,
2846
+ "endIndex": 2
2847
+ },
2848
+ "defaultTypeTokenRange": {
2849
+ "startIndex": 3,
2850
+ "endIndex": 4
2851
+ }
2852
+ }
2853
+ ],
2854
+ "isStatic": false,
2855
+ "returnTypeTokenRange": {
2856
+ "startIndex": 7,
2857
+ "endIndex": 9
2858
+ },
2859
+ "releaseTag": "Public",
2860
+ "isProtected": false,
2861
+ "overloadIndex": 1,
2862
+ "parameters": [
2863
+ {
2864
+ "parameterName": "pluginIdentifier",
2865
+ "parameterTypeTokenRange": {
2866
+ "startIndex": 5,
2867
+ "endIndex": 6
2868
+ },
2869
+ "isOptional": false
2870
+ }
2871
+ ],
2872
+ "isOptional": false,
2873
+ "name": "getPlugin"
2874
+ },
2875
+ {
2876
+ "kind": "Method",
2877
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getProcessTelContext:member(1)",
2878
+ "docComment": "",
2879
+ "excerptTokens": [
2880
+ {
2881
+ "kind": "Content",
2882
+ "text": "getProcessTelContext(): "
2883
+ },
2884
+ {
2885
+ "kind": "Reference",
2886
+ "text": "IProcessTelemetryContext",
2887
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IProcessTelemetryContext:interface"
2888
+ },
2889
+ {
2890
+ "kind": "Content",
2891
+ "text": ";"
2892
+ }
2893
+ ],
2894
+ "isStatic": false,
2895
+ "returnTypeTokenRange": {
2896
+ "startIndex": 1,
2897
+ "endIndex": 2
2898
+ },
2899
+ "releaseTag": "Public",
2900
+ "isProtected": false,
2901
+ "overloadIndex": 1,
2902
+ "parameters": [],
2903
+ "isOptional": false,
2904
+ "name": "getProcessTelContext"
2905
+ },
2906
+ {
2907
+ "kind": "Method",
2908
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getTraceCtx:member(1)",
2909
+ "docComment": "/**\n * Gets the current distributed trace context for this instance if available\n *\n * @param createNew - Optional flag to create a new instance if one doesn't currently exist, defaults to true\n */\n",
2910
+ "excerptTokens": [
2911
+ {
2912
+ "kind": "Content",
2913
+ "text": "getTraceCtx(createNew?: "
2914
+ },
2915
+ {
2916
+ "kind": "Content",
2917
+ "text": "boolean"
2918
+ },
2919
+ {
2920
+ "kind": "Content",
2921
+ "text": "): "
2922
+ },
2923
+ {
2924
+ "kind": "Reference",
2925
+ "text": "IDistributedTraceContext",
2926
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IDistributedTraceContext:interface"
2927
+ },
2928
+ {
2929
+ "kind": "Content",
2930
+ "text": " | null"
2931
+ },
2932
+ {
2933
+ "kind": "Content",
2934
+ "text": ";"
2935
+ }
2936
+ ],
2937
+ "isStatic": false,
2938
+ "returnTypeTokenRange": {
2939
+ "startIndex": 3,
2940
+ "endIndex": 5
2941
+ },
2942
+ "releaseTag": "Public",
2943
+ "isProtected": false,
2944
+ "overloadIndex": 1,
2945
+ "parameters": [
2946
+ {
2947
+ "parameterName": "createNew",
2948
+ "parameterTypeTokenRange": {
2949
+ "startIndex": 1,
2950
+ "endIndex": 2
2951
+ },
2952
+ "isOptional": true
2953
+ }
2954
+ ],
2955
+ "isOptional": false,
2956
+ "name": "getTraceCtx"
2957
+ },
2958
+ {
2959
+ "kind": "Method",
2960
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getTransmissionControls:member(1)",
2961
+ "docComment": "",
2962
+ "excerptTokens": [
2963
+ {
2964
+ "kind": "Content",
2965
+ "text": "getTransmissionControls(): "
2966
+ },
2967
+ {
2968
+ "kind": "Reference",
2969
+ "text": "IChannelControls",
2970
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IChannelControls:interface"
2971
+ },
2972
+ {
2973
+ "kind": "Content",
2974
+ "text": "[][]"
2975
+ },
2976
+ {
2977
+ "kind": "Content",
2978
+ "text": ";"
2979
+ }
2980
+ ],
2981
+ "isStatic": false,
2982
+ "returnTypeTokenRange": {
2983
+ "startIndex": 1,
2984
+ "endIndex": 3
2985
+ },
2986
+ "releaseTag": "Public",
2987
+ "isProtected": false,
2988
+ "overloadIndex": 1,
2989
+ "parameters": [],
2990
+ "isOptional": false,
2991
+ "name": "getTransmissionControls"
2992
+ },
2993
+ {
2994
+ "kind": "Method",
2995
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#initialize:member(1)",
2996
+ "docComment": "",
2997
+ "excerptTokens": [
2998
+ {
2999
+ "kind": "Content",
3000
+ "text": "initialize(config: "
3001
+ },
3002
+ {
3003
+ "kind": "Reference",
3004
+ "text": "IConfiguration",
3005
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
3006
+ },
3007
+ {
3008
+ "kind": "Content",
3009
+ "text": ", extensions: "
3010
+ },
3011
+ {
3012
+ "kind": "Reference",
3013
+ "text": "IPlugin",
3014
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IPlugin:interface"
3015
+ },
3016
+ {
3017
+ "kind": "Content",
3018
+ "text": "[]"
3019
+ },
3020
+ {
3021
+ "kind": "Content",
3022
+ "text": ", logger?: "
3023
+ },
3024
+ {
3025
+ "kind": "Reference",
3026
+ "text": "IDiagnosticLogger",
3027
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IDiagnosticLogger:interface"
3028
+ },
3029
+ {
3030
+ "kind": "Content",
3031
+ "text": ", notificationManager?: "
3032
+ },
3033
+ {
3034
+ "kind": "Reference",
3035
+ "text": "INotificationManager",
3036
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!INotificationManager:interface"
3037
+ },
3038
+ {
3039
+ "kind": "Content",
3040
+ "text": "): "
3041
+ },
3042
+ {
3043
+ "kind": "Content",
3044
+ "text": "void"
3045
+ },
3046
+ {
3047
+ "kind": "Content",
3048
+ "text": ";"
3049
+ }
3050
+ ],
3051
+ "isStatic": false,
3052
+ "returnTypeTokenRange": {
3053
+ "startIndex": 10,
3054
+ "endIndex": 11
3055
+ },
3056
+ "releaseTag": "Public",
3057
+ "isProtected": false,
3058
+ "overloadIndex": 1,
3059
+ "parameters": [
3060
+ {
3061
+ "parameterName": "config",
3062
+ "parameterTypeTokenRange": {
3063
+ "startIndex": 1,
3064
+ "endIndex": 2
3065
+ },
3066
+ "isOptional": false
3067
+ },
3068
+ {
3069
+ "parameterName": "extensions",
3070
+ "parameterTypeTokenRange": {
3071
+ "startIndex": 3,
3072
+ "endIndex": 5
3073
+ },
3074
+ "isOptional": false
3075
+ },
3076
+ {
3077
+ "parameterName": "logger",
3078
+ "parameterTypeTokenRange": {
3079
+ "startIndex": 6,
3080
+ "endIndex": 7
3081
+ },
3082
+ "isOptional": true
3083
+ },
3084
+ {
3085
+ "parameterName": "notificationManager",
3086
+ "parameterTypeTokenRange": {
3087
+ "startIndex": 8,
3088
+ "endIndex": 9
3089
+ },
3090
+ "isOptional": true
3091
+ }
3092
+ ],
3093
+ "isOptional": false,
3094
+ "name": "initialize"
3095
+ },
3096
+ {
3097
+ "kind": "Property",
3098
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#isInitialized:member",
3099
+ "docComment": "",
3100
+ "excerptTokens": [
3101
+ {
3102
+ "kind": "Content",
3103
+ "text": "isInitialized: "
3104
+ },
3105
+ {
3106
+ "kind": "Content",
3107
+ "text": "() => boolean"
3108
+ },
3109
+ {
3110
+ "kind": "Content",
3111
+ "text": ";"
3112
+ }
3113
+ ],
3114
+ "isReadonly": false,
3115
+ "isOptional": false,
3116
+ "releaseTag": "Public",
3117
+ "name": "isInitialized",
3118
+ "propertyTypeTokenRange": {
3119
+ "startIndex": 1,
3120
+ "endIndex": 2
3121
+ },
3122
+ "isStatic": false,
3123
+ "isProtected": false
3124
+ },
3125
+ {
3126
+ "kind": "Property",
3127
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#logger:member",
3128
+ "docComment": "",
3129
+ "excerptTokens": [
3130
+ {
3131
+ "kind": "Content",
3132
+ "text": "logger: "
3133
+ },
3134
+ {
3135
+ "kind": "Reference",
3136
+ "text": "IDiagnosticLogger",
3137
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IDiagnosticLogger:interface"
3138
+ },
3139
+ {
3140
+ "kind": "Content",
3141
+ "text": ";"
3142
+ }
3143
+ ],
3144
+ "isReadonly": false,
3145
+ "isOptional": false,
3146
+ "releaseTag": "Public",
3147
+ "name": "logger",
3148
+ "propertyTypeTokenRange": {
3149
+ "startIndex": 1,
3150
+ "endIndex": 2
3151
+ },
3152
+ "isStatic": false,
3153
+ "isProtected": false
3154
+ },
3155
+ {
3156
+ "kind": "Method",
3157
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#onCfgChange:member(1)",
3158
+ "docComment": "/**\n * Watches and tracks changes for accesses to the current config, and if the accessed config changes the handler will be recalled.\n *\n * @param handler - \n *\n * @returns A watcher handler instance that can be used to remove itself when being unloaded\n */\n",
3159
+ "excerptTokens": [
3160
+ {
3161
+ "kind": "Content",
3162
+ "text": "onCfgChange<T extends "
3163
+ },
3164
+ {
3165
+ "kind": "Reference",
3166
+ "text": "IConfiguration",
3167
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
3168
+ },
3169
+ {
3170
+ "kind": "Content",
3171
+ "text": " = "
3172
+ },
3173
+ {
3174
+ "kind": "Reference",
3175
+ "text": "IConfiguration",
3176
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
3177
+ },
3178
+ {
3179
+ "kind": "Content",
3180
+ "text": ">(handler: "
3181
+ },
3182
+ {
3183
+ "kind": "Reference",
3184
+ "text": "WatcherFunction",
3185
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!WatcherFunction:type"
3186
+ },
3187
+ {
3188
+ "kind": "Content",
3189
+ "text": "<T>"
3190
+ },
3191
+ {
3192
+ "kind": "Content",
3193
+ "text": "): "
3194
+ },
3195
+ {
3196
+ "kind": "Reference",
3197
+ "text": "IUnloadHook",
3198
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IUnloadHook:interface"
3199
+ },
3200
+ {
3201
+ "kind": "Content",
3202
+ "text": ";"
3203
+ }
3204
+ ],
3205
+ "typeParameters": [
3206
+ {
3207
+ "typeParameterName": "T",
3208
+ "constraintTokenRange": {
3209
+ "startIndex": 1,
3210
+ "endIndex": 2
3211
+ },
3212
+ "defaultTypeTokenRange": {
3213
+ "startIndex": 3,
3214
+ "endIndex": 4
3215
+ }
3216
+ }
3217
+ ],
3218
+ "isStatic": false,
3219
+ "returnTypeTokenRange": {
3220
+ "startIndex": 8,
3221
+ "endIndex": 9
3222
+ },
3223
+ "releaseTag": "Public",
3224
+ "isProtected": false,
3225
+ "overloadIndex": 1,
3226
+ "parameters": [
3227
+ {
3228
+ "parameterName": "handler",
3229
+ "parameterTypeTokenRange": {
3230
+ "startIndex": 5,
3231
+ "endIndex": 7
3232
+ },
3233
+ "isOptional": false
3234
+ }
3235
+ ],
3236
+ "isOptional": false,
3237
+ "name": "onCfgChange"
3238
+ },
3239
+ {
3240
+ "kind": "Method",
3241
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#pollInternalLogs:member(1)",
3242
+ "docComment": "/**\n * Periodically check logger.queue for\n */\n",
3243
+ "excerptTokens": [
3244
+ {
3245
+ "kind": "Content",
3246
+ "text": "pollInternalLogs(eventName?: "
3247
+ },
3248
+ {
3249
+ "kind": "Content",
3250
+ "text": "string"
3251
+ },
3252
+ {
3253
+ "kind": "Content",
3254
+ "text": "): "
3255
+ },
3256
+ {
3257
+ "kind": "Content",
3258
+ "text": "number"
3259
+ },
3260
+ {
3261
+ "kind": "Content",
3262
+ "text": ";"
3263
+ }
3264
+ ],
3265
+ "isStatic": false,
3266
+ "returnTypeTokenRange": {
3267
+ "startIndex": 3,
3268
+ "endIndex": 4
3269
+ },
3270
+ "releaseTag": "Public",
3271
+ "isProtected": false,
3272
+ "overloadIndex": 1,
3273
+ "parameters": [
3274
+ {
3275
+ "parameterName": "eventName",
3276
+ "parameterTypeTokenRange": {
3277
+ "startIndex": 1,
3278
+ "endIndex": 2
3279
+ },
3280
+ "isOptional": true
3281
+ }
3282
+ ],
3283
+ "isOptional": false,
3284
+ "name": "pollInternalLogs"
3285
+ },
3286
+ {
3287
+ "kind": "Method",
3288
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#releaseQueue:member(1)",
3289
+ "docComment": "",
3290
+ "excerptTokens": [
3291
+ {
3292
+ "kind": "Content",
3293
+ "text": "protected releaseQueue(): "
3294
+ },
3295
+ {
3296
+ "kind": "Content",
3297
+ "text": "void"
3298
+ },
3299
+ {
3300
+ "kind": "Content",
3301
+ "text": ";"
3302
+ }
3303
+ ],
3304
+ "isStatic": false,
3305
+ "returnTypeTokenRange": {
3306
+ "startIndex": 1,
3307
+ "endIndex": 2
3308
+ },
3309
+ "releaseTag": "Public",
3310
+ "isProtected": true,
3311
+ "overloadIndex": 1,
3312
+ "parameters": [],
3313
+ "isOptional": false,
3314
+ "name": "releaseQueue"
3315
+ },
3316
+ {
3317
+ "kind": "Method",
3318
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#removeNotificationListener:member(1)",
3319
+ "docComment": "/**\n * Removes all instances of the listener.\n *\n * @param listener - INotificationListener to remove.\n */\n",
3320
+ "excerptTokens": [
3321
+ {
3322
+ "kind": "Content",
3323
+ "text": "removeNotificationListener(listener: "
3324
+ },
3325
+ {
3326
+ "kind": "Reference",
3327
+ "text": "INotificationListener",
3328
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!INotificationListener:interface"
3329
+ },
3330
+ {
3331
+ "kind": "Content",
3332
+ "text": "): "
3333
+ },
3334
+ {
3335
+ "kind": "Content",
3336
+ "text": "void"
3337
+ },
3338
+ {
3339
+ "kind": "Content",
3340
+ "text": ";"
3341
+ }
3342
+ ],
3343
+ "isStatic": false,
3344
+ "returnTypeTokenRange": {
3345
+ "startIndex": 3,
3346
+ "endIndex": 4
3347
+ },
3348
+ "releaseTag": "Public",
3349
+ "isProtected": false,
3350
+ "overloadIndex": 1,
3351
+ "parameters": [
3352
+ {
3353
+ "parameterName": "listener",
3354
+ "parameterTypeTokenRange": {
3355
+ "startIndex": 1,
3356
+ "endIndex": 2
3357
+ },
3358
+ "isOptional": false
3359
+ }
3360
+ ],
3361
+ "isOptional": false,
3362
+ "name": "removeNotificationListener"
3363
+ },
3364
+ {
3365
+ "kind": "Method",
3366
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#setCookieMgr:member(1)",
3367
+ "docComment": "/**\n * Set the current cookie manager for this instance\n *\n * @param cookieMgr - The manager, if set to null/undefined will cause the default to be created\n */\n",
3368
+ "excerptTokens": [
3369
+ {
3370
+ "kind": "Content",
3371
+ "text": "setCookieMgr(cookieMgr: "
3372
+ },
3373
+ {
3374
+ "kind": "Reference",
3375
+ "text": "ICookieMgr",
3376
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ICookieMgr:interface"
3377
+ },
3378
+ {
3379
+ "kind": "Content",
3380
+ "text": "): "
3381
+ },
3382
+ {
3383
+ "kind": "Content",
3384
+ "text": "void"
3385
+ },
3386
+ {
3387
+ "kind": "Content",
3388
+ "text": ";"
3389
+ }
3390
+ ],
3391
+ "isStatic": false,
3392
+ "returnTypeTokenRange": {
3393
+ "startIndex": 3,
3394
+ "endIndex": 4
3395
+ },
3396
+ "releaseTag": "Public",
3397
+ "isProtected": false,
3398
+ "overloadIndex": 1,
3399
+ "parameters": [
3400
+ {
3401
+ "parameterName": "cookieMgr",
3402
+ "parameterTypeTokenRange": {
3403
+ "startIndex": 1,
3404
+ "endIndex": 2
3405
+ },
3406
+ "isOptional": false
3407
+ }
3408
+ ],
3409
+ "isOptional": false,
3410
+ "name": "setCookieMgr"
3411
+ },
3412
+ {
3413
+ "kind": "Method",
3414
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#setPerfMgr:member(1)",
3415
+ "docComment": "",
3416
+ "excerptTokens": [
3417
+ {
3418
+ "kind": "Content",
3419
+ "text": "setPerfMgr(perfMgr: "
3420
+ },
3421
+ {
3422
+ "kind": "Reference",
3423
+ "text": "IPerfManager",
3424
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IPerfManager:interface"
3425
+ },
3426
+ {
3427
+ "kind": "Content",
3428
+ "text": "): "
3429
+ },
3430
+ {
3431
+ "kind": "Content",
3432
+ "text": "void"
3433
+ },
3434
+ {
3435
+ "kind": "Content",
3436
+ "text": ";"
3437
+ }
3438
+ ],
3439
+ "isStatic": false,
3440
+ "returnTypeTokenRange": {
3441
+ "startIndex": 3,
3442
+ "endIndex": 4
3443
+ },
3444
+ "releaseTag": "Public",
3445
+ "isProtected": false,
3446
+ "overloadIndex": 1,
3447
+ "parameters": [
3448
+ {
3449
+ "parameterName": "perfMgr",
3450
+ "parameterTypeTokenRange": {
3451
+ "startIndex": 1,
3452
+ "endIndex": 2
3453
+ },
3454
+ "isOptional": false
3455
+ }
3456
+ ],
3457
+ "isOptional": false,
3458
+ "name": "setPerfMgr"
3459
+ },
3460
+ {
3461
+ "kind": "Method",
3462
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#setTraceCtx:member(1)",
3463
+ "docComment": "/**\n * Sets the current distributed trace context for this instance if available\n */\n",
3464
+ "excerptTokens": [
3465
+ {
3466
+ "kind": "Content",
3467
+ "text": "setTraceCtx(newTracectx: "
3468
+ },
3469
+ {
3470
+ "kind": "Reference",
3471
+ "text": "IDistributedTraceContext",
3472
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IDistributedTraceContext:interface"
3473
+ },
3474
+ {
3475
+ "kind": "Content",
3476
+ "text": "): "
3477
+ },
3478
+ {
3479
+ "kind": "Content",
3480
+ "text": "void"
3481
+ },
3482
+ {
3483
+ "kind": "Content",
3484
+ "text": ";"
3485
+ }
3486
+ ],
3487
+ "isStatic": false,
3488
+ "returnTypeTokenRange": {
3489
+ "startIndex": 3,
3490
+ "endIndex": 4
3491
+ },
3492
+ "releaseTag": "Public",
3493
+ "isProtected": false,
3494
+ "overloadIndex": 1,
3495
+ "parameters": [
3496
+ {
3497
+ "parameterName": "newTracectx",
3498
+ "parameterTypeTokenRange": {
3499
+ "startIndex": 1,
3500
+ "endIndex": 2
3501
+ },
3502
+ "isOptional": false
3503
+ }
3504
+ ],
3505
+ "isOptional": false,
3506
+ "name": "setTraceCtx"
3507
+ },
3508
+ {
3509
+ "kind": "Method",
3510
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#stopPollingInternalLogs:member(1)",
3511
+ "docComment": "/**\n * Periodically check logger.queue for\n */\n",
3512
+ "excerptTokens": [
3513
+ {
3514
+ "kind": "Content",
3515
+ "text": "stopPollingInternalLogs(): "
3516
+ },
3517
+ {
3518
+ "kind": "Content",
3519
+ "text": "void"
3520
+ },
3521
+ {
3522
+ "kind": "Content",
3523
+ "text": ";"
3524
+ }
3525
+ ],
3526
+ "isStatic": false,
3527
+ "returnTypeTokenRange": {
3528
+ "startIndex": 1,
3529
+ "endIndex": 2
3530
+ },
3531
+ "releaseTag": "Public",
3532
+ "isProtected": false,
3533
+ "overloadIndex": 1,
3534
+ "parameters": [],
3535
+ "isOptional": false,
3536
+ "name": "stopPollingInternalLogs"
3537
+ },
3538
+ {
3539
+ "kind": "Method",
3540
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#track:member(1)",
3541
+ "docComment": "",
3542
+ "excerptTokens": [
3543
+ {
3544
+ "kind": "Content",
3545
+ "text": "track(telemetryItem: "
3546
+ },
3547
+ {
3548
+ "kind": "Reference",
3549
+ "text": "ITelemetryItem",
3550
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ITelemetryItem:interface"
3551
+ },
3552
+ {
3553
+ "kind": "Content",
3554
+ "text": "): "
3555
+ },
3556
+ {
3557
+ "kind": "Content",
3558
+ "text": "void"
3559
+ },
3560
+ {
3561
+ "kind": "Content",
3562
+ "text": ";"
3563
+ }
3564
+ ],
3565
+ "isStatic": false,
3566
+ "returnTypeTokenRange": {
3567
+ "startIndex": 3,
3568
+ "endIndex": 4
3569
+ },
3570
+ "releaseTag": "Public",
3571
+ "isProtected": false,
3572
+ "overloadIndex": 1,
3573
+ "parameters": [
3574
+ {
3575
+ "parameterName": "telemetryItem",
3576
+ "parameterTypeTokenRange": {
3577
+ "startIndex": 1,
3578
+ "endIndex": 2
3579
+ },
3580
+ "isOptional": false
3581
+ }
3582
+ ],
3583
+ "isOptional": false,
3584
+ "name": "track"
3585
+ },
3586
+ {
3587
+ "kind": "Method",
3588
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#unload:member(1)",
3589
+ "docComment": "/**\n * Unload and Tear down the SDK and any initialized plugins, after calling this the SDK will be considered to be un-initialized and non-operational, re-initializing the SDK should only be attempted if the previous unload call return `true` stating that all plugins reported that they also unloaded, the recommended approach is to create a new instance and initialize that instance. This is due to possible unexpected side effects caused by plugins not supporting unload / teardown, unable to successfully remove any global references or they may just be completing the unload process asynchronously.\n *\n * @param isAsync - Can the unload be performed asynchronously (default)\n *\n * @param unloadComplete - An optional callback that will be called once the unload has completed\n *\n * @param cbTimeout - An optional timeout to wait for any flush operations to complete before proceeding with the unload. Defaults to 5 seconds.\n */\n",
3590
+ "excerptTokens": [
3591
+ {
3592
+ "kind": "Content",
3593
+ "text": "unload(isAsync?: "
3594
+ },
3595
+ {
3596
+ "kind": "Content",
3597
+ "text": "boolean"
3598
+ },
3599
+ {
3600
+ "kind": "Content",
3601
+ "text": ", unloadComplete?: "
3602
+ },
3603
+ {
3604
+ "kind": "Content",
3605
+ "text": "(unloadState: "
3606
+ },
3607
+ {
3608
+ "kind": "Reference",
3609
+ "text": "ITelemetryUnloadState",
3610
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ITelemetryUnloadState:interface"
3611
+ },
3612
+ {
3613
+ "kind": "Content",
3614
+ "text": ") => void"
3615
+ },
3616
+ {
3617
+ "kind": "Content",
3618
+ "text": ", cbTimeout?: "
3619
+ },
3620
+ {
3621
+ "kind": "Content",
3622
+ "text": "number"
3623
+ },
3624
+ {
3625
+ "kind": "Content",
3626
+ "text": "): "
3627
+ },
3628
+ {
3629
+ "kind": "Content",
3630
+ "text": "void"
3631
+ },
3632
+ {
3633
+ "kind": "Content",
3634
+ "text": ";"
3635
+ }
3636
+ ],
3637
+ "isStatic": false,
3638
+ "returnTypeTokenRange": {
3639
+ "startIndex": 9,
3640
+ "endIndex": 10
3641
+ },
3642
+ "releaseTag": "Public",
3643
+ "isProtected": false,
3644
+ "overloadIndex": 1,
3645
+ "parameters": [
3646
+ {
3647
+ "parameterName": "isAsync",
3648
+ "parameterTypeTokenRange": {
3649
+ "startIndex": 1,
3650
+ "endIndex": 2
3651
+ },
3652
+ "isOptional": true
3653
+ },
3654
+ {
3655
+ "parameterName": "unloadComplete",
3656
+ "parameterTypeTokenRange": {
3657
+ "startIndex": 3,
3658
+ "endIndex": 6
3659
+ },
3660
+ "isOptional": true
3661
+ },
3662
+ {
3663
+ "parameterName": "cbTimeout",
3664
+ "parameterTypeTokenRange": {
3665
+ "startIndex": 7,
3666
+ "endIndex": 8
3667
+ },
3668
+ "isOptional": true
3669
+ }
3670
+ ],
3671
+ "isOptional": false,
3672
+ "name": "unload"
3673
+ },
3674
+ {
3675
+ "kind": "Method",
3676
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#updateCfg:member(1)",
3677
+ "docComment": "/**\n * Update the configuration used and broadcast the changes to all loaded plugins\n *\n * @param newConfig - The new configuration is apply\n *\n * @param mergeExisting - Should the new configuration merge with the existing or just replace it. Default is to true.\n */\n",
3678
+ "excerptTokens": [
3679
+ {
3680
+ "kind": "Content",
3681
+ "text": "updateCfg<T extends "
3682
+ },
3683
+ {
3684
+ "kind": "Reference",
3685
+ "text": "IConfiguration",
3686
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
3687
+ },
3688
+ {
3689
+ "kind": "Content",
3690
+ "text": " = "
3691
+ },
3692
+ {
3693
+ "kind": "Reference",
3694
+ "text": "IConfiguration",
3695
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
3696
+ },
3697
+ {
3698
+ "kind": "Content",
3699
+ "text": ">(newConfig: "
3700
+ },
3701
+ {
3702
+ "kind": "Content",
3703
+ "text": "T"
3704
+ },
3705
+ {
3706
+ "kind": "Content",
3707
+ "text": ", mergeExisting?: "
3708
+ },
3709
+ {
3710
+ "kind": "Content",
3711
+ "text": "boolean"
3712
+ },
3713
+ {
3714
+ "kind": "Content",
3715
+ "text": "): "
3716
+ },
3717
+ {
3718
+ "kind": "Content",
3719
+ "text": "void"
3720
+ },
3721
+ {
3722
+ "kind": "Content",
3723
+ "text": ";"
3724
+ }
3725
+ ],
3726
+ "typeParameters": [
3727
+ {
3728
+ "typeParameterName": "T",
3729
+ "constraintTokenRange": {
3730
+ "startIndex": 1,
3731
+ "endIndex": 2
3732
+ },
3733
+ "defaultTypeTokenRange": {
3734
+ "startIndex": 3,
3735
+ "endIndex": 4
3736
+ }
3737
+ }
3738
+ ],
3739
+ "isStatic": false,
3740
+ "returnTypeTokenRange": {
3741
+ "startIndex": 9,
3742
+ "endIndex": 10
3743
+ },
3744
+ "releaseTag": "Public",
3745
+ "isProtected": false,
3746
+ "overloadIndex": 1,
3747
+ "parameters": [
3748
+ {
3749
+ "parameterName": "newConfig",
3750
+ "parameterTypeTokenRange": {
3751
+ "startIndex": 5,
3752
+ "endIndex": 6
3753
+ },
3754
+ "isOptional": false
3755
+ },
3756
+ {
3757
+ "parameterName": "mergeExisting",
3758
+ "parameterTypeTokenRange": {
3759
+ "startIndex": 7,
3760
+ "endIndex": 8
3761
+ },
3762
+ "isOptional": true
3763
+ }
3764
+ ],
3765
+ "isOptional": false,
3766
+ "name": "updateCfg"
2201
3767
  }
2202
3768
  ],
2203
- "extendsTokenRange": {
2204
- "startIndex": 1,
2205
- "endIndex": 2
2206
- },
2207
3769
  "implementsTokenRanges": [
2208
3770
  {
2209
- "startIndex": 3,
2210
- "endIndex": 4
3771
+ "startIndex": 1,
3772
+ "endIndex": 2
2211
3773
  }
2212
3774
  ]
2213
3775
  },
@@ -2448,7 +4010,7 @@
2448
4010
  "excerptTokens": [
2449
4011
  {
2450
4012
  "kind": "Content",
2451
- "text": "config: "
4013
+ "text": "readonly config: "
2452
4014
  },
2453
4015
  {
2454
4016
  "kind": "Reference",
@@ -2469,7 +4031,7 @@
2469
4031
  "text": ";"
2470
4032
  }
2471
4033
  ],
2472
- "isReadonly": false,
4034
+ "isReadonly": true,
2473
4035
  "isOptional": false,
2474
4036
  "releaseTag": "Public",
2475
4037
  "name": "config",
@@ -3211,10 +4773,6 @@
3211
4773
  "text": "ITelemetryInitializerHandler",
3212
4774
  "canonicalReference": "@microsoft/applicationinsights-web-basic!ITelemetryInitializerHandler:interface"
3213
4775
  },
3214
- {
3215
- "kind": "Content",
3216
- "text": " | void"
3217
- },
3218
4776
  {
3219
4777
  "kind": "Content",
3220
4778
  "text": ";"
@@ -3223,7 +4781,7 @@
3223
4781
  "isOptional": false,
3224
4782
  "returnTypeTokenRange": {
3225
4783
  "startIndex": 3,
3226
- "endIndex": 5
4784
+ "endIndex": 4
3227
4785
  },
3228
4786
  "releaseTag": "Public",
3229
4787
  "overloadIndex": 1,
@@ -3285,6 +4843,119 @@
3285
4843
  ],
3286
4844
  "name": "addUnloadCb"
3287
4845
  },
4846
+ {
4847
+ "kind": "MethodSignature",
4848
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#addUnloadHook:member(1)",
4849
+ "docComment": "/**\n * Add this hook so that it is automatically removed during unloading\n *\n * @param hooks - The single hook or an array of IInstrumentHook objects\n */\n",
4850
+ "excerptTokens": [
4851
+ {
4852
+ "kind": "Content",
4853
+ "text": "addUnloadHook(hooks: "
4854
+ },
4855
+ {
4856
+ "kind": "Reference",
4857
+ "text": "IUnloadHook",
4858
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IUnloadHook:interface"
4859
+ },
4860
+ {
4861
+ "kind": "Content",
4862
+ "text": " | "
4863
+ },
4864
+ {
4865
+ "kind": "Reference",
4866
+ "text": "IUnloadHook",
4867
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IUnloadHook:interface"
4868
+ },
4869
+ {
4870
+ "kind": "Content",
4871
+ "text": "[] | "
4872
+ },
4873
+ {
4874
+ "kind": "Reference",
4875
+ "text": "Iterator",
4876
+ "canonicalReference": "!Iterator:interface"
4877
+ },
4878
+ {
4879
+ "kind": "Content",
4880
+ "text": "<"
4881
+ },
4882
+ {
4883
+ "kind": "Reference",
4884
+ "text": "IUnloadHook",
4885
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IUnloadHook:interface"
4886
+ },
4887
+ {
4888
+ "kind": "Content",
4889
+ "text": "> | "
4890
+ },
4891
+ {
4892
+ "kind": "Reference",
4893
+ "text": "ILegacyUnloadHook",
4894
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ILegacyUnloadHook:interface"
4895
+ },
4896
+ {
4897
+ "kind": "Content",
4898
+ "text": " | "
4899
+ },
4900
+ {
4901
+ "kind": "Reference",
4902
+ "text": "ILegacyUnloadHook",
4903
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ILegacyUnloadHook:interface"
4904
+ },
4905
+ {
4906
+ "kind": "Content",
4907
+ "text": "[] | "
4908
+ },
4909
+ {
4910
+ "kind": "Reference",
4911
+ "text": "Iterator",
4912
+ "canonicalReference": "!Iterator:interface"
4913
+ },
4914
+ {
4915
+ "kind": "Content",
4916
+ "text": "<"
4917
+ },
4918
+ {
4919
+ "kind": "Reference",
4920
+ "text": "ILegacyUnloadHook",
4921
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!ILegacyUnloadHook:interface"
4922
+ },
4923
+ {
4924
+ "kind": "Content",
4925
+ "text": ">"
4926
+ },
4927
+ {
4928
+ "kind": "Content",
4929
+ "text": "): "
4930
+ },
4931
+ {
4932
+ "kind": "Content",
4933
+ "text": "void"
4934
+ },
4935
+ {
4936
+ "kind": "Content",
4937
+ "text": ";"
4938
+ }
4939
+ ],
4940
+ "isOptional": false,
4941
+ "returnTypeTokenRange": {
4942
+ "startIndex": 18,
4943
+ "endIndex": 19
4944
+ },
4945
+ "releaseTag": "Public",
4946
+ "overloadIndex": 1,
4947
+ "parameters": [
4948
+ {
4949
+ "parameterName": "hooks",
4950
+ "parameterTypeTokenRange": {
4951
+ "startIndex": 1,
4952
+ "endIndex": 17
4953
+ },
4954
+ "isOptional": false
4955
+ }
4956
+ ],
4957
+ "name": "addUnloadHook"
4958
+ },
3288
4959
  {
3289
4960
  "kind": "PropertySignature",
3290
4961
  "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#config:member",
@@ -3842,6 +5513,88 @@
3842
5513
  "endIndex": 2
3843
5514
  }
3844
5515
  },
5516
+ {
5517
+ "kind": "MethodSignature",
5518
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#onCfgChange:member(1)",
5519
+ "docComment": "/**\n * Watches and tracks changes for accesses to the current config, and if the accessed config changes the handler will be recalled.\n *\n * @param handler - \n *\n * @returns A watcher handler instance that can be used to remove itself when being unloaded\n */\n",
5520
+ "excerptTokens": [
5521
+ {
5522
+ "kind": "Content",
5523
+ "text": "onCfgChange<T extends "
5524
+ },
5525
+ {
5526
+ "kind": "Reference",
5527
+ "text": "IConfiguration",
5528
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
5529
+ },
5530
+ {
5531
+ "kind": "Content",
5532
+ "text": " = "
5533
+ },
5534
+ {
5535
+ "kind": "Reference",
5536
+ "text": "IConfiguration",
5537
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
5538
+ },
5539
+ {
5540
+ "kind": "Content",
5541
+ "text": ">(handler: "
5542
+ },
5543
+ {
5544
+ "kind": "Reference",
5545
+ "text": "WatcherFunction",
5546
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!WatcherFunction:type"
5547
+ },
5548
+ {
5549
+ "kind": "Content",
5550
+ "text": "<T>"
5551
+ },
5552
+ {
5553
+ "kind": "Content",
5554
+ "text": "): "
5555
+ },
5556
+ {
5557
+ "kind": "Reference",
5558
+ "text": "IUnloadHook",
5559
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IUnloadHook:interface"
5560
+ },
5561
+ {
5562
+ "kind": "Content",
5563
+ "text": ";"
5564
+ }
5565
+ ],
5566
+ "isOptional": false,
5567
+ "returnTypeTokenRange": {
5568
+ "startIndex": 8,
5569
+ "endIndex": 9
5570
+ },
5571
+ "releaseTag": "Public",
5572
+ "overloadIndex": 1,
5573
+ "parameters": [
5574
+ {
5575
+ "parameterName": "handler",
5576
+ "parameterTypeTokenRange": {
5577
+ "startIndex": 5,
5578
+ "endIndex": 7
5579
+ },
5580
+ "isOptional": false
5581
+ }
5582
+ ],
5583
+ "typeParameters": [
5584
+ {
5585
+ "typeParameterName": "T",
5586
+ "constraintTokenRange": {
5587
+ "startIndex": 1,
5588
+ "endIndex": 2
5589
+ },
5590
+ "defaultTypeTokenRange": {
5591
+ "startIndex": 3,
5592
+ "endIndex": 4
5593
+ }
5594
+ }
5595
+ ],
5596
+ "name": "onCfgChange"
5597
+ },
3845
5598
  {
3846
5599
  "kind": "MethodSignature",
3847
5600
  "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#pollInternalLogs:member(1)",
@@ -4188,6 +5941,98 @@
4188
5941
  }
4189
5942
  ],
4190
5943
  "name": "unload"
5944
+ },
5945
+ {
5946
+ "kind": "MethodSignature",
5947
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#updateCfg:member(1)",
5948
+ "docComment": "/**\n * Update the configuration used and broadcast the changes to all loaded plugins, this does NOT support updating, adding or removing any the plugins (extensions or channels). It will notify each plugin (if supported) that the configuration has changed but it will not remove or add any new plugins, you need to call addPlugin or getPlugin(identifier).remove();\n *\n * @param newConfig - The new configuration is apply\n *\n * @param mergeExisting - Should the new configuration merge with the existing or just replace it. Default is to merge.\n */\n",
5949
+ "excerptTokens": [
5950
+ {
5951
+ "kind": "Content",
5952
+ "text": "updateCfg<T extends "
5953
+ },
5954
+ {
5955
+ "kind": "Reference",
5956
+ "text": "IConfiguration",
5957
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
5958
+ },
5959
+ {
5960
+ "kind": "Content",
5961
+ "text": " = "
5962
+ },
5963
+ {
5964
+ "kind": "Reference",
5965
+ "text": "IConfiguration",
5966
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
5967
+ },
5968
+ {
5969
+ "kind": "Content",
5970
+ "text": ">(newConfig: "
5971
+ },
5972
+ {
5973
+ "kind": "Content",
5974
+ "text": "T"
5975
+ },
5976
+ {
5977
+ "kind": "Content",
5978
+ "text": ", mergeExisting?: "
5979
+ },
5980
+ {
5981
+ "kind": "Content",
5982
+ "text": "boolean"
5983
+ },
5984
+ {
5985
+ "kind": "Content",
5986
+ "text": "): "
5987
+ },
5988
+ {
5989
+ "kind": "Content",
5990
+ "text": "void"
5991
+ },
5992
+ {
5993
+ "kind": "Content",
5994
+ "text": ";"
5995
+ }
5996
+ ],
5997
+ "isOptional": false,
5998
+ "returnTypeTokenRange": {
5999
+ "startIndex": 9,
6000
+ "endIndex": 10
6001
+ },
6002
+ "releaseTag": "Public",
6003
+ "overloadIndex": 1,
6004
+ "parameters": [
6005
+ {
6006
+ "parameterName": "newConfig",
6007
+ "parameterTypeTokenRange": {
6008
+ "startIndex": 5,
6009
+ "endIndex": 6
6010
+ },
6011
+ "isOptional": false
6012
+ },
6013
+ {
6014
+ "parameterName": "mergeExisting",
6015
+ "parameterTypeTokenRange": {
6016
+ "startIndex": 7,
6017
+ "endIndex": 8
6018
+ },
6019
+ "isOptional": true
6020
+ }
6021
+ ],
6022
+ "typeParameters": [
6023
+ {
6024
+ "typeParameterName": "T",
6025
+ "constraintTokenRange": {
6026
+ "startIndex": 1,
6027
+ "endIndex": 2
6028
+ },
6029
+ "defaultTypeTokenRange": {
6030
+ "startIndex": 3,
6031
+ "endIndex": 4
6032
+ }
6033
+ }
6034
+ ],
6035
+ "name": "updateCfg"
4191
6036
  }
4192
6037
  ],
4193
6038
  "extendsTokenRanges": [
@@ -8303,7 +10148,7 @@
8303
10148
  {
8304
10149
  "kind": "Method",
8305
10150
  "canonicalReference": "@microsoft/applicationinsights-web-basic!Sender#triggerSend:member(1)",
8306
- "docComment": "/**\n * Immediately send buffered data\n *\n * @param async - Indicates if the events should be sent asynchronously\n *\n * @param forcedSender - Indicates the forcedSender, undefined if not passed\n */\n",
10151
+ "docComment": "/**\n * Immediately send buffered data\n *\n * @param async - - Indicates if the events should be sent asynchronously\n *\n * @param forcedSender - - Indicates the forcedSender, undefined if not passed\n */\n",
8307
10152
  "excerptTokens": [
8308
10153
  {
8309
10154
  "kind": "Content",