@capgo/capacitor-sim 7.1.6 → 7.1.8

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.
@@ -28,7 +28,7 @@ import java.util.List;
28
28
  )
29
29
  public class SimPlugin extends Plugin {
30
30
 
31
- private final String PLUGIN_VERSION = "7.1.6";
31
+ private final String pluginVersion = "7.1.8";
32
32
 
33
33
  static final String READ_PHONE_STATE = "readPhoneState";
34
34
  static final String READ_PHONE_NUMBERS = "readPhoneNumbers";
@@ -128,7 +128,7 @@ public class SimPlugin extends Plugin {
128
128
  public void getPluginVersion(final PluginCall call) {
129
129
  try {
130
130
  final JSObject ret = new JSObject();
131
- ret.put("version", this.PLUGIN_VERSION);
131
+ ret.put("version", this.pluginVersion);
132
132
  call.resolve(ret);
133
133
  } catch (final Exception e) {
134
134
  call.reject("Could not get plugin version", e);
@@ -4,7 +4,7 @@ import Foundation
4
4
 
5
5
  @objc(SimPlugin)
6
6
  public class SimPlugin: CAPPlugin, CAPBridgedPlugin {
7
- private let PLUGIN_VERSION: String = "7.1.6"
7
+ private let pluginVersion: String = "7.1.8"
8
8
  public let identifier = "SimPlugin"
9
9
  public let jsName = "Sim"
10
10
  public let pluginMethods: [CAPPluginMethod] = [
@@ -54,7 +54,7 @@ public class SimPlugin: CAPPlugin, CAPBridgedPlugin {
54
54
  }
55
55
 
56
56
  @objc func getPluginVersion(_ call: CAPPluginCall) {
57
- call.resolve(["version": self.PLUGIN_VERSION])
57
+ call.resolve(["version": self.pluginVersion])
58
58
  }
59
59
 
60
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-sim",
3
- "version": "7.1.6",
3
+ "version": "7.1.8",
4
4
  "description": "Capacitor plugin to get information from device's sim cards",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",