@capgo/capacitor-uploader 7.3.0 → 7.3.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.
@@ -21,7 +21,7 @@ import net.gotev.uploadservice.observer.request.RequestObserverDelegate;
21
21
  @CapacitorPlugin(name = "Uploader")
22
22
  public class UploaderPlugin extends Plugin {
23
23
 
24
- private final String PLUGIN_VERSION = "7.3.0";
24
+ private final String pluginVersion = "7.3.1";
25
25
 
26
26
  private Uploader implementation;
27
27
 
@@ -173,7 +173,7 @@ public class UploaderPlugin extends Plugin {
173
173
  public void getPluginVersion(final PluginCall call) {
174
174
  try {
175
175
  final JSObject ret = new JSObject();
176
- ret.put("version", this.PLUGIN_VERSION);
176
+ ret.put("version", this.pluginVersion);
177
177
  call.resolve(ret);
178
178
  } catch (final Exception e) {
179
179
  call.reject("Could not get plugin version", e);
@@ -3,7 +3,7 @@ import Capacitor
3
3
 
4
4
  @objc(UploaderPlugin)
5
5
  public class UploaderPlugin: CAPPlugin, CAPBridgedPlugin {
6
- private let PLUGIN_VERSION: String = "7.3.0"
6
+ private let pluginVersion: String = "7.3.1"
7
7
  public let identifier = "UploaderPlugin"
8
8
  public let jsName = "Uploader"
9
9
  public let pluginMethods: [CAPPluginMethod] = [
@@ -62,7 +62,7 @@ public class UploaderPlugin: CAPPlugin, CAPBridgedPlugin {
62
62
  }
63
63
 
64
64
  @objc func getPluginVersion(_ call: CAPPluginCall) {
65
- call.resolve(["version": self.PLUGIN_VERSION])
65
+ call.resolve(["version": self.pluginVersion])
66
66
  }
67
67
 
68
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-uploader",
3
- "version": "7.3.0",
3
+ "version": "7.3.1",
4
4
  "description": "Upload file natively",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",