Socket
Socket
Sign inDemoInstall

@dynatrace/cordova-plugin

Package Overview
Dependencies
Maintainers
9
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynatrace/cordova-plugin - npm Package Compare versions

Comparing version 1.229.0 to 1.233.0

7

package.json
{
"name": "@dynatrace/cordova-plugin",
"version": "1.229.0",
"version": "1.233.0",
"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.",

@@ -34,6 +34,6 @@ "cordova": {

"dependencies": {
"axios": "^0.22.0",
"axios": "^0.25.0",
"cordova-common": "^4.0.2",
"if-env": "1.0.4",
"jsdom": "^15.2.1",
"jsdom": "^19.0.0",
"plist": "^3.0.4"

@@ -53,2 +53,3 @@ },

"mock-fs": "^4.14.0",
"npm-check-updates": "^12.0.2",
"shelljs": "^0.8.4",

@@ -55,0 +56,0 @@ "tar": "^6.1.11",

@@ -18,3 +18,3 @@ [![N|Solid](https://assets.dynatrace.com/content/dam/dynatrace/misc/dynatrace_web.png)](https://dynatrace.com)

* Android: Gradle > 5.0 ([How to update?](#updating-to-gradle-5))
* Node: > 10.x
* Node: > 12.x

@@ -25,4 +25,4 @@ ## Agent Versions

* iOS Agent: 8.229.1.1004
* Android Agent: 8.229.1.1003
* iOS Agent: 8.233.1.1006
* Android Agent: 8.231.2.1007
## Quick Setup

@@ -740,4 +740,14 @@

### Using Apple Pay with WebKit/WKWebView
When using Apple Pay with WKWebView, there are specific checks that WebKit (Apple) uses when loading the Apple Pay SDK. The Apple Pay SDK does not work when using script injection APIs which is what our iOS agent uses to properly communicate with the JS agent and to correlate the Mobile and Web User Sessions.
**Workaround:** You can set the `DTXHybridApplication` flag to false which will remove the injection of our script. This will also remove the correlation of the Mobile and Web Sessions.
## Changelog
1.233.0
* Improved injection logic for html
* Updated Android (8.231.2.1007) & iOS Agent (8.233.1.1006)
1.229.0

@@ -744,0 +754,0 @@ * Adding SessionStorage values to Native web request instrumentation

@@ -66,3 +66,3 @@ "use strict";

var item = scripts.item(i);
if (item !== null && item.src === HTMLConstants_1.OLD_AGENT_SRC && item.parentNode !== null) {
if (item !== null && item.src.includes(HTMLConstants_1.OLD_AGENT_SRC) && item.parentNode !== null) {
item.parentNode.removeChild(item);

@@ -85,6 +85,6 @@ return true;

};
HTMLModifier.prototype.createScriptTag = function (locaction) {
HTMLModifier.prototype.createScriptTag = function (location) {
var scriptTag = this.htmlFile.getDOM().window.document.createElement("script");
scriptTag.type = "text/javascript";
scriptTag.src = locaction;
scriptTag.src = location;
return scriptTag;

@@ -91,0 +91,0 @@ };

@@ -5,2 +5,3 @@ "use strict";

var HTMLConstants_1 = require("./HTMLConstants");
var path_1 = require("path");
var HTMLVerifier = (function () {

@@ -17,3 +18,3 @@ function HTMLVerifier(htmlFile) {

var item = scripts.item(i);
if (item !== null && item.src === "cordova.js") {
if (item !== null && path_1.basename(item.src) === "cordova.js") {
return true;

@@ -20,0 +21,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc