@capgo/capacitor-updater 3.3.1 → 3.3.2

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.
@@ -58,7 +58,7 @@ public class CapacitorUpdater {
58
58
 
59
59
  public String appId = "";
60
60
  public String deviceID = "";
61
- public final String pluginVersion = "3.3.1";
61
+ public final String pluginVersion = "3.3.2";
62
62
  public String statsUrl = "";
63
63
 
64
64
  public CapacitorUpdater (final Context context) throws PackageManager.NameNotFoundException {
@@ -113,7 +113,7 @@ public class CapacitorUpdaterPlugin extends Plugin implements Application.Activi
113
113
  @PluginMethod
114
114
  public void getPluginVersion(final PluginCall call) {
115
115
  final JSObject ret = new JSObject();
116
- ret.put("vrsion", this.implementation.pluginVersion);
116
+ ret.put("version", this.implementation.pluginVersion);
117
117
  call.resolve(ret);
118
118
  }
119
119
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "license": "AGPL-3.0-only",
5
5
  "description": "OTA update for capacitor apps",
6
6
  "main": "dist/plugin.cjs.js",