@blocklet/cli 1.16.45-beta-20250625-103530-e1f5b0b8 → 1.16.45-beta-20250627-075343-5af3ad9a
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/process/daemon.js +6 -0
- package/package.json +17 -17
package/lib/process/daemon.js
CHANGED
|
@@ -66,6 +66,12 @@ node.onReady(async () => {
|
|
|
66
66
|
logger.info('Blocklet Server Daemon instance was created');
|
|
67
67
|
const info = await node.getNodeInfo();
|
|
68
68
|
|
|
69
|
+
if (info.registerUrl && !info.registerInfo) {
|
|
70
|
+
node.updateNodeInfo({ registerUrl: info.registerUrl }).catch((err) => {
|
|
71
|
+
logger.error(`Failed to update launcher info from ${info.registerUrl}`, err);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
|
|
69
75
|
await node.handleRouting(info);
|
|
70
76
|
logger.info('Service gateway was restarted');
|
|
71
77
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/cli",
|
|
3
|
-
"version": "1.16.45-beta-
|
|
3
|
+
"version": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
4
4
|
"description": "Command line tools to manage Blocklet Server",
|
|
5
5
|
"homepage": "https://github.com/ArcBlock/blocklet-server#readme",
|
|
6
6
|
"bin": {
|
|
@@ -35,28 +35,28 @@
|
|
|
35
35
|
"url": "https://github.com/ArcBlock/blocklet-server/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@abtnode/blocklet-services": "1.16.45-beta-
|
|
39
|
-
"@abtnode/client": "1.16.45-beta-
|
|
40
|
-
"@abtnode/constant": "1.16.45-beta-
|
|
41
|
-
"@abtnode/core": "1.16.45-beta-
|
|
42
|
-
"@abtnode/db-cache": "1.16.45-beta-
|
|
43
|
-
"@abtnode/logger": "1.16.45-beta-
|
|
44
|
-
"@abtnode/router-provider": "1.16.45-beta-
|
|
45
|
-
"@abtnode/util": "1.16.45-beta-
|
|
46
|
-
"@abtnode/webapp": "1.16.45-beta-
|
|
38
|
+
"@abtnode/blocklet-services": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
39
|
+
"@abtnode/client": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
40
|
+
"@abtnode/constant": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
41
|
+
"@abtnode/core": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
42
|
+
"@abtnode/db-cache": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
43
|
+
"@abtnode/logger": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
44
|
+
"@abtnode/router-provider": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
45
|
+
"@abtnode/util": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
46
|
+
"@abtnode/webapp": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
47
47
|
"@arcblock/did": "1.20.14",
|
|
48
48
|
"@arcblock/event-hub": "1.20.14",
|
|
49
49
|
"@arcblock/ipfs-only-hash": "^0.0.2",
|
|
50
50
|
"@arcblock/jwt": "1.20.14",
|
|
51
51
|
"@arcblock/ws": "1.20.14",
|
|
52
|
-
"@blocklet/constant": "1.16.45-beta-
|
|
52
|
+
"@blocklet/constant": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
53
53
|
"@blocklet/error": "^0.2.5",
|
|
54
54
|
"@blocklet/form-collector": "^0.1.8",
|
|
55
|
-
"@blocklet/images": "1.16.45-beta-
|
|
56
|
-
"@blocklet/meta": "1.16.45-beta-
|
|
57
|
-
"@blocklet/resolver": "1.16.45-beta-
|
|
58
|
-
"@blocklet/store": "1.16.45-beta-
|
|
59
|
-
"@blocklet/theme-builder": "^0.
|
|
55
|
+
"@blocklet/images": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
56
|
+
"@blocklet/meta": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
57
|
+
"@blocklet/resolver": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
58
|
+
"@blocklet/store": "1.16.45-beta-20250627-075343-5af3ad9a",
|
|
59
|
+
"@blocklet/theme-builder": "^0.2.0",
|
|
60
60
|
"@ocap/client": "1.20.14",
|
|
61
61
|
"@ocap/mcrypto": "1.20.14",
|
|
62
62
|
"@ocap/util": "1.20.14",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"engines": {
|
|
154
154
|
"node": ">=14"
|
|
155
155
|
},
|
|
156
|
-
"gitHead": "
|
|
156
|
+
"gitHead": "9a6e725b4831161020f627cddbb36173d2348306",
|
|
157
157
|
"devDependencies": {
|
|
158
158
|
"@types/fs-extra": "^11.0.4",
|
|
159
159
|
"@types/jest": "^29.5.13"
|