@capgo/capacitor-llm 7.2.6 → 7.2.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.
package/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  <a href="https://capgo.app/"><img src='https://raw.githubusercontent.com/Cap-go/capgo/main/assets/capgo_banner.png' alt='Capgo - Instant updates for capacitor'/></a>
4
4
 
5
5
  <div align="center">
6
- <h2><a href="https://capgo.app/?ref=plugin"> ➡️ Get Instant updates for your App with Capgo 🚀</a></h2>
7
- <h2><a href="https://capgo.app/consulting/?ref=plugin"> Fix your annoying bug now, Hire a Capacitor expert 💪</a></h2>
6
+ <h2><a href="https://capgo.app/?ref=plugin_llm"> ➡️ Get Instant updates for your App with Capgo 🚀</a></h2>
7
+ <h2><a href="https://capgo.app/consulting/?ref=plugin_llm"> Fix your annoying bug now, Hire a Capacitor expert 💪</a></h2>
8
8
  </div>
9
9
 
10
10
  Adds support for LLM locally runned for Capacitor
@@ -9,7 +9,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
9
9
  @CapacitorPlugin(name = "CapgoLLM")
10
10
  public class LLMPlugin extends Plugin {
11
11
 
12
- private final String PLUGIN_VERSION = "7.2.6";
12
+ private final String pluginVersion = "7.2.8";
13
13
 
14
14
  private LLM llm;
15
15
 
@@ -216,7 +216,7 @@ public class LLMPlugin extends Plugin {
216
216
  public void getPluginVersion(final PluginCall call) {
217
217
  try {
218
218
  final JSObject ret = new JSObject();
219
- ret.put("version", this.PLUGIN_VERSION);
219
+ ret.put("version", this.pluginVersion);
220
220
  call.resolve(ret);
221
221
  } catch (final Exception e) {
222
222
  call.reject("Could not get plugin version", e);
@@ -16,7 +16,7 @@ import MediaPipeTasksGenAI
16
16
 
17
17
  @objc(LLMPlugin)
18
18
  public class LLMPlugin: CAPPlugin, CAPBridgedPlugin {
19
- private let PLUGIN_VERSION: String = "7.2.6"
19
+ private let pluginVersion: String = "7.2.8"
20
20
  public let identifier = "LLMPlugin"
21
21
  public let jsName = "CapgoLLM"
22
22
  public var pluginMethods: [CAPPluginMethod] = [
@@ -441,7 +441,7 @@ public class LLMPlugin: CAPPlugin, CAPBridgedPlugin {
441
441
  }
442
442
 
443
443
  @objc func getPluginVersion(_ call: CAPPluginCall) {
444
- call.resolve(["version": self.PLUGIN_VERSION])
444
+ call.resolve(["version": self.pluginVersion])
445
445
  }
446
446
  }
447
447
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-llm",
3
- "version": "7.2.6",
3
+ "version": "7.2.8",
4
4
  "description": "Adds support for LLM locally runned for Capacitor",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",