scandit-capacitor-datacapture-barcode
Advanced tools
Comparing version 6.19.0-beta.0 to 6.19.0-beta.1
import { TrackedBarcode } from '../Barcode'; | ||
import { doReturnWithFinish } from '../../../../scandit-capacitor-datacapture-core/src/ts/Capacitor/CommonCapacitor'; | ||
import { Capacitor, CapacitorFunction } from './Capacitor'; | ||
@@ -46,8 +45,9 @@ var BarcodeTrackingBasicOverlayListenerEvent; | ||
const brush = this.overlay.listener.brushForTrackedBarcode(this.overlay, trackedBarcode); | ||
return doReturnWithFinish(event.name, { brush: brush ? JSON.stringify(brush.toJSON()) : null }); | ||
BarcodeTrackingBasicOverlayProxy.capacitorExec(null, null, CapacitorFunction.SetBrushForTrackedBarcode, { | ||
brush: brush ? JSON.stringify(brush.toJSON()) : null, | ||
sessionFrameSequenceID: trackedBarcode.sessionFrameSequenceID, | ||
trackedBarcodeID: trackedBarcode.identifier, | ||
}); | ||
} | ||
else { | ||
const defaultBrush = this.overlay.brush; | ||
return doReturnWithFinish(event.name, { brush: defaultBrush ? JSON.stringify(defaultBrush.toJSON()) : null }); | ||
} | ||
break; | ||
case BarcodeTrackingBasicOverlayListenerEvent.DidTapTrackedBarcode: | ||
@@ -54,0 +54,0 @@ if ((_b = this.overlay.listener) === null || _b === void 0 ? void 0 : _b.didTapTrackedBarcode) { |
{ | ||
"name": "scandit-capacitor-datacapture-barcode", | ||
"version": "6.19.0-beta.0", | ||
"version": "6.19.0-beta.1", | ||
"description": "Scandit Data Capture SDK for Capacitor", | ||
@@ -25,3 +25,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"scandit-capacitor-datacapture-core": "6.19.0-beta.0" | ||
"scandit-capacitor-datacapture-core": "6.19.0-beta.1" | ||
}, | ||
@@ -28,0 +28,0 @@ "devDependencies": { |
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 too big to display
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
1313629
13074
+ Addedscandit-capacitor-datacapture-core@6.19.0-beta.1(transitive)
- Removedscandit-capacitor-datacapture-core@6.19.0-beta.0(transitive)