@blocklet/constant 1.16.0-beta-8ee536d7 → 1.16.0-beta-62b42401
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/index.js +12 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -139,6 +139,16 @@ const BLOCKLET_INTERFACE_PROTOCOLS = [
|
|
|
139
139
|
BLOCKLET_INTERFACE_PROTOCOL_HTTP,
|
|
140
140
|
];
|
|
141
141
|
|
|
142
|
+
const RESTORE_PROGRESS_STATUS = {
|
|
143
|
+
waiting: 0,
|
|
144
|
+
start: 10,
|
|
145
|
+
importData: 20,
|
|
146
|
+
downloading: 30,
|
|
147
|
+
importDataSuccess: 40,
|
|
148
|
+
installing: 50,
|
|
149
|
+
completed: 60,
|
|
150
|
+
};
|
|
151
|
+
|
|
142
152
|
module.exports = Object.freeze({
|
|
143
153
|
BlockletStatus,
|
|
144
154
|
fromBlockletStatus,
|
|
@@ -234,4 +244,6 @@ module.exports = Object.freeze({
|
|
|
234
244
|
CHAIN_ID: ['id', 'none'],
|
|
235
245
|
CHAIN_HOST: ['host', 'none'],
|
|
236
246
|
},
|
|
247
|
+
|
|
248
|
+
RESTORE_PROGRESS_STATUS,
|
|
237
249
|
});
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.0-beta-
|
|
6
|
+
"version": "1.16.0-beta-62b42401",
|
|
7
7
|
"description": "Blocklet constants",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"files": [
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"jest": "^27.5.1"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "6ef1c3601d0cfdcf5da0b55b4c54ef1fa9fce7d2"
|
|
24
24
|
}
|