scandit-react-native-datacapture-core 7.0.0-beta.2 → 7.0.0

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.
@@ -68,7 +68,7 @@ if (file( "${rootProject.projectDir}/build-test.gradle").exists()) {
68
68
  }
69
69
 
70
70
  dependencies {
71
- def sdk_version = "7.0.0-beta.2"
71
+ def sdk_version = "7.0.0"
72
72
 
73
73
  println("Version of the native sdk used in this build: ${safeExtGet('global_sdk_version', sdk_version)}")
74
74
  if (findProject(':scandit-datacapture-frameworks-core') != null) {
package/dist/core.js CHANGED
@@ -2655,13 +2655,9 @@ function parseDefaults(jsonDefaults) {
2655
2655
  frameColor: Color.fromJSON(jsonDefaults.AimerViewfinder.frameColor),
2656
2656
  dotColor: Color.fromJSON(jsonDefaults.AimerViewfinder.dotColor),
2657
2657
  },
2658
- Brush: {
2659
- fillColor: Color
2660
- .fromJSON(jsonDefaults.Brush.fillColor),
2661
- strokeColor: Color
2662
- .fromJSON(jsonDefaults.Brush.strokeColor),
2663
- strokeWidth: jsonDefaults.Brush.strokeWidth,
2664
- },
2658
+ Brush: new Brush(Color
2659
+ .fromJSON(jsonDefaults.Brush.fillColor), Color
2660
+ .fromJSON(jsonDefaults.Brush.strokeColor), jsonDefaults.Brush.strokeWidth),
2665
2661
  deviceID: jsonDefaults.deviceID,
2666
2662
  };
2667
2663
  // Inject defaults to avoid a circular dependency between these classes and the defaults