@blocklet/cli 1.17.6-beta-20251217-011553-818fcc8e → 1.17.6-beta-20251217-144034-62fafb94
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const { toAddress } = require('@ocap/util');
|
|
2
|
-
const {
|
|
2
|
+
const { publishDidDocument } = require('@abtnode/core/lib/util/blocklet');
|
|
3
3
|
|
|
4
4
|
const { getNode } = require('../../node');
|
|
5
5
|
const debug = require('../../debug')('document');
|
|
@@ -19,10 +19,17 @@ const update = async (appId) => {
|
|
|
19
19
|
process.exit(1);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
await wrapSpinner(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
await wrapSpinner(
|
|
23
|
+
'Updating...',
|
|
24
|
+
async () => {
|
|
25
|
+
const ownerInfo = await node.getUser({ teamDid: blocklet.appPid, user: { did: blocklet.settings.owner.did } });
|
|
26
|
+
return publishDidDocument({ blocklet, ownerInfo, nodeInfo });
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
throwOnError: true,
|
|
30
|
+
printErrorFn: printError,
|
|
31
|
+
}
|
|
32
|
+
);
|
|
26
33
|
|
|
27
34
|
printSuccess(`Update did document for ${appId} successfully!`);
|
|
28
35
|
process.exit(0);
|
|
@@ -643,6 +643,7 @@ const exec = async ({ workingDir, config, dataDir, mode, updateDb, forceIntranet
|
|
|
643
643
|
ABT_NODE_ENSURE_RUNNING_HIGH_LOAD_CPU: process.env.ABT_NODE_ENSURE_RUNNING_HIGH_LOAD_CPU,
|
|
644
644
|
ABT_NODE_ENSURE_RUNNING_HIGH_LOAD_MEMORY: process.env.ABT_NODE_ENSURE_RUNNING_HIGH_LOAD_MEMORY,
|
|
645
645
|
ABT_NODE_ENSURE_RUNNING_HIGH_LOAD_DISK: process.env.ABT_NODE_ENSURE_RUNNING_HIGH_LOAD_DISK,
|
|
646
|
+
ABT_NODE_REDIRECTION_SERVICE_PORTS: process.env.ABT_NODE_REDIRECTION_SERVICE_PORTS,
|
|
646
647
|
...(config.env || {}),
|
|
647
648
|
};
|
|
648
649
|
if (process.env.DEBUG) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/cli",
|
|
3
|
-
"version": "1.17.6-beta-20251217-
|
|
3
|
+
"version": "1.17.6-beta-20251217-144034-62fafb94",
|
|
4
4
|
"description": "Command line tools to manage Blocklet Server",
|
|
5
5
|
"homepage": "https://www.arcblock.io/docs/blocklet-cli",
|
|
6
6
|
"bin": {
|
|
@@ -33,28 +33,28 @@
|
|
|
33
33
|
"url": "https://github.com/ArcBlock/blocklet-server/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@abtnode/blocklet-services": "1.17.6-beta-20251217-
|
|
37
|
-
"@abtnode/constant": "1.17.6-beta-20251217-
|
|
38
|
-
"@abtnode/core": "1.17.6-beta-20251217-
|
|
39
|
-
"@abtnode/db-cache": "1.17.6-beta-20251217-
|
|
40
|
-
"@abtnode/logger": "1.17.6-beta-20251217-
|
|
41
|
-
"@abtnode/models": "1.17.6-beta-20251217-
|
|
42
|
-
"@abtnode/router-provider": "1.17.6-beta-20251217-
|
|
43
|
-
"@abtnode/util": "1.17.6-beta-20251217-
|
|
44
|
-
"@abtnode/webapp": "1.17.6-beta-20251217-
|
|
36
|
+
"@abtnode/blocklet-services": "1.17.6-beta-20251217-144034-62fafb94",
|
|
37
|
+
"@abtnode/constant": "1.17.6-beta-20251217-144034-62fafb94",
|
|
38
|
+
"@abtnode/core": "1.17.6-beta-20251217-144034-62fafb94",
|
|
39
|
+
"@abtnode/db-cache": "1.17.6-beta-20251217-144034-62fafb94",
|
|
40
|
+
"@abtnode/logger": "1.17.6-beta-20251217-144034-62fafb94",
|
|
41
|
+
"@abtnode/models": "1.17.6-beta-20251217-144034-62fafb94",
|
|
42
|
+
"@abtnode/router-provider": "1.17.6-beta-20251217-144034-62fafb94",
|
|
43
|
+
"@abtnode/util": "1.17.6-beta-20251217-144034-62fafb94",
|
|
44
|
+
"@abtnode/webapp": "1.17.6-beta-20251217-144034-62fafb94",
|
|
45
45
|
"@arcblock/did": "^1.27.15",
|
|
46
46
|
"@arcblock/event-hub": "^1.27.15",
|
|
47
47
|
"@arcblock/ipfs-only-hash": "^0.0.2",
|
|
48
48
|
"@arcblock/jwt": "^1.27.15",
|
|
49
49
|
"@arcblock/ws": "^1.27.15",
|
|
50
|
-
"@blocklet/constant": "1.17.6-beta-20251217-
|
|
50
|
+
"@blocklet/constant": "1.17.6-beta-20251217-144034-62fafb94",
|
|
51
51
|
"@blocklet/error": "^0.3.5",
|
|
52
52
|
"@blocklet/form-collector": "^0.1.8",
|
|
53
|
-
"@blocklet/images": "1.17.6-beta-20251217-
|
|
54
|
-
"@blocklet/meta": "1.17.6-beta-20251217-
|
|
55
|
-
"@blocklet/resolver": "1.17.6-beta-20251217-
|
|
56
|
-
"@blocklet/server-js": "1.17.6-beta-20251217-
|
|
57
|
-
"@blocklet/store": "1.17.6-beta-20251217-
|
|
53
|
+
"@blocklet/images": "1.17.6-beta-20251217-144034-62fafb94",
|
|
54
|
+
"@blocklet/meta": "1.17.6-beta-20251217-144034-62fafb94",
|
|
55
|
+
"@blocklet/resolver": "1.17.6-beta-20251217-144034-62fafb94",
|
|
56
|
+
"@blocklet/server-js": "1.17.6-beta-20251217-144034-62fafb94",
|
|
57
|
+
"@blocklet/store": "1.17.6-beta-20251217-144034-62fafb94",
|
|
58
58
|
"@blocklet/theme-builder": "^0.4.8",
|
|
59
59
|
"@ocap/client": "^1.27.15",
|
|
60
60
|
"@ocap/mcrypto": "^1.27.15",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"engines": {
|
|
154
154
|
"node": ">=14"
|
|
155
155
|
},
|
|
156
|
-
"gitHead": "
|
|
156
|
+
"gitHead": "9f47bf4e66af87c562f846e5470f45491506ab36",
|
|
157
157
|
"devDependencies": {
|
|
158
158
|
"@types/fs-extra": "^11.0.4"
|
|
159
159
|
}
|