@microsoft/applicationinsights-web-basic 3.0.0-beta.2211-03 → 3.0.0-beta.2211-04

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.
@@ -2664,6 +2664,41 @@
2664
2664
  "isOptional": false,
2665
2665
  "name": "flush"
2666
2666
  },
2667
+ {
2668
+ "kind": "Method",
2669
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getChannels:member(1)",
2670
+ "docComment": "",
2671
+ "excerptTokens": [
2672
+ {
2673
+ "kind": "Content",
2674
+ "text": "getChannels(): "
2675
+ },
2676
+ {
2677
+ "kind": "Reference",
2678
+ "text": "IChannelControls",
2679
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IChannelControls:interface"
2680
+ },
2681
+ {
2682
+ "kind": "Content",
2683
+ "text": "[]"
2684
+ },
2685
+ {
2686
+ "kind": "Content",
2687
+ "text": ";"
2688
+ }
2689
+ ],
2690
+ "isStatic": false,
2691
+ "returnTypeTokenRange": {
2692
+ "startIndex": 1,
2693
+ "endIndex": 3
2694
+ },
2695
+ "releaseTag": "Public",
2696
+ "isProtected": false,
2697
+ "overloadIndex": 1,
2698
+ "parameters": [],
2699
+ "isOptional": false,
2700
+ "name": "getChannels"
2701
+ },
2667
2702
  {
2668
2703
  "kind": "Method",
2669
2704
  "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getCookieMgr:member(1)",
@@ -2923,41 +2958,6 @@
2923
2958
  "isOptional": false,
2924
2959
  "name": "getTraceCtx"
2925
2960
  },
2926
- {
2927
- "kind": "Method",
2928
- "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getTransmissionControls:member(1)",
2929
- "docComment": "",
2930
- "excerptTokens": [
2931
- {
2932
- "kind": "Content",
2933
- "text": "getTransmissionControls(): "
2934
- },
2935
- {
2936
- "kind": "Reference",
2937
- "text": "IChannelControls",
2938
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IChannelControls:interface"
2939
- },
2940
- {
2941
- "kind": "Content",
2942
- "text": "[][]"
2943
- },
2944
- {
2945
- "kind": "Content",
2946
- "text": ";"
2947
- }
2948
- ],
2949
- "isStatic": false,
2950
- "returnTypeTokenRange": {
2951
- "startIndex": 1,
2952
- "endIndex": 3
2953
- },
2954
- "releaseTag": "Public",
2955
- "isProtected": false,
2956
- "overloadIndex": 1,
2957
- "parameters": [],
2958
- "isOptional": false,
2959
- "name": "getTransmissionControls"
2960
- },
2961
2961
  {
2962
2962
  "kind": "Property",
2963
2963
  "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getWParam:member",
@@ -5165,6 +5165,39 @@
5165
5165
  ],
5166
5166
  "name": "flush"
5167
5167
  },
5168
+ {
5169
+ "kind": "MethodSignature",
5170
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#getChannels:member(1)",
5171
+ "docComment": "",
5172
+ "excerptTokens": [
5173
+ {
5174
+ "kind": "Content",
5175
+ "text": "getChannels(): "
5176
+ },
5177
+ {
5178
+ "kind": "Reference",
5179
+ "text": "IChannelControls",
5180
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IChannelControls:interface"
5181
+ },
5182
+ {
5183
+ "kind": "Content",
5184
+ "text": "[]"
5185
+ },
5186
+ {
5187
+ "kind": "Content",
5188
+ "text": ";"
5189
+ }
5190
+ ],
5191
+ "isOptional": false,
5192
+ "returnTypeTokenRange": {
5193
+ "startIndex": 1,
5194
+ "endIndex": 3
5195
+ },
5196
+ "releaseTag": "Public",
5197
+ "overloadIndex": 1,
5198
+ "parameters": [],
5199
+ "name": "getChannels"
5200
+ },
5168
5201
  {
5169
5202
  "kind": "MethodSignature",
5170
5203
  "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#getCookieMgr:member(1)",
@@ -5383,39 +5416,6 @@
5383
5416
  ],
5384
5417
  "name": "getTraceCtx"
5385
5418
  },
