@abtnode/core 1.16.16-beta-d11cb031 → 1.16.16-beta-2e5e3db7

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.
@@ -34,9 +34,7 @@ const hashFiles = require('@abtnode/util/lib/hash-files');
34
34
  const didDocument = require('@abtnode/util/lib/did-document');
35
35
  const {
36
36
  BLOCKLET_MAX_MEM_LIMIT_IN_MB,
37
- BLOCKLET_STORE,
38
37
  BLOCKLET_INSTALL_TYPE,
39
- BLOCKLET_STORE_DEV,
40
38
  APP_STRUCT_VERSION,
41
39
  EXPIRED_BLOCKLET_DATA_RETENTION_DAYS,
42
40
  NODE_MODES,
@@ -1259,9 +1257,11 @@ const getBlocklet = async ({
1259
1257
 
1260
1258
  blocklet.settings.storeList = blocklet.settings.storeList || [];
1261
1259
 
1262
- [BLOCKLET_STORE_DEV, BLOCKLET_STORE].forEach((store) => {
1260
+ const nodeInfo = await states.node.read();
1261
+
1262
+ (nodeInfo?.blockletRegistryList || []).forEach((store) => {
1263
1263
  if (!blocklet.settings.storeList.find((x) => x.url === store.url)) {
1264
- blocklet.settings.storeList.unshift({
1264
+ blocklet.settings.storeList.push({
1265
1265
  ...store,
1266
1266
  protected: true,
1267
1267
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.16-beta-d11cb031",
6
+ "version": "1.16.16-beta-2e5e3db7",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,19 +19,19 @@
19
19
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@abtnode/analytics": "1.16.16-beta-d11cb031",
23
- "@abtnode/auth": "1.16.16-beta-d11cb031",
24
- "@abtnode/certificate-manager": "1.16.16-beta-d11cb031",
25
- "@abtnode/constant": "1.16.16-beta-d11cb031",
26
- "@abtnode/cron": "1.16.16-beta-d11cb031",
27
- "@abtnode/logger": "1.16.16-beta-d11cb031",
28
- "@abtnode/models": "1.16.16-beta-d11cb031",
29
- "@abtnode/queue": "1.16.16-beta-d11cb031",
30
- "@abtnode/rbac": "1.16.16-beta-d11cb031",
31
- "@abtnode/router-provider": "1.16.16-beta-d11cb031",
32
- "@abtnode/static-server": "1.16.16-beta-d11cb031",
33
- "@abtnode/timemachine": "1.16.16-beta-d11cb031",
34
- "@abtnode/util": "1.16.16-beta-d11cb031",
22
+ "@abtnode/analytics": "1.16.16-beta-2e5e3db7",
23
+ "@abtnode/auth": "1.16.16-beta-2e5e3db7",
24
+ "@abtnode/certificate-manager": "1.16.16-beta-2e5e3db7",
25
+ "@abtnode/constant": "1.16.16-beta-2e5e3db7",
26
+ "@abtnode/cron": "1.16.16-beta-2e5e3db7",
27
+ "@abtnode/logger": "1.16.16-beta-2e5e3db7",
28
+ "@abtnode/models": "1.16.16-beta-2e5e3db7",
29
+ "@abtnode/queue": "1.16.16-beta-2e5e3db7",
30
+ "@abtnode/rbac": "1.16.16-beta-2e5e3db7",
31
+ "@abtnode/router-provider": "1.16.16-beta-2e5e3db7",
32
+ "@abtnode/static-server": "1.16.16-beta-2e5e3db7",
33
+ "@abtnode/timemachine": "1.16.16-beta-2e5e3db7",
34
+ "@abtnode/util": "1.16.16-beta-2e5e3db7",
35
35
  "@arcblock/did": "1.18.90",
36
36
  "@arcblock/did-auth": "1.18.90",
37
37
  "@arcblock/did-ext": "^1.18.90",
@@ -42,12 +42,12 @@
42
42
  "@arcblock/pm2-events": "^0.0.5",
43
43
  "@arcblock/validator": "^1.18.90",
44
44
  "@arcblock/vc": "1.18.90",
45
- "@blocklet/constant": "1.16.16-beta-d11cb031",
46
- "@blocklet/env": "1.16.16-beta-d11cb031",
47
- "@blocklet/meta": "1.16.16-beta-d11cb031",
48
- "@blocklet/resolver": "1.16.16-beta-d11cb031",
49
- "@blocklet/sdk": "1.16.16-beta-d11cb031",
50
- "@did-space/client": "^0.3.0",
45
+ "@blocklet/constant": "1.16.16-beta-2e5e3db7",
46
+ "@blocklet/env": "1.16.16-beta-2e5e3db7",
47
+ "@blocklet/meta": "1.16.16-beta-2e5e3db7",
48
+ "@blocklet/resolver": "1.16.16-beta-2e5e3db7",
49
+ "@blocklet/sdk": "1.16.16-beta-2e5e3db7",
50
+ "@did-space/client": "^0.3.4",
51
51
  "@fidm/x509": "^1.2.1",
52
52
  "@ocap/mcrypto": "1.18.90",
53
53
  "@ocap/util": "1.18.90",
@@ -100,5 +100,5 @@
100
100
  "jest": "^27.5.1",
101
101
  "unzipper": "^0.10.11"
102
102
  },
103
- "gitHead": "0591985c51137cdebf382a515b17bb4f8bf829a6"
103
+ "gitHead": "e0e3da338d7d35b994dd49015f4fae8ddf2410e0"
104
104
  }