@capgo/capacitor-updater 7.2.7 → 7.2.9

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.
@@ -57,7 +57,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
57
57
  private static final String statsUrlDefault = "https://plugin.capgo.app/stats";
58
58
  private static final String channelUrlDefault = "https://plugin.capgo.app/channel_self";
59
59
 
60
- private final String PLUGIN_VERSION = "7.2.7";
60
+ private final String PLUGIN_VERSION = "7.2.9";
61
61
  private static final String DELAY_CONDITION_PREFERENCES = "";
62
62
 
63
63
  private SharedPreferences.Editor editor;
@@ -176,7 +176,7 @@ public class CryptoCipherV2 {
176
176
 
177
177
  public static String decryptChecksum(String checksum, String publicKey) throws IOException {
178
178
  if (publicKey.isEmpty()) {
179
- Log.e(CapacitorUpdater.TAG, "The public key is empty");
179
+ Log.e(CapacitorUpdater.TAG, "No encryption set (public key) ignored");
180
180
  return checksum;
181
181
  }
182
182
  try {
@@ -45,7 +45,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
45
45
  CAPPluginMethod(name: "getNextBundle", returnType: CAPPluginReturnPromise)
46
46
  ]
47
47
  public var implementation = CapacitorUpdater()
48
- private let PLUGIN_VERSION: String = "7.2.7"
48
+ private let PLUGIN_VERSION: String = "7.2.9"
49
49
  static let updateUrlDefault = "https://plugin.capgo.app/updates"
50
50
  static let statsUrlDefault = "https://plugin.capgo.app/stats"
51
51
  static let channelUrlDefault = "https://plugin.capgo.app/channel_self"
@@ -12,7 +12,7 @@ public struct CryptoCipherV2 {
12
12
 
13
13
  public static func decryptChecksum(checksum: String, publicKey: String) throws -> String {
14
14
  if publicKey.isEmpty {
15
- print("\(CapacitorUpdater.TAG) The public key is empty")
15
+ print("\(CapacitorUpdater.TAG) No encryption set (public key) ignored")
16
16
  return checksum
17
17
  }
18
18
  do {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "7.2.7",
3
+ "version": "7.2.9",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Live update for capacitor apps",
6
6
  "main": "dist/plugin.cjs.js",