@microsoft/applicationinsights-web-basic 2.8.0-beta.2202-07 → 2.8.0-beta.2203-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/aib.2.8.0-beta.2203-03.integrity.json +26 -0
- package/browser/{aib.2.8.0-beta.2202-07.js → aib.2.8.0-beta.2203-03.js} +1024 -476
- package/browser/aib.2.8.0-beta.2203-03.js.map +1 -0
- package/browser/aib.2.8.0-beta.2203-03.min.js +6 -0
- package/browser/aib.2.8.0-beta.2203-03.min.js.map +1 -0
- package/browser/aib.2.js +1023 -475
- 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/dist/applicationinsights-web-basic.api.json +256 -0
- package/dist/applicationinsights-web-basic.api.md +6 -1
- package/dist/applicationinsights-web-basic.d.ts +340 -78
- package/dist/applicationinsights-web-basic.js +1023 -475
- 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 +340 -78
- package/dist-esm/index.js +1 -1
- package/package.json +4 -4
- package/browser/aib.2.8.0-beta.2202-07.integrity.json +0 -26
- package/browser/aib.2.8.0-beta.2202-07.js.map +0 -1
- package/browser/aib.2.8.0-beta.2202-07.min.js +0 -6
- package/browser/aib.2.8.0-beta.2202-07.min.js.map +0 -1
|
@@ -705,6 +705,130 @@
|
|
|
705
705
|
],
|
|
706
706
|
"name": "addNotificationListener"
|
|
707
707
|
},
|
|
708
|
+
{
|
|
709
|
+
"kind": "MethodSignature",
|
|
710
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#addPlugin:member(1)",
|
|
711
|
+
"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\n *\n * @param doAsync - Should the add be performed asynchronously\n */\n",
|
|
712
|
+
"excerptTokens": [
|
|
713
|
+
{
|
|
714
|
+
"kind": "Content",
|
|
715
|
+
"text": "addPlugin<T extends "
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"kind": "Reference",
|
|
719
|
+
"text": "IPlugin",
|
|
720
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IPlugin:interface"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"kind": "Content",
|
|
724
|
+
"text": " "
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"kind": "Content",
|
|
728
|
+
"text": "= "
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"kind": "Reference",
|
|
732
|
+
"text": "ITelemetryPlugin",
|
|
733
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!ITelemetryPlugin:interface"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"kind": "Content",
|
|
737
|
+
"text": ">(plugin: "
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"kind": "Content",
|
|
741
|
+
"text": "T"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"kind": "Content",
|
|
745
|
+
"text": ", replaceExisting: "
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"kind": "Content",
|
|
749
|
+
"text": "boolean"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"kind": "Content",
|
|
753
|
+
"text": ", doAsync: "
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"kind": "Content",
|
|
757
|
+
"text": "boolean"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"kind": "Content",
|
|
761
|
+
"text": ", addCb?: "
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"kind": "Content",
|
|
765
|
+
"text": "(added?: boolean) => void"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"kind": "Content",
|
|
769
|
+
"text": "): "
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"kind": "Content",
|
|
773
|
+
"text": "void"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"kind": "Content",
|
|
777
|
+
"text": ";"
|
|
778
|
+
}
|
|
779
|
+
],
|
|
780
|
+
"isOptional": false,
|
|
781
|
+
"returnTypeTokenRange": {
|
|
782
|
+
"startIndex": 14,
|
|
783
|
+
"endIndex": 15
|
|
784
|
+
},
|
|
785
|
+
"releaseTag": "Public",
|
|
786
|
+
"overloadIndex": 1,
|
|
787
|
+
"parameters": [
|
|
788
|
+
{
|
|
789
|
+
"parameterName": "plugin",
|
|
790
|
+
"parameterTypeTokenRange": {
|
|
791
|
+
"startIndex": 6,
|
|
792
|
+
"endIndex": 7
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"parameterName": "replaceExisting",
|
|
797
|
+
"parameterTypeTokenRange": {
|
|
798
|
+
"startIndex": 8,
|
|
799
|
+
"endIndex": 9
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"parameterName": "doAsync",
|
|
804
|
+
"parameterTypeTokenRange": {
|
|
805
|
+
"startIndex": 10,
|
|
806
|
+
"endIndex": 11
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"parameterName": "addCb",
|
|
811
|
+
"parameterTypeTokenRange": {
|
|
812
|
+
"startIndex": 12,
|
|
813
|
+
"endIndex": 13
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
],
|
|
817
|
+
"typeParameters": [
|
|
818
|
+
{
|
|
819
|
+
"typeParameterName": "T",
|
|
820
|
+
"constraintTokenRange": {
|
|
821
|
+
"startIndex": 1,
|
|
822
|
+
"endIndex": 3
|
|
823
|
+
},
|
|
824
|
+
"defaultTypeTokenRange": {
|
|
825
|
+
"startIndex": 4,
|
|
826
|
+
"endIndex": 5
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
],
|
|
830
|
+
"name": "addPlugin"
|
|
831
|
+
},
|
|
708
832
|
{
|
|
709
833
|
"kind": "MethodSignature",
|
|
710
834
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#addTelemetryInitializer:member(1)",
|
|
@@ -755,6 +879,51 @@
|
|
|
755
879
|
],
|
|
756
880
|
"name": "addTelemetryInitializer"
|
|
757
881
|
},
|
|
882
|
+
{
|
|
883
|
+
"kind": "MethodSignature",
|
|
884
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#addUnloadCb:member(1)",
|
|
885
|
+
"docComment": "/**\n * Add a handler that will be called when the SDK is being unloaded\n *\n * @param handler - the handler\n */\n",
|
|
886
|
+
"excerptTokens": [
|
|
887
|
+
{
|
|
888
|
+
"kind": "Content",
|
|
889
|
+
"text": "addUnloadCb(handler: "
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"kind": "Reference",
|
|
893
|
+
"text": "UnloadHandler",
|
|
894
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!UnloadHandler:type"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"kind": "Content",
|
|
898
|
+
"text": "): "
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"kind": "Content",
|
|
902
|
+
"text": "void"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"kind": "Content",
|
|
906
|
+
"text": ";"
|
|
907
|
+
}
|
|
908
|
+
],
|
|
909
|
+
"isOptional": false,
|
|
910
|
+
"returnTypeTokenRange": {
|
|
911
|
+
"startIndex": 3,
|
|
912
|
+
"endIndex": 4
|
|
913
|
+
},
|
|
914
|
+
"releaseTag": "Public",
|
|
915
|
+
"overloadIndex": 1,
|
|
916
|
+
"parameters": [
|
|
917
|
+
{
|
|
918
|
+
"parameterName": "handler",
|
|
919
|
+
"parameterTypeTokenRange": {
|
|
920
|
+
"startIndex": 1,
|
|
921
|
+
"endIndex": 2
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
],
|
|
925
|
+
"name": "addUnloadCb"
|
|
926
|
+
},
|
|
758
927
|
{
|
|
759
928
|
"kind": "PropertySignature",
|
|
760
929
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#config:member",
|
|
@@ -782,6 +951,34 @@
|
|
|
782
951
|
"endIndex": 2
|
|
783
952
|
}
|
|
784
953
|
},
|
|
954
|
+
{
|
|
955
|
+
"kind": "MethodSignature",
|
|
956
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#evtNamespace:member(1)",
|
|
957
|
+
"docComment": "/**\n * Returns the unique event namespace that should be used when registering events\n */\n",
|
|
958
|
+
"excerptTokens": [
|
|
959
|
+
{
|
|
960
|
+
"kind": "Content",
|
|
961
|
+
"text": "evtNamespace(): "
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"kind": "Content",
|
|
965
|
+
"text": "string"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"kind": "Content",
|
|
969
|
+
"text": ";"
|
|
970
|
+
}
|
|
971
|
+
],
|
|
972
|
+
"isOptional": false,
|
|
973
|
+
"returnTypeTokenRange": {
|
|
974
|
+
"startIndex": 1,
|
|
975
|
+
"endIndex": 2
|
|
976
|
+
},
|
|
977
|
+
"releaseTag": "Public",
|
|
978
|
+
"overloadIndex": 1,
|
|
979
|
+
"parameters": [],
|
|
980
|
+
"name": "evtNamespace"
|
|
981
|
+
},
|
|
785
982
|
{
|
|
786
983
|
"kind": "MethodSignature",
|
|
787
984
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#getCookieMgr:member(1)",
|
|
@@ -1342,6 +1539,65 @@
|
|
|
1342
1539
|
}
|
|
1343
1540
|
],
|
|
1344
1541
|
"name": "track"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"kind": "MethodSignature",
|
|
1545
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#unload:member(1)",
|
|
1546
|
+
"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",
|
|
1547
|
+
"excerptTokens": [
|
|
1548
|
+
{
|
|
1549
|
+
"kind": "Content",
|
|
1550
|
+
"text": "unload(isAsync?: "
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
"kind": "Content",
|
|
1554
|
+
"text": "boolean"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"kind": "Content",
|
|
1558
|
+
"text": ", unloadComplete?: "
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"kind": "Content",
|
|
1562
|
+
"text": "() => void"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"kind": "Content",
|
|
1566
|
+
"text": "): "
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"kind": "Content",
|
|
1570
|
+
"text": "void"
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"kind": "Content",
|
|
1574
|
+
"text": ";"
|
|
1575
|
+
}
|
|
1576
|
+
],
|
|
1577
|
+
"isOptional": false,
|
|
1578
|
+
"returnTypeTokenRange": {
|
|
1579
|
+
"startIndex": 5,
|
|
1580
|
+
"endIndex": 6
|
|
1581
|
+
},
|
|
1582
|
+
"releaseTag": "Public",
|
|
1583
|
+
"overloadIndex": 1,
|
|
1584
|
+
"parameters": [
|
|
1585
|
+
{
|
|
1586
|
+
"parameterName": "isAsync",
|
|
1587
|
+
"parameterTypeTokenRange": {
|
|
1588
|
+
"startIndex": 1,
|
|
1589
|
+
"endIndex": 2
|
|
1590
|
+
}
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
"parameterName": "unloadComplete",
|
|
1594
|
+
"parameterTypeTokenRange": {
|
|
1595
|
+
"startIndex": 3,
|
|
1596
|
+
"endIndex": 4
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
],
|
|
1600
|
+
"name": "unload"
|
|
1345
1601
|
}
|
|
1346
1602
|
],
|
|
1347
1603
|
"extendsTokenRanges": [
|
|
@@ -44,11 +44,16 @@ export const CoreUtils: ICoreUtils;
|
|
|
44
44
|
export interface IAppInsightsCore extends IPerfManagerProvider {
|
|
45
45
|
// Warning: (ae-forgotten-export) The symbol "INotificationListener" needs to be exported by the entry point index.d.ts
|
|
46
46
|
addNotificationListener?(listener: INotificationListener): void;
|
|
47
|
+
// Warning: (ae-forgotten-export) The symbol "ITelemetryPlugin" needs to be exported by the entry point index.d.ts
|
|
48
|
+
addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting: boolean, doAsync: boolean, addCb?: (added?: boolean) => void): void;
|
|
47
49
|
// Warning: (ae-forgotten-export) The symbol "TelemetryInitializerFunction" needs to be exported by the entry point index.d.ts
|
|
48
50
|
// Warning: (ae-forgotten-export) The symbol "ITelemetryInitializerHandler" needs to be exported by the entry point index.d.ts
|
|
49
51
|
addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler | void;
|
|
52
|
+
// Warning: (ae-forgotten-export) The symbol "UnloadHandler" needs to be exported by the entry point index.d.ts
|
|
53
|
+
addUnloadCb(handler: UnloadHandler): void;
|
|
50
54
|
// (undocumented)
|
|
51
55
|
config: IConfiguration;
|
|
56
|
+
evtNamespace(): string;
|
|
52
57
|
// Warning: (ae-forgotten-export) The symbol "ICookieMgr" needs to be exported by the entry point index.d.ts
|
|
53
58
|
getCookieMgr(): ICookieMgr;
|
|
54
59
|
getNotifyMgr(): INotificationManager;
|
|
@@ -73,6 +78,7 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
|
|
|
73
78
|
stopPollingInternalLogs?(): void;
|
|
74
79
|
// (undocumented)
|
|
75
80
|
track(telemetryItem: ITelemetryItem): void;
|
|
81
|
+
unload(isAsync?: boolean, unloadComplete?: () => void): void;
|
|
76
82
|
}
|
|
77
83
|
|
|
78
84
|
// @public
|
|
@@ -111,7 +117,6 @@ export interface IConfiguration {
|
|
|
111
117
|
extensionConfig?: {
|
|
112
118
|
[key: string]: any;
|
|
113
119
|
};
|
|
114
|
-
// Warning: (ae-forgotten-export) The symbol "ITelemetryPlugin" needs to be exported by the entry point index.d.ts
|
|
115
120
|
extensions?: ITelemetryPlugin[];
|
|
116
121
|
idLength?: number;
|
|
117
122
|
instrumentationKey?: string;
|