capacitor-microblink 0.4.0 → 0.4.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.
@@ -160,10 +160,10 @@ public class MicroblinkPlugin extends Plugin {
160
160
  }
161
161
 
162
162
  ExtractionSettings extractionSettings = new ExtractionSettings(
163
- call.getBoolean("extractIban", true),
163
+ call.getBoolean("extractIban", false),
164
164
  call.getBoolean("extractExpiryDate", true),
165
165
  call.getBoolean("extractOwner", true),
166
- call.getBoolean("extractCvv", true),
166
+ call.getBoolean("extractCvv", false),
167
167
  call.getBoolean("allowInvalidCardNumber", false)
168
168
  );
169
169
 
@@ -143,10 +143,10 @@ public class MicroblinkPlugin: CAPPlugin, CAPBridgedPlugin {
143
143
 
144
144
  private func startBlinkCardScan(call: CAPPluginCall, sdk: BlinkCardSdk, presentingViewController: UIViewController) async throws {
145
145
  let extractionSettings = ExtractionSettings(
146
- extractIban: call.getBool("extractIban") ?? true,
146
+ extractIban: call.getBool("extractIban") ?? false,
147
147
  extractExpiryDate: call.getBool("extractExpiryDate") ?? true,
148
148
  extractCardholderName: call.getBool("extractOwner") ?? true,
149
- extractCvv: call.getBool("extractCvv") ?? true,
149
+ extractCvv: call.getBool("extractCvv") ?? false,
150
150
  extractInvalidCardNumber: call.getBool("allowInvalidCardNumber") ?? false
151
151
  )
152
152
  let scanningSettings = ScanningSettings(extractionSettings: extractionSettings)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-microblink",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Capacitor plugin for microblink",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",