New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pluginfutronic

Package Overview
Dependencies
Maintainers
1
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pluginfutronic - npm Package Compare versions

Comparing version 0.0.68 to 0.0.69

2

package.json
{
"name": "pluginfutronic",
"version": "0.0.68",
"version": "0.0.69",
"description": "Plugin For Fingerprint",

@@ -5,0 +5,0 @@ "cordova": {

@@ -63,1 +63,29 @@ /*global cordova, module*/

module.exports = {
deviceinfo: function (successCallback, errorCallback) {
argscheck.checkArgs('fF', 'Device.getInfo', arguments);
cordova.exec(successCallback, errorCallback, "FutronicScanner", "deviceinfo", [usb_host_ctx]);
}
};
module.exports = new Device();
function Device() {
this.manufacturer = null;
var me = this;
channel.onCordovaReady.subscribe(function() {
me.getInfo(function(info) {
//ignoring info.cordova returning from native, we should use value from cordova.version defined in cordova.js
//TODO: CB-5105 native implementations should not return info.cordova
me.manufacturer = info.manufacturer || 'unknown';
channel.onCordovaInfoReady.fire();
},function(e) {
me.available = false;
utils.alert("[ERROR] Error initializing Cordova: " + e);
});
});
}

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