@microsoft/applicationinsights-react-js 3.2.0 → 3.2.1-nightly.202110-02
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 +7 -9
- package/browser/applicationinsights-react-js.js.map +1 -1
- package/browser/applicationinsights-react-js.min.js +1 -1
- package/browser/applicationinsights-react-js.min.js.map +1 -1
- package/dist/applicationinsights-react-js.api.json +1 -1
- package/dist/applicationinsights-react-js.d.ts +1 -1
- package/dist/applicationinsights-react-js.js +7 -9
- package/dist/applicationinsights-react-js.js.map +1 -1
- package/dist/applicationinsights-react-js.min.js +1 -1
- package/dist/applicationinsights-react-js.min.js.map +1 -1
- package/dist/applicationinsights-react-js.rollup.d.ts +1 -1
- 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 +1 -1
- package/dist-esm/withAITracking.js +1 -1
- package/package.json +73 -70
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - React Plugin, 3.2.
|
|
2
|
+
* Application Insights JavaScript SDK - React Plugin, 3.2.1-nightly.202110-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
|
|
7
7
|
typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
|
|
8
8
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.Microsoft = global.Microsoft || {}, global.Microsoft.ApplicationInsights = global.Microsoft.ApplicationInsights || {}), global.React));
|
|
9
|
-
}(this, (function (exports, React) { 'use strict';
|
|
9
|
+
})(this, (function (exports, React) { 'use strict';
|
|
10
10
|
|
|
11
11
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
12
|
|
|
@@ -19,14 +19,12 @@
|
|
|
19
19
|
var d = (function(obj, prop) { /* ai_es3_polyfil getOwnPropertyDescriptor */var func = Object["getOwnPropertyDescriptor"]; if (func) { return func(obj, prop); } return undefined; })(e, k);
|
|
20
20
|
(function(obj, prop, descriptor) { /* ai_es3_polyfil defineProperty */ var func = Object["defineProperty"]; if (func) { try { return func(obj, prop, descriptor); } catch(e) { /* IE8 defines defineProperty, but will throw */ } } if (descriptor && typeof descriptor.value !== undefined) { obj[prop] = descriptor.value; } return obj; })(n, k, d.get ? d : {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () {
|
|
23
|
-
return e[k];
|
|
24
|
-
}
|
|
22
|
+
get: function () { return e[k]; }
|
|
25
23
|
});
|
|
26
24
|
}
|
|
27
25
|
});
|
|
28
26
|
}
|
|
29
|
-
n[
|
|
27
|
+
n["default"] = e;
|
|
30
28
|
return n;
|
|
31
29
|
}
|
|
32
30
|
|
|
@@ -1942,12 +1940,12 @@
|
|
|
1942
1940
|
AppInsightsErrorBoundary.prototype.render = function () {
|
|
1943
1941
|
if (this.state.hasError) {
|
|
1944
1942
|
var onError = this.props.onError;
|
|
1945
|
-
return React__default[
|
|
1943
|
+
return React__default["default"].createElement(onError);
|
|
1946
1944
|
}
|
|
1947
1945
|
return this.props.children;
|
|
1948
1946
|
};
|
|
1949
1947
|
return AppInsightsErrorBoundary;
|
|
1950
|
-
}(React__default[
|
|
1948
|
+
}(React__default["default"].Component));
|
|
1951
1949
|
var AppInsightsErrorBoundary$1 = AppInsightsErrorBoundary;
|
|
1952
1950
|
|
|
1953
1951
|
var AppInsightsContext = React.createContext(undefined);
|
|
@@ -2046,5 +2044,5 @@
|
|
|
2046
2044
|
|
|
2047
2045
|
(function(obj, prop, descriptor) { /* ai_es3_polyfil defineProperty */ var func = Object["defineProperty"]; if (func) { try { return func(obj, prop, descriptor); } catch(e) { /* IE8 defines defineProperty, but will throw */ } } if (descriptor && typeof descriptor.value !== undefined) { obj[prop] = descriptor.value; } return obj; })(exports, '__esModule', { value: true });
|
|
2048
2046
|
|
|
2049
|
-
}))
|
|
2047
|
+
}));
|
|
2050
2048
|
//# sourceMappingURL=applicationinsights-react-js.js.map
|