@microsoft/applicationinsights-react-js 18.3.7-nightly.2503-06 → 19.3.6-nightly.2503-08
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-react-js.js +2 -2
- package/browser/applicationinsights-react-js.js.map +1 -1
- package/browser/applicationinsights-react-js.min.js +2 -2
- package/browser/applicationinsights-react-js.min.js.map +1 -1
- package/dist/applicationinsights-react-js.api.json +3 -8
- package/dist/applicationinsights-react-js.api.md +1 -1
- package/dist/applicationinsights-react-js.d.ts +2 -2
- package/dist/applicationinsights-react-js.js +2 -2
- package/dist/applicationinsights-react-js.js.map +1 -1
- package/dist/applicationinsights-react-js.min.js +2 -2
- package/dist/applicationinsights-react-js.min.js.map +1 -1
- package/dist/applicationinsights-react-js.rollup.d.ts +2 -2
- package/dist-esm/AppInsightsContext.js +1 -1
- package/dist-esm/AppInsightsErrorBoundary.js +1 -1
- package/dist-esm/Interfaces/IReactExtensionConfig.js +1 -1
- package/dist-esm/ReactPlugin.js +1 -1
- package/dist-esm/applicationinsights-react-js.js +1 -1
- package/dist-esm/useTrackEvent.js +1 -1
- package/dist-esm/useTrackMetric.js +2 -2
- package/dist-esm/useTrackMetric.js.map +1 -1
- package/dist-esm/withAITracking.js +1 -1
- package/package.json +8 -8
- package/src/useTrackMetric.ts +1 -1
- package/types/AppInsightsErrorBoundary.d.ts +1 -1
|
@@ -841,7 +841,7 @@
|
|
|
841
841
|
},
|
|
842
842
|
{
|
|
843
843
|
"kind": "Content",
|
|
844
|
-
"text": "<
|
|
844
|
+
"text": "<unknown, string | "
|
|
845
845
|
},
|
|
846
846
|
{
|
|
847
847
|
"kind": "Reference",
|
|
@@ -850,12 +850,7 @@
|
|
|
850
850
|
},
|
|
851
851
|
{
|
|
852
852
|
"kind": "Content",
|
|
853
|
-
"text": "<any>>
|
|
854
|
-
},
|
|
855
|
-
{
|
|
856
|
-
"kind": "Reference",
|
|
857
|
-
"text": "React.ReactNode",
|
|
858
|
-
"canonicalReference": "@types/react!React.ReactNode:type"
|
|
853
|
+
"text": "<any>>"
|
|
859
854
|
},
|
|
860
855
|
{
|
|
861
856
|
"kind": "Content",
|
|
@@ -865,7 +860,7 @@
|
|
|
865
860
|
"isStatic": false,
|
|
866
861
|
"returnTypeTokenRange": {
|
|
867
862
|
"startIndex": 1,
|
|
868
|
-
"endIndex":
|
|
863
|
+
"endIndex": 5
|
|
869
864
|
},
|
|
870
865
|
"releaseTag": "Public",
|
|
871
866
|
"isProtected": false,
|
|
@@ -71,7 +71,7 @@ export class AppInsightsErrorBoundary extends React_3.Component<IAppInsightsErro
|
|
|
71
71
|
// (undocumented)
|
|
72
72
|
componentDidCatch(error: Error, errorInfo: React_3.ErrorInfo): void;
|
|
73
73
|
// (undocumented)
|
|
74
|
-
render(): React_3.ReactElement<
|
|
74
|
+
render(): React_3.ReactElement<unknown, string | React_3.JSXElementConstructor<any>>;
|
|
75
75
|
// (undocumented)
|
|
76
76
|
state: {
|
|
77
77
|
hasError: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights react plugin,
|
|
2
|
+
* Microsoft Application Insights react plugin, 19.3.6-nightly.2503-08
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -61,7 +61,7 @@ declare namespace ApplicationInsights {
|
|
|
61
61
|
hasError: boolean;
|
|
62
62
|
};
|
|
63
63
|
componentDidCatch(error: Error, errorInfo: React_3.ErrorInfo): void;
|
|
64
|
-
render(): React_3.ReactElement<
|
|
64
|
+
render(): React_3.ReactElement<unknown, string | React_3.JSXElementConstructor<any>>;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
type AppInsightsReactContext = Context<ReactPlugin>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - React Plugin,
|
|
2
|
+
* Application Insights JavaScript SDK - React Plugin, 19.3.6-nightly.2503-08
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -3569,7 +3569,7 @@
|
|
|
3569
3569
|
idleCount: 0,
|
|
3570
3570
|
idleTimeout: 5000
|
|
3571
3571
|
});
|
|
3572
|
-
var savedCallback = React.useRef();
|
|
3572
|
+
var savedCallback = React.useRef(null);
|
|
3573
3573
|
var callback = function () {
|
|
3574
3574
|
var trackedData = tracking.current;
|
|
3575
3575
|
if (trackedData.lastActiveTimestamp > 0 &&
|