@capgo/capacitor-updater 4.13.5 → 4.13.6

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
@@ -629,16 +629,18 @@ Get the state of auto update config. This will return `false` in manual mode.
629
629
  | **`version`** | <code>string</code> | Res of getLatest method | 4.0.0 |
630
630
  | **`major`** | <code>boolean</code> | | |
631
631
  | **`message`** | <code>string</code> | | |
632
+ | **`error`** | <code>string</code> | | |
632
633
  | **`old`** | <code>string</code> | | |
633
634
  | **`url`** | <code>string</code> | | |
634
635
 
635
636
 
636
637
  #### channelRes
637
638
 
638
- | Prop | Type | Description | Since |
639
- | ------------ | ------------------- | ----------------------------- | ----- |
640
- | **`status`** | <code>string</code> | Current status of set channel | 4.7.0 |
641
- | **`error`** | <code>any</code> | | |
639
+ | Prop | Type | Description | Since |
640
+ | ------------- | ------------------- | ----------------------------- | ----- |
641
+ | **`status`** | <code>string</code> | Current status of set channel | 4.7.0 |
642
+ | **`error`** | <code>any</code> | | |
643
+ | **`message`** | <code>any</code> | | |
642
644
 
643
645
 
644
646
  #### SetChannelOptions
@@ -654,6 +656,7 @@ Get the state of auto update config. This will return `false` in manual mode.
654
656
  | -------------- | -------------------- | ----------------------------- | ----- |
655
657
  | **`channel`** | <code>string</code> | Current status of get channel | 4.8.0 |
656
658
  | **`error`** | <code>any</code> | | |
659
+ | **`message`** | <code>any</code> | | |
657
660
  | **`status`** | <code>string</code> | | |
658
661
  | **`allowSet`** | <code>boolean</code> | | |
659
662
 
@@ -54,7 +54,7 @@ public class CapacitorUpdater {
54
54
  private static final String bundleDirectory = "versions";
55
55
 
56
56
  public static final String TAG = "Capacitor-updater";
57
- public static final String pluginVersion = "4.13.5";
57
+ public static final String pluginVersion = "4.13.6";
58
58
 
59
59
  public SharedPreferences.Editor editor;
60
60
  public SharedPreferences prefs;
package/dist/docs.json CHANGED
@@ -876,6 +876,13 @@
876
876
  "complexTypes": [],
877
877
  "type": "string | undefined"
878
878
  },
879
+ {
880
+ "name": "error",
881
+ "tags": [],
882
+ "docs": "",
883
+ "complexTypes": [],
884
+ "type": "string | undefined"
885
+ },
879
886
  {
880
887
  "name": "old",
881
888
  "tags": [],
@@ -917,6 +924,13 @@
917
924
  "docs": "",
918
925
  "complexTypes": [],
919
926
  "type": "any"
927
+ },
928
+ {
929
+ "name": "message",
930
+ "tags": [],
931
+ "docs": "",
932
+ "complexTypes": [],
933
+ "type": "any"
920
934
  }
921
935
  ]
922
936
  },
@@ -962,6 +976,13 @@
962
976
  "complexTypes": [],
963
977
  "type": "any"
964
978
  },
979
+ {
980
+ "name": "message",
981
+ "tags": [],
982
+ "docs": "",
983
+ "complexTypes": [],
984
+ "type": "any"
985
+ },
965
986
  {
966
987
  "name": "status",
967
988
  "tags": [],
@@ -103,6 +103,7 @@ export interface channelRes {
103
103
  */
104
104
  status: string;
105
105
  error?: any;
106
+ message?: any;
106
107
  }
107
108
  export interface getChannelRes {
108
109
  /**
@@ -112,6 +113,7 @@ export interface getChannelRes {
112
113
  */
113
114
  channel?: string;
114
115
  error?: any;
116
+ message?: any;
115
117
  status?: string;
116
118
  allowSet?: boolean;
117
119
  }
@@ -165,6 +167,7 @@ export interface latestVersion {
165
167
  version: string;
166
168
  major?: boolean;
167
169
  message?: string;
170
+ error?: string;
168
171
  old?: string;
169
172
  url?: string;
170
173
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "4.13.5",
3
+ "version": "4.13.6",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "OTA update for capacitor apps",
6
6
  "main": "dist/plugin.cjs.js",