@capgo/capacitor-updater 5.7.16 → 5.7.17

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.
@@ -55,7 +55,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
55
55
  private static final String channelUrlDefault =
56
56
  "https://api.capgo.app/channel_self";
57
57
 
58
- private final String PLUGIN_VERSION = "5.7.16";
58
+ private final String PLUGIN_VERSION = "5.7.17";
59
59
  private static final String DELAY_CONDITION_PREFERENCES = "";
60
60
 
61
61
  private SharedPreferences.Editor editor;
@@ -1115,7 +1115,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
1115
1115
  if (res.has("message")) {
1116
1116
  Log.i(
1117
1117
  CapacitorUpdater.TAG,
1118
- "API message " + res.get("message")
1118
+ "API message: " + res.get("message")
1119
1119
  );
1120
1120
  if (
1121
1121
  res.has("major") &&
@@ -15,7 +15,7 @@ import Version
15
15
  @objc(CapacitorUpdaterPlugin)
16
16
  public class CapacitorUpdaterPlugin: CAPPlugin {
17
17
  public var implementation = CapacitorUpdater()
18
- private let PLUGIN_VERSION: String = "5.7.16"
18
+ private let PLUGIN_VERSION: String = "5.7.17"
19
19
  static let updateUrlDefault = "https://api.capgo.app/updates"
20
20
  static let statsUrlDefault = "https://api.capgo.app/stats"
21
21
  static let channelUrlDefault = "https://api.capgo.app/channel_self"
@@ -643,7 +643,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
643
643
  let current = self.implementation.getCurrentBundle()
644
644
 
645
645
  if (res.message) != nil {
646
- print("\(self.implementation.TAG) API response: \(res.message ?? "")")
646
+ print("\(self.implementation.TAG) API message: \(res.message ?? "")")
647
647
  if res.major == true {
648
648
  self.notifyListeners("majorAvailable", data: ["version": res.version])
649
649
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "5.7.16",
3
+ "version": "5.7.17",
4
4
  "packageManager": "pnpm@8.15.4",
5
5
  "license": "MPL-2.0",
6
6
  "description": "Live update for capacitor apps",