scandit-capacitor-datacapture-barcode 7.0.0-beta.1 → 7.0.0-beta.2

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.0.0-beta.1'
20
+ s.dependency "scandit-datacapture-frameworks-barcode", '= 7.0.0-beta.2'
21
21
  end
@@ -56,7 +56,7 @@ repositories {
56
56
  }
57
57
 
58
58
  dependencies {
59
- def sdk_version = "7.0.0-beta.1"
59
+ def sdk_version = "7.0.0-beta.2"
60
60
 
61
61
  implementation fileTree(dir: 'libs', include: ['*.jar'])
62
62
  implementation fileTree(dir: 'library', include: ['*.aar'])
package/dist/barcode.js CHANGED
@@ -313,13 +313,7 @@ function parseBarcodeCaptureDefaults(jsonDefaults) {
313
313
  },
314
314
  BarcodeCaptureOverlay: {
315
315
  defaultStyle: jsonDefaults.BarcodeCaptureOverlay.defaultStyle,
316
- DefaultBrush: {
317
- fillColor: Color
318
- .fromJSON(jsonDefaults.BarcodeCaptureOverlay.DefaultBrush.fillColor),
319
- strokeColor: Color
320
- .fromJSON(jsonDefaults.BarcodeCaptureOverlay.DefaultBrush.strokeColor),
321
- strokeWidth: jsonDefaults.BarcodeCaptureOverlay.DefaultBrush.strokeWidth,
322
- },
316
+ DefaultBrush: new Brush(Color.fromJSON(jsonDefaults.BarcodeCaptureOverlay.DefaultBrush.fillColor), Color.fromJSON(jsonDefaults.BarcodeCaptureOverlay.DefaultBrush.strokeColor), jsonDefaults.BarcodeCaptureOverlay.DefaultBrush.strokeWidth),
323
317
  styles: Object
324
318
  .keys(jsonDefaults.BarcodeCaptureOverlay.Brushes)
325
319
  .reduce((previousValue, currentValue) => {