@capgo/capacitor-native-biometric 7.4.2 → 7.4.3

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.
@@ -51,7 +51,7 @@ import org.json.JSONException;
51
51
  @CapacitorPlugin(name = "NativeBiometric")
52
52
  public class NativeBiometric extends Plugin {
53
53
 
54
- private final String PLUGIN_VERSION = "7.3.2";
54
+ private final String pluginVersion = "7.3.2";
55
55
 
56
56
  //protected final static int AUTH_CODE = 0102;
57
57
 
@@ -467,7 +467,7 @@ public class NativeBiometric extends Plugin {
467
467
  public void getPluginVersion(final PluginCall call) {
468
468
  try {
469
469
  final JSObject ret = new JSObject();
470
- ret.put("version", this.PLUGIN_VERSION);
470
+ ret.put("version", this.pluginVersion);
471
471
  call.resolve(ret);
472
472
  } catch (final Exception e) {
473
473
  call.reject("Could not get plugin version", e);
@@ -9,7 +9,7 @@ import LocalAuthentication
9
9
 
10
10
  @objc(NativeBiometricPlugin)
11
11
  public class NativeBiometricPlugin: CAPPlugin, CAPBridgedPlugin {
12
- private let PLUGIN_VERSION: String = "7.4.2"
12
+ private let pluginVersion: String = "7.4.3"
13
13
  public let identifier = "NativeBiometricPlugin"
14
14
  public let jsName = "NativeBiometric"
15
15
  public let pluginMethods: [CAPPluginMethod] = [
@@ -297,6 +297,6 @@ public class NativeBiometricPlugin: CAPPlugin, CAPBridgedPlugin {
297
297
  }
298
298
 
299
299
  @objc func getPluginVersion(_ call: CAPPluginCall) {
300
- call.resolve(["version": self.PLUGIN_VERSION])
300
+ call.resolve(["version": self.pluginVersion])
301
301
  }
302
302
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-native-biometric",
3
- "version": "7.4.2",
3
+ "version": "7.4.3",
4
4
  "description": "This plugin gives access to the native biometric apis for android and iOS",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",