@capgo/capacitor-pdf-generator 7.2.0 → 7.2.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.
@@ -29,7 +29,7 @@ import java.util.Locale;
29
29
  @CapacitorPlugin(name = "PdfGenerator")
30
30
  public class PdfGeneratorPlugin extends Plugin {
31
31
 
32
- private final String PLUGIN_VERSION = "7.2.0";
32
+ private final String pluginVersion = "7.2.2";
33
33
 
34
34
  private final Handler mainHandler = new Handler(Looper.getMainLooper());
35
35
  private final List<PdfGenerationTask> tasks = new ArrayList<>();
@@ -173,7 +173,7 @@ public class PdfGeneratorPlugin 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);
@@ -4,7 +4,7 @@ import WebKit
4
4
 
5
5
  @objc(PdfGeneratorPlugin)
6
6
  public class PdfGeneratorPlugin: CAPPlugin, CAPBridgedPlugin {
7
- private let PLUGIN_VERSION: String = "7.2.0"
7
+ private let pluginVersion: String = "7.2.2"
8
8
  public let identifier = "PdfGeneratorPlugin"
9
9
  public let jsName = "PdfGenerator"
10
10
  public let pluginMethods: [CAPPluginMethod] = [
@@ -110,7 +110,7 @@ public class PdfGeneratorPlugin: CAPPlugin, CAPBridgedPlugin {
110
110
  }
111
111
 
112
112
  @objc func getPluginVersion(_ call: CAPPluginCall) {
113
- call.resolve(["version": self.PLUGIN_VERSION])
113
+ call.resolve(["version": self.pluginVersion])
114
114
  }
115
115
  }
116
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-pdf-generator",
3
- "version": "7.2.0",
3
+ "version": "7.2.2",
4
4
  "description": "Generate PDF files from HTML strings or URLs on iOS and Android.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",