scandit-capacitor-datacapture-core 8.4.0-beta.1 → 8.4.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.
@@ -17,5 +17,5 @@ Pod::Spec.new do |s|
17
17
  s.swift_version = "5.7"
18
18
 
19
19
  s.dependency "Capacitor"
20
- s.dependency "scandit-datacapture-frameworks-core", '= 8.4.0-beta.1'
20
+ s.dependency "scandit-datacapture-frameworks-core", '= 8.4.0'
21
21
  end
@@ -141,7 +141,7 @@ if (ext.has('repos')) {
141
141
  }
142
142
 
143
143
  dependencies {
144
- def sdk_version = "8.4.0-beta.1"
144
+ def sdk_version = "8.4.0"
145
145
 
146
146
  implementation fileTree(dir: 'libs', include: ['*.jar'])
147
147
 
package/dist/core.js CHANGED
@@ -4938,16 +4938,14 @@ function parseDefaults(jsonDefaults) {
4938
4938
  focusGesture: PrivateFocusGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.focusGesture)),
4939
4939
  zoomGesture: PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture)),
4940
4940
  zoomGestures: jsonDefaults.DataCaptureView.zoomGestures
4941
- ? PrivateZoomGestureDeserializer['fromJSONArray'](parseOrUse(jsonDefaults.DataCaptureView.zoomGestures))
4942
- : (PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture)) != null
4941
+ ? PrivateZoomGestureDeserializer['fromJSONArray'](parseOrUse(jsonDefaults.DataCaptureView.zoomGestures).map(parseOrUse))
4942
+ : PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture)) != null
4943
4943
  ? [PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture))]
4944
- : []),
4944
+ : [],
4945
4945
  logoStyle: jsonDefaults.DataCaptureView.logoStyle,
4946
4946
  shouldShowZoomNotification: jsonDefaults.DataCaptureView.shouldShowZoomNotification,
4947
4947
  },
4948
- RectangularViewfinder: Object
4949
- .keys(jsonDefaults.RectangularViewfinder.styles)
4950
- .reduce((acc, key) => {
4948
+ RectangularViewfinder: Object.keys(jsonDefaults.RectangularViewfinder.styles).reduce((acc, key) => {
4951
4949
  const viewfinder = jsonDefaults.RectangularViewfinder.styles[key];
4952
4950
  acc.styles[key] = {
4953
4951
  size: SizeWithUnitAndAspect['fromJSON'](parseOrUse(viewfinder.size)),