Socket
Socket
Sign inDemoInstall

scandit-cordova-datacapture-id

Package Overview
Dependencies
Maintainers
3
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scandit-cordova-datacapture-id - npm Package Compare versions

Comparing version 6.21.0 to 6.21.1

2

package.json
{
"name": "scandit-cordova-datacapture-id",
"version": "6.21.0",
"version": "6.21.1",
"description": "Scandit Data Capture SDK for Cordova",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -27,6 +27,4 @@ "use strict";

const done = () => {
this.idCapture.isInListenerCallback = false;
return { enabled: this.idCapture.isEnabled };
};
this.idCapture.isInListenerCallback = true;
if (!event) {

@@ -33,0 +31,0 @@ // The event could be undefined/null in case the plugin result did not pass a "message",

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

this.listenerProxy = null;
this.isInListenerCallback = false;
}

@@ -33,7 +32,3 @@ get isEnabled() {

this._isEnabled = isEnabled;
if (!this.isInListenerCallback) {
// If we're "in" a listener callback, we don't want to deserialize the context to update the enabled state,
// but rather pass that back to be applied in the native callback.
this.didChange();
}
this.didChange();
}

@@ -95,5 +90,2 @@ get context() {

], IdCapture.prototype, "proxy", void 0);
__decorate([
Serializeable_1.ignoreFromSerialization
], IdCapture.prototype, "isInListenerCallback", void 0);
exports.IdCapture = IdCapture;

@@ -451,3 +451,2 @@ declare module Scandit {

private proxy;
private isInListenerCallback;
static forContext(context: DataCaptureContext | null, settings: IdCaptureSettings): IdCapture;

@@ -454,0 +453,0 @@ addListener(listener: IdCaptureListener): void;

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