scandit-cordova-datacapture-id
Advanced tools
Comparing version 6.18.0-beta.1 to 6.18.0-beta.2
{ | ||
"name": "scandit-cordova-datacapture-id", | ||
"version": "6.18.0-beta.1", | ||
"version": "6.18.0-beta.2", | ||
"description": "Scandit Data Capture SDK for Cordova", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -11,3 +11,2 @@ "use strict"; | ||
IdCaptureListenerEvent["DidReject"] = "didRejectInIdCapture"; | ||
IdCaptureListenerEvent["DidFail"] = "didFailInIdCapture"; | ||
})(IdCaptureListenerEvent || (IdCaptureListenerEvent = {})); | ||
@@ -59,8 +58,2 @@ class IdCaptureListenerProxy { | ||
break; | ||
case IdCaptureListenerEvent.DidFail: | ||
if (listener.didFailWithError) { | ||
const session = IdCapture_Related_1.IdCaptureSession | ||
.fromJSON(JSON.parse(event.argument.session)); | ||
listener.didFailWithError(this.idCapture, session._error, session); | ||
} | ||
} | ||
@@ -67,0 +60,0 @@ }); |
@@ -484,2 +484,6 @@ declare module Scandit { | ||
didRejectId?(idCapture: IdCapture, session: IdCaptureSession): void; | ||
/** | ||
* @deprecated This method is no longer executed by the listener. | ||
* See didRejectId for scenarios previously reported by this callback. | ||
*/ | ||
didFailWithError?(idCapture: IdCapture, error: IdCaptureError, session: IdCaptureSession): void; | ||
@@ -486,0 +490,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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
150107
1895