5386
- {
5387
- "kind": "MethodSignature",
5388
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#getTransmissionControls:member(1)",
5389
- "docComment": "",
5390
- "excerptTokens": [
5391
- {
5392
- "kind": "Content",
5393
- "text": "getTransmissionControls(): "
5394
- },
5395
- {
5396
- "kind": "Reference",
5397
- "text": "IChannelControls",
5398
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IChannelControls:interface"
5399
- },
5400
- {
5401
- "kind": "Content",
5402
- "text": "[][]"
5403
- },
5404
- {
5405
- "kind": "Content",
5406
- "text": ";"
5407
- }
5408
- ],
5409
- "isOptional": false,
5410
- "returnTypeTokenRange": {
5411
- "startIndex": 1,
5412
- "endIndex": 3
5413
- },
5414
- "releaseTag": "Public",
5415
- "overloadIndex": 1,
5416
- "parameters": [],
5417
- "name": "getTransmissionControls"
5418
- },
5419
5419
  {
5420
5420
  "kind": "PropertySignature",
5421
5421
  "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#getWParam:member",
@@ -10654,7 +10654,7 @@
10654
10654
  "excerptTokens": [
10655
10655
  {
10656
10656
  "kind": "Content",
10657
- "text": "export declare type SeverityLevel = "
10657
+ "text": "export type SeverityLevel = "
10658
10658
  },
10659
10659
  {
10660
10660
  "kind": "Content",
@@ -32,6 +32,10 @@ export class AppInsightsCore implements IAppInsightsCore {
32
32
  eventCnt(): number;
33
33
  evtNamespace(): string;
34
34
  flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): void;
35
+ // Warning: (ae-forgotten-export) The symbol "IChannelControls" needs to be exported by the entry point index.d.ts
36
+ //
37
+ // (undocumented)
38
+ getChannels(): IChannelControls[];
35
39
  // Warning: (ae-forgotten-export) The symbol "ICookieMgr" needs to be exported by the entry point index.d.ts
36
40
  getCookieMgr(): ICookieMgr;
37
41
  // (undocumented)
@@ -48,10 +52,6 @@ export class AppInsightsCore implements IAppInsightsCore {
48
52
  getProcessTelContext(): IProcessTelemetryContext;
49
53
  // Warning: (ae-forgotten-export) The symbol "IDistributedTraceContext" needs to be exported by the entry point index.d.ts
50
54
  getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
51
- // Warning: (ae-forgotten-export) The symbol "IChannelControls" needs to be exported by the entry point index.d.ts
52
- //
53
- // (undocumented)
54
- getTransmissionControls(): IChannelControls[][];
55
55
  getWParam: () => number;
56
56
  // Warning: (ae-forgotten-export) The symbol "INotificationManager" needs to be exported by the entry point index.d.ts
57
57
  //
@@ -311,13 +311,13 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
311
311
  config: IConfiguration;
312
312
  evtNamespace(): string;
313
313
  flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason, cbTimeout?: number): boolean | void;
314
+ // (undocumented)
315
+ getChannels(): IChannelControls[];
314
316
  getCookieMgr(): ICookieMgr;
315
317
  getNotifyMgr(): INotificationManager;
316
318
  getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
317
319
  getProcessTelContext(): IProcessTelemetryContext;
318
320
  getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
319
- // (undocumented)
320
- getTransmissionControls(): IChannelControls[][];
321
321
  getWParam: () => number;
322
322
  // (undocumented)
323
323
  initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.0.0-beta.2211-03
2
+ * Microsoft.ApplicationInsights, 3.0.0-beta.2211-04
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -35,7 +35,7 @@ declare namespace ApplicationInsights {
35
35
  getWParam: () => number;
36
36
  constructor();
37
37
  initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
38
- getTransmissionControls(): IChannelControls[][];
38
+ getChannels(): IChannelControls[];
39
39
  track(telemetryItem: ITelemetryItem): void;
40
40
  getProcessTelContext(): IProcessTelemetryContext;
41
41
  getNotifyMgr(): INotificationManager;
@@ -465,7 +465,7 @@ declare namespace ApplicationInsights {
465
465
  */
466
466
  isInitialized?: () => boolean;
467
467
  initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
468
- getTransmissionControls(): IChannelControls[][];
468
+ getChannels(): IChannelControls[];
469
469
  track(telemetryItem: ITelemetryItem): void;
470
470
  /**
471
471
  * Get the current notification manager
@@ -732,11 +732,11 @@ declare namespace ApplicationInsights {
732
732
  /**
733
733
  * Pause sending data
734
734
  */
735
- pause(): void;
735
+ pause?(): void;
736
736
  /**
737
737
  * Resume sending data
738
738
  */
739
- resume(): void;
739
+ resume?(): void;
740
740
  /**
741
741
  * Tear down the plugin and remove any hooked value, the plugin should be removed so that it is no longer initialized and
742
742
  * therefore could be re-initialized after being torn down. The plugin should ensure that once this has been called any further
@@ -745,7 +745,7 @@ declare namespace ApplicationInsights {
745
745
  * @param unloadState - The details / state of the unload process, it holds details like whether it should be unloaded synchronously or asynchronously and the reason for the unload.
746
746
  * @returns boolean - true if the plugin has or will call processNext(), this for backward compatibility as previously teardown was synchronous and returned nothing.
747
747
  */
748
- teardown: (unloadCtx?: IProcessTelemetryUnloadContext, unloadState?: ITelemetryUnloadState) => void | boolean;
748
+ teardown?: (unloadCtx?: IProcessTelemetryUnloadContext, unloadState?: ITelemetryUnloadState) => void | boolean;
749
749
  /**
750
750
  * Flush to send data immediately; channel should default to sending data asynchronously
751
751
  * @param async - send data asynchronously when true
@@ -754,7 +754,7 @@ declare namespace ApplicationInsights {
754
754
  * @param sendReason - specify the reason that you are calling "flush" defaults to ManualFlush (1) if not specified
755
755
  * @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
756
756
  */
757
- flush(async: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): boolean | void;
757
+ flush?(async: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): boolean | void;
758
758
  }
759
759
 
760
760
  interface IChannelControlsAI extends IChannelControls {