scandit-capacitor-datacapture-barcode 7.2.0 → 7.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,5 +17,5 @@ Pod::Spec.new do |s|
17
17
 
18
18
  s.dependency "Capacitor"
19
19
  s.dependency "ScanditCapacitorDatacaptureCore", "= #{version}"
20
- s.dependency "scandit-datacapture-frameworks-barcode", '= 7.2.0'
20
+ s.dependency "scandit-datacapture-frameworks-barcode", '= 7.2.1'
21
21
  end
@@ -89,7 +89,7 @@ repositories {
89
89
  }
90
90
 
91
91
  dependencies {
92
- def sdk_version = "7.2.0"
92
+ def sdk_version = "7.2.1"
93
93
 
94
94
  implementation fileTree(dir: 'libs', include: ['*.jar'])
95
95
  implementation fileTree(dir: 'library', include: ['*.aar'])
package/dist/barcode.js CHANGED
@@ -1333,13 +1333,8 @@ class BarcodeCountViewController extends BaseController {
1333
1333
  return (_c = (_b = (_a = this._proxy).$removeBarcodeCountView) === null || _b === undefined ? undefined : _b.call(_a)) !== null && _c !== undefined ? _c : Promise.resolve();
1334
1334
  }
1335
1335
  createView() {
1336
- const barcodeCountViewSerialized = this.view.toJSON();
1337
- const barcodeCountSerialized = this.view._barcodeCount.toJSON();
1338
- const viewJson = JSON.stringify({
1339
- BarcodeCount: barcodeCountSerialized,
1340
- View: barcodeCountViewSerialized
1341
- });
1342
- return this._proxy.$createBarcodeCountView({ viewJson });
1336
+ const barcodeCountViewJson = this.view.toJSON();
1337
+ return this._proxy.$createBarcodeCountView({ viewJson: JSON.stringify(barcodeCountViewJson) });
1343
1338
  }
1344
1339
  setUiListener(listener) {
1345
1340
  return __awaiter(this, undefined, undefined, function* () {