cordova-plugin-scanbot-sdk
Advanced tools
Comparing version 4.1.0-rc1 to 4.1.0-rc10
@@ -105,4 +105,5 @@ "use strict"; | ||
*/ | ||
ScanbotHTMLCamera.prototype.startBarcodeDetector = function (callback) { | ||
ScanbotHTMLCamera.prototype.startBarcodeDetector = function (formats, callback) { | ||
var _this = this; | ||
this.formats = formats; | ||
requestAnimationFrame(function (animCB) { | ||
@@ -183,3 +184,3 @@ _this.isDetecting = true; | ||
requestAnimationFrame(function () { return _this.sendImageData(result); }); | ||
}, "ScanbotSdk", "detectBarcodesFromBytes", [data.width, data.height, imageData]); | ||
}, "ScanbotSdk", "detectBarcodesFromBytes", [data.width, data.height, imageData, this.formats]); | ||
return [2 /*return*/]; | ||
@@ -204,2 +205,3 @@ } | ||
}()); | ||
exports.ScanbotHTMLCamera = ScanbotHTMLCamera; | ||
module.exports = ScanbotHTMLCamera; |
{ | ||
"name": "cordova-plugin-scanbot-sdk", | ||
"version": "4.1.0-rc1", | ||
"version": "4.1.0-rc10", | ||
"description": "Cordova Plugin for Scanbot SDK", | ||
@@ -13,3 +13,3 @@ "cordova": { | ||
"scripts": { | ||
"prepublish": "./prepare-scanbotsdk-framework.sh" | ||
"postinstall": "node download-ios-framework.js" | ||
}, | ||
@@ -42,11 +42,8 @@ "types": "index.d.ts", | ||
"author": "doo GmbH", | ||
"homepage": "https://scanbot.io/sdk.html", | ||
"files": [ | ||
"src/*", | ||
"www/*", | ||
"plugin.xml", | ||
"index.d.ts", | ||
"camera.js", | ||
"Libraries.txt" | ||
] | ||
"homepage": "https://scanbot.io", | ||
"devDependencies": { | ||
"https": "1.0.0", | ||
"adm-zip": "0.4.16", | ||
"path": "0.12.7" | ||
} | ||
} |
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
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
333364
3
50
3676
1
2
1