@dynatrace/cordova-plugin 1.253.2 → 1.253.4
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/README.md
CHANGED
|
@@ -781,9 +781,10 @@ When using Apple Pay with WKWebView, there are specific checks that WebKit (Appl
|
|
|
781
781
|
|
|
782
782
|
## Changelog
|
|
783
783
|
|
|
784
|
-
1.253.
|
|
784
|
+
1.253.4
|
|
785
785
|
* Updated Android (8.253.1.1003) & iOS Agent (8.253.1.1006)
|
|
786
786
|
* Fixed wrong declaration for dtrum & MFP API
|
|
787
|
+
* Fixed broken export of axios library
|
|
787
788
|
|
|
788
789
|
1.247.0
|
|
789
790
|
* Added support for [Capacitor run command](#capacitor-instrumentation) for Capacitor versions 3.1+
|
|
@@ -15,7 +15,8 @@ var NativeNetworkInterceptorUtils = require(pluginId + '.native-network-intercep
|
|
|
15
15
|
var origWLResourceRequest;
|
|
16
16
|
var isNetworkIntercepted = false;
|
|
17
17
|
var tagSendRequest = function (request) {
|
|
18
|
-
|
|
18
|
+
var headerValue = request.getHeader('x-dynatrace');
|
|
19
|
+
if (headerValue === undefined || headerValue === null) {
|
|
19
20
|
var actionId = NativeNetworkInterceptorUtils.enterNativeRequestAction(request.getUrl(), 'Mobile First');
|
|
20
21
|
var headers = NativeNetworkInterceptorUtils.getHeadersForNativeRequest(actionId);
|
|
21
22
|
for (var _i = 0, headers_1 = headers; _i < headers_1.length; _i++) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynatrace/cordova-plugin",
|
|
3
|
-
"version": "1.253.
|
|
3
|
+
"version": "1.253.4",
|
|
4
4
|
"description": "This plugin gives you the ability to use the Dynatrace instrumentation in your hybrid application (Cordova, Ionic, ..). It uses the Mobile Agent, the JavaScript Agent. The Mobile Agent will give you all device specific values containing lifecycle information and the Javascript Agent will allow you to manually instrument your JavaScript/TypeScript code out of the box (Typescript definitions included). The JavaScript Agent will cover the network calls and will automatically detect them.",
|
|
5
5
|
"cordova": {
|
|
6
6
|
"id": "dynatrace-cordova-plugin",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"license": "Copyright (c) 2012-2020 Dynatrace LLC. All rights reserved.",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"axios": "^1.1.3",
|
|
38
|
-
"cordova-common": "^4.0
|
|
38
|
+
"cordova-common": "^4.1.0",
|
|
39
39
|
"jsdom": "^20.0.2",
|
|
40
40
|
"plist": "^3.0.6"
|
|
41
41
|
},
|
package/plugin.xml
CHANGED
|
@@ -45,7 +45,7 @@ var createJSAgentHTTPRequest = function (configuration, finishMsg, errorMsg) { r
|
|
|
45
45
|
return __generator(this, function (_a) {
|
|
46
46
|
switch (_a.label) {
|
|
47
47
|
case 0:
|
|
48
|
-
axiosInstance = axios_1.
|
|
48
|
+
axiosInstance = new axios_1.Axios({
|
|
49
49
|
httpsAgent: new https_1.Agent((0, exports.createHTTPOptions)(configuration)),
|
|
50
50
|
});
|
|
51
51
|
_a.label = 1;
|