@capgo/capacitor-document-scanner 7.1.8 → 7.1.9

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.
@@ -38,7 +38,7 @@ import java.util.Locale;
38
38
  @CapacitorPlugin(name = "DocumentScanner")
39
39
  public class DocumentScannerPlugin extends Plugin {
40
40
 
41
- private final String PLUGIN_VERSION = "7.1.7";
41
+ private final String pluginVersion = "7.1.7";
42
42
 
43
43
  private static final String RESPONSE_TYPE_BASE64 = "base64";
44
44
  private static final String RESPONSE_TYPE_FILE_PATH = "imageFilePath";
@@ -296,7 +296,7 @@ public class DocumentScannerPlugin extends Plugin {
296
296
  public void getPluginVersion(final PluginCall call) {
297
297
  try {
298
298
  final JSObject ret = new JSObject();
299
- ret.put("version", this.PLUGIN_VERSION);
299
+ ret.put("version", this.pluginVersion);
300
300
  call.resolve(ret);
301
301
  } catch (final Exception e) {
302
302
  call.reject("Could not get plugin version", e);
@@ -4,7 +4,7 @@ import Foundation
4
4
  @available(iOS 13.0, *)
5
5
  @objc(DocumentScannerPlugin)
6
6
  public class DocumentScannerPlugin: CAPPlugin, CAPBridgedPlugin {
7
- private let PLUGIN_VERSION: String = "7.1.8"
7
+ private let pluginVersion: String = "7.1.9"
8
8
  public let identifier = "DocumentScannerPlugin"
9
9
  public let jsName = "DocumentScanner"
10
10
  public let pluginMethods: [CAPPluginMethod] = [
@@ -52,7 +52,7 @@ public class DocumentScannerPlugin: CAPPlugin, CAPBridgedPlugin {
52
52
  }
53
53
 
54
54
  @objc func getPluginVersion(_ call: CAPPluginCall) {
55
- call.resolve(["version": self.PLUGIN_VERSION])
55
+ call.resolve(["version": self.pluginVersion])
56
56
  }
57
57
 
58
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-document-scanner",
3
- "version": "7.1.8",
3
+ "version": "7.1.9",
4
4
  "description": "Capacitor plugin to scan document iOS and Android",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",