@abtnode/core 1.16.28 → 1.16.29-beta-0070353c
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/lib/api/team.js
CHANGED
|
@@ -1323,8 +1323,8 @@ class TeamAPI extends EventEmitter {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
1325
1325
|
// eslint-disable-next-line no-unused-vars
|
|
1326
|
-
async addStore({ teamDid, url }, context) {
|
|
1327
|
-
logger.info('add
|
|
1326
|
+
async addStore({ teamDid, url, scope = '' }, context) {
|
|
1327
|
+
logger.info('add store', { teamDid, url, scope });
|
|
1328
1328
|
|
|
1329
1329
|
const urlObj = new URL(url);
|
|
1330
1330
|
let newUrl = urlObj.origin;
|
|
@@ -1352,7 +1352,7 @@ class TeamAPI extends EventEmitter {
|
|
|
1352
1352
|
throw new Error(`Blocklet registry already exist: ${sanitized}`);
|
|
1353
1353
|
}
|
|
1354
1354
|
|
|
1355
|
-
storeList.push({ ...store, url: sanitized, protected: false });
|
|
1355
|
+
storeList.push({ ...store, scope, url: sanitized, protected: false });
|
|
1356
1356
|
|
|
1357
1357
|
return this.teamManager.updateStoreList(teamDid, storeList);
|
|
1358
1358
|
}
|
|
@@ -375,8 +375,7 @@ const createRelease = async ({
|
|
|
375
375
|
meta.engine = {
|
|
376
376
|
interpreter: 'blocklet',
|
|
377
377
|
source: {
|
|
378
|
-
|
|
379
|
-
store: 'https://test.store.blocklet.dev',
|
|
378
|
+
store: 'https://store.blocklet.dev',
|
|
380
379
|
name: 'z2qa2dGC9EmsjB2WJtUcmuRWx43zTwPUZQF7g',
|
|
381
380
|
version: 'latest',
|
|
382
381
|
},
|
package/lib/states/audit-log.js
CHANGED
|
@@ -178,7 +178,7 @@ const getLogContent = async (action, args, context, result, info, node) => {
|
|
|
178
178
|
return `update component mount point to **${args.mountPoint}**`;
|
|
179
179
|
// store
|
|
180
180
|
case 'addBlockletStore':
|
|
181
|
-
return `added blocklet store ${args.url}`;
|
|
181
|
+
return `added blocklet store ${args.url}${args.scope ? ` for ${args.scope}` : ''}`;
|
|
182
182
|
case 'deleteBlockletStore':
|
|
183
183
|
return `removed blocklet store ${args.url}`;
|
|
184
184
|
case 'selectBlockletStore':
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.
|
|
6
|
+
"version": "1.16.29-beta-0070353c",
|
|
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.
|
|
23
|
-
"@abtnode/auth": "1.16.
|
|
24
|
-
"@abtnode/certificate-manager": "1.16.
|
|
25
|
-
"@abtnode/constant": "1.16.
|
|
26
|
-
"@abtnode/cron": "1.16.
|
|
27
|
-
"@abtnode/logger": "1.16.
|
|
28
|
-
"@abtnode/models": "1.16.
|
|
29
|
-
"@abtnode/queue": "1.16.
|
|
30
|
-
"@abtnode/rbac": "1.16.
|
|
31
|
-
"@abtnode/router-provider": "1.16.
|
|
32
|
-
"@abtnode/static-server": "1.16.
|
|
33
|
-
"@abtnode/timemachine": "1.16.
|
|
34
|
-
"@abtnode/util": "1.16.
|
|
22
|
+
"@abtnode/analytics": "1.16.29-beta-0070353c",
|
|
23
|
+
"@abtnode/auth": "1.16.29-beta-0070353c",
|
|
24
|
+
"@abtnode/certificate-manager": "1.16.29-beta-0070353c",
|
|
25
|
+
"@abtnode/constant": "1.16.29-beta-0070353c",
|
|
26
|
+
"@abtnode/cron": "1.16.29-beta-0070353c",
|
|
27
|
+
"@abtnode/logger": "1.16.29-beta-0070353c",
|
|
28
|
+
"@abtnode/models": "1.16.29-beta-0070353c",
|
|
29
|
+
"@abtnode/queue": "1.16.29-beta-0070353c",
|
|
30
|
+
"@abtnode/rbac": "1.16.29-beta-0070353c",
|
|
31
|
+
"@abtnode/router-provider": "1.16.29-beta-0070353c",
|
|
32
|
+
"@abtnode/static-server": "1.16.29-beta-0070353c",
|
|
33
|
+
"@abtnode/timemachine": "1.16.29-beta-0070353c",
|
|
34
|
+
"@abtnode/util": "1.16.29-beta-0070353c",
|
|
35
35
|
"@arcblock/did": "1.18.123",
|
|
36
36
|
"@arcblock/did-auth": "1.18.123",
|
|
37
37
|
"@arcblock/did-ext": "^1.18.123",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"@arcblock/pm2-events": "^0.0.5",
|
|
43
43
|
"@arcblock/validator": "^1.18.123",
|
|
44
44
|
"@arcblock/vc": "1.18.123",
|
|
45
|
-
"@blocklet/constant": "1.16.
|
|
46
|
-
"@blocklet/env": "1.16.
|
|
47
|
-
"@blocklet/meta": "1.16.
|
|
48
|
-
"@blocklet/resolver": "1.16.
|
|
49
|
-
"@blocklet/sdk": "1.16.
|
|
50
|
-
"@blocklet/store": "1.16.
|
|
45
|
+
"@blocklet/constant": "1.16.29-beta-0070353c",
|
|
46
|
+
"@blocklet/env": "1.16.29-beta-0070353c",
|
|
47
|
+
"@blocklet/meta": "1.16.29-beta-0070353c",
|
|
48
|
+
"@blocklet/resolver": "1.16.29-beta-0070353c",
|
|
49
|
+
"@blocklet/sdk": "1.16.29-beta-0070353c",
|
|
50
|
+
"@blocklet/store": "1.16.29-beta-0070353c",
|
|
51
51
|
"@did-space/client": "^0.5.1",
|
|
52
52
|
"@fidm/x509": "^1.2.1",
|
|
53
53
|
"@ocap/mcrypto": "1.18.123",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"jest": "^29.7.0",
|
|
104
104
|
"unzipper": "^0.10.11"
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "7e3562be3a8af477749420cc022938a1059484d4"
|
|
107
107
|
}
|