@abtnode/core 1.17.0-beta-20251105-095418-158ab2fa → 1.17.0-beta-20251106-075812-7c2fdd58
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.
|
@@ -853,7 +853,7 @@ class DiskBlockletManager extends BaseBlockletManager {
|
|
|
853
853
|
)
|
|
854
854
|
);
|
|
855
855
|
|
|
856
|
-
const rest = await pAll(tasks, { concurrency:
|
|
856
|
+
const rest = await pAll(tasks, { concurrency: 1 });
|
|
857
857
|
|
|
858
858
|
const nextBlocklet = await this.ensureBlocklet(did, { e2eMode });
|
|
859
859
|
|
|
@@ -955,7 +955,11 @@ class DiskBlockletManager extends BaseBlockletManager {
|
|
|
955
955
|
timeout: 5000,
|
|
956
956
|
componentDids: nonEntryComponentIds,
|
|
957
957
|
};
|
|
958
|
-
nonEntryComponentRes = await this._onCheckIfStarted(params, {
|
|
958
|
+
nonEntryComponentRes = await this._onCheckIfStarted(params, {
|
|
959
|
+
throwOnError,
|
|
960
|
+
skipRunningCheck: true,
|
|
961
|
+
needUpdateBlueStatus: false,
|
|
962
|
+
});
|
|
959
963
|
}
|
|
960
964
|
} catch (err) {
|
|
961
965
|
logger.error('Failed to categorize components into entry and non-entry types', { error: err.message });
|
|
@@ -3595,7 +3599,6 @@ class DiskBlockletManager extends BaseBlockletManager {
|
|
|
3595
3599
|
|
|
3596
3600
|
await this.configSynchronizer.throttledSyncAppConfig(nextBlocklet);
|
|
3597
3601
|
const componentsInfo = getComponentsInternalInfo(nextBlocklet);
|
|
3598
|
-
|
|
3599
3602
|
this.emit(BlockletInternalEvents.componentUpdated, {
|
|
3600
3603
|
appDid: blocklet.appDid,
|
|
3601
3604
|
components: componentsInfo,
|
|
@@ -39024,7 +39024,7 @@ module.exports = require("zlib");
|
|
|
39024
39024
|
/***/ ((module) => {
|
|
39025
39025
|
|
|
39026
39026
|
"use strict";
|
|
39027
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@abtnode/core","publishConfig":{"access":"public"},"version":"1.16.53","description":"","main":"lib/index.js","files":["lib"],"scripts":{"lint":"eslint tests lib --ignore-pattern \'tests/assets/*\'","lint:fix":"eslint --fix tests lib"},"keywords":[],"author":"wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)","license":"Apache-2.0","dependencies":{"@abtnode/analytics":"1.16.53","@abtnode/auth":"1.16.53","@abtnode/certificate-manager":"1.16.53","@abtnode/constant":"1.16.53","@abtnode/cron":"1.16.53","@abtnode/db-cache":"1.16.53","@abtnode/docker-utils":"1.16.53","@abtnode/logger":"1.16.53","@abtnode/models":"1.16.53","@abtnode/queue":"1.16.53","@abtnode/rbac":"1.16.53","@abtnode/router-provider":"1.16.53","@abtnode/static-server":"1.16.53","@abtnode/timemachine":"1.16.53","@abtnode/util":"1.16.53","@aigne/aigne-hub":"^0.10.4","@arcblock/did":"^1.27.2","@arcblock/did-connect-js":"^1.27.2","@arcblock/did-ext":"^1.27.2","@arcblock/did-motif":"^1.1.14","@arcblock/did-util":"^1.27.2","@arcblock/event-hub":"^1.27.2","@arcblock/jwt":"^1.27.2","@arcblock/pm2-events":"^0.0.5","@arcblock/validator":"^1.27.2","@arcblock/vc":"^1.27.2","@blocklet/constant":"1.16.53","@blocklet/did-space-js":"^1.2.1","@blocklet/env":"1.16.53","@blocklet/error":"^0.3.1","@blocklet/meta":"1.16.53","@blocklet/resolver":"1.16.53","@blocklet/sdk":"1.16.53","@blocklet/server-js":"1.16.53","@blocklet/store":"1.16.53","@blocklet/theme":"^3.1.
|
|
39027
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@abtnode/core","publishConfig":{"access":"public"},"version":"1.16.53","description":"","main":"lib/index.js","files":["lib"],"scripts":{"lint":"eslint tests lib --ignore-pattern \'tests/assets/*\'","lint:fix":"eslint --fix tests lib"},"keywords":[],"author":"wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)","license":"Apache-2.0","dependencies":{"@abtnode/analytics":"1.16.53","@abtnode/auth":"1.16.53","@abtnode/certificate-manager":"1.16.53","@abtnode/constant":"1.16.53","@abtnode/cron":"1.16.53","@abtnode/db-cache":"1.16.53","@abtnode/docker-utils":"1.16.53","@abtnode/logger":"1.16.53","@abtnode/models":"1.16.53","@abtnode/queue":"1.16.53","@abtnode/rbac":"1.16.53","@abtnode/router-provider":"1.16.53","@abtnode/static-server":"1.16.53","@abtnode/timemachine":"1.16.53","@abtnode/util":"1.16.53","@aigne/aigne-hub":"^0.10.4","@arcblock/did":"^1.27.2","@arcblock/did-connect-js":"^1.27.2","@arcblock/did-ext":"^1.27.2","@arcblock/did-motif":"^1.1.14","@arcblock/did-util":"^1.27.2","@arcblock/event-hub":"^1.27.2","@arcblock/jwt":"^1.27.2","@arcblock/pm2-events":"^0.0.5","@arcblock/validator":"^1.27.2","@arcblock/vc":"^1.27.2","@blocklet/constant":"1.16.53","@blocklet/did-space-js":"^1.2.1","@blocklet/env":"1.16.53","@blocklet/error":"^0.3.1","@blocklet/meta":"1.16.53","@blocklet/resolver":"1.16.53","@blocklet/sdk":"1.16.53","@blocklet/server-js":"1.16.53","@blocklet/store":"1.16.53","@blocklet/theme":"^3.1.59","@fidm/x509":"^1.2.1","@ocap/mcrypto":"^1.27.2","@ocap/util":"^1.27.2","@ocap/wallet":"^1.27.2","@slack/webhook":"^5.0.4","archiver":"^7.0.1","axios":"^1.7.9","axon":"^2.0.3","chalk":"^4.1.2","cross-spawn":"^7.0.3","dayjs":"^1.11.13","deep-diff":"^1.0.2","detect-port":"^1.5.1","envfile":"^7.1.0","escape-string-regexp":"^4.0.0","fast-glob":"^3.3.2","filesize":"^10.1.1","flat":"^5.0.2","fs-extra":"^11.2.0","get-port":"^5.1.1","hasha":"^5.2.2","is-base64":"^1.1.0","is-cidr":"4","is-ip":"3","is-url":"^1.2.4","joi":"17.12.2","joi-extension-semver":"^5.0.0","js-yaml":"^4.1.0","kill-port":"^2.0.1","lodash":"^4.17.21","node-stream-zip":"^1.15.0","p-all":"^3.0.0","p-limit":"^3.1.0","p-map":"^4.0.0","p-retry":"^4.6.2","p-wait-for":"^3.2.0","private-ip":"^2.3.4","rate-limiter-flexible":"^5.0.5","read-last-lines":"^1.8.0","semver":"^7.6.3","sequelize":"^6.35.0","shelljs":"^0.8.5","slugify":"^1.6.6","ssri":"^8.0.1","stream-throttle":"^0.1.3","stream-to-promise":"^3.0.0","systeminformation":"^5.23.3","tail":"^2.2.4","tar":"^6.1.11","transliteration":"^2.3.5","ua-parser-js":"^1.0.2","ufo":"^1.5.3","uuid":"^11.1.0","valid-url":"^1.0.9","which":"^2.0.2","xbytes":"^1.8.0"},"devDependencies":{"axios-mock-adapter":"^2.1.0","expand-tilde":"^2.0.2","express":"^4.18.2","unzipper":"^0.10.11"},"gitHead":"e5764f753181ed6a7c615cd4fc6682aacf0cb7cd"}');
|
|
39028
39028
|
|
|
39029
39029
|
/***/ }),
|
|
39030
39030
|
|
package/lib/router/manager.js
CHANGED
|
@@ -912,14 +912,16 @@ class RouterManager extends EventEmitter {
|
|
|
912
912
|
|
|
913
913
|
const { mountPoint } = component;
|
|
914
914
|
if (!mountPoint) {
|
|
915
|
-
|
|
915
|
+
// 这个不一定是错误,因为有些 blocklet 可能没有 mount point
|
|
916
|
+
logger.info(`mountPoint of child ${component.meta.name} does not exist`);
|
|
916
917
|
// eslint-disable-next-line no-continue
|
|
917
918
|
return;
|
|
918
919
|
}
|
|
919
920
|
|
|
920
921
|
const childWebInterface = findWebInterface(component);
|
|
921
922
|
if (!childWebInterface) {
|
|
922
|
-
|
|
923
|
+
// 这个不一定是错误,因为有些 blocklet 可能没有 web interface
|
|
924
|
+
logger.info(`web interface of child ${component.meta.name} does not exist`);
|
|
923
925
|
// eslint-disable-next-line no-continue
|
|
924
926
|
return;
|
|
925
927
|
}
|
package/lib/states/blocklet.js
CHANGED
|
@@ -573,7 +573,8 @@ class BlockletState extends BaseState {
|
|
|
573
573
|
throw new Error('Unsupported blocklet status');
|
|
574
574
|
}
|
|
575
575
|
|
|
576
|
-
|
|
576
|
+
const lockName = `set-blocklet-status-${did}`;
|
|
577
|
+
await lock.acquire(lockName);
|
|
577
578
|
try {
|
|
578
579
|
const doc = await this.getBlocklet(did);
|
|
579
580
|
|
|
@@ -624,7 +625,7 @@ class BlockletState extends BaseState {
|
|
|
624
625
|
const res = await this.updateBlocklet(did, updateData);
|
|
625
626
|
return res;
|
|
626
627
|
} finally {
|
|
627
|
-
await lock.releaseLock(
|
|
628
|
+
await lock.releaseLock(lockName);
|
|
628
629
|
}
|
|
629
630
|
}
|
|
630
631
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.17.0-beta-
|
|
6
|
+
"version": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -17,21 +17,21 @@
|
|
|
17
17
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
18
18
|
"license": "Apache-2.0",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@abtnode/analytics": "1.17.0-beta-
|
|
21
|
-
"@abtnode/auth": "1.17.0-beta-
|
|
22
|
-
"@abtnode/certificate-manager": "1.17.0-beta-
|
|
23
|
-
"@abtnode/constant": "1.17.0-beta-
|
|
24
|
-
"@abtnode/cron": "1.17.0-beta-
|
|
25
|
-
"@abtnode/db-cache": "1.17.0-beta-
|
|
26
|
-
"@abtnode/docker-utils": "1.17.0-beta-
|
|
27
|
-
"@abtnode/logger": "1.17.0-beta-
|
|
28
|
-
"@abtnode/models": "1.17.0-beta-
|
|
29
|
-
"@abtnode/queue": "1.17.0-beta-
|
|
30
|
-
"@abtnode/rbac": "1.17.0-beta-
|
|
31
|
-
"@abtnode/router-provider": "1.17.0-beta-
|
|
32
|
-
"@abtnode/static-server": "1.17.0-beta-
|
|
33
|
-
"@abtnode/timemachine": "1.17.0-beta-
|
|
34
|
-
"@abtnode/util": "1.17.0-beta-
|
|
20
|
+
"@abtnode/analytics": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
21
|
+
"@abtnode/auth": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
22
|
+
"@abtnode/certificate-manager": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
23
|
+
"@abtnode/constant": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
24
|
+
"@abtnode/cron": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
25
|
+
"@abtnode/db-cache": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
26
|
+
"@abtnode/docker-utils": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
27
|
+
"@abtnode/logger": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
28
|
+
"@abtnode/models": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
29
|
+
"@abtnode/queue": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
30
|
+
"@abtnode/rbac": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
31
|
+
"@abtnode/router-provider": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
32
|
+
"@abtnode/static-server": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
33
|
+
"@abtnode/timemachine": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
34
|
+
"@abtnode/util": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
35
35
|
"@aigne/aigne-hub": "^0.10.4",
|
|
36
36
|
"@arcblock/did": "^1.27.2",
|
|
37
37
|
"@arcblock/did-connect-js": "^1.27.2",
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
"@arcblock/pm2-events": "^0.0.5",
|
|
44
44
|
"@arcblock/validator": "^1.27.2",
|
|
45
45
|
"@arcblock/vc": "^1.27.2",
|
|
46
|
-
"@blocklet/constant": "1.17.0-beta-
|
|
46
|
+
"@blocklet/constant": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
47
47
|
"@blocklet/did-space-js": "^1.2.1",
|
|
48
|
-
"@blocklet/env": "1.17.0-beta-
|
|
48
|
+
"@blocklet/env": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
49
49
|
"@blocklet/error": "^0.3.1",
|
|
50
|
-
"@blocklet/meta": "1.17.0-beta-
|
|
51
|
-
"@blocklet/resolver": "1.17.0-beta-
|
|
52
|
-
"@blocklet/sdk": "1.17.0-beta-
|
|
53
|
-
"@blocklet/server-js": "1.17.0-beta-
|
|
54
|
-
"@blocklet/store": "1.17.0-beta-
|
|
55
|
-
"@blocklet/theme": "^3.1.
|
|
50
|
+
"@blocklet/meta": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
51
|
+
"@blocklet/resolver": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
52
|
+
"@blocklet/sdk": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
53
|
+
"@blocklet/server-js": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
54
|
+
"@blocklet/store": "1.17.0-beta-20251106-075812-7c2fdd58",
|
|
55
|
+
"@blocklet/theme": "^3.1.59",
|
|
56
56
|
"@fidm/x509": "^1.2.1",
|
|
57
57
|
"@ocap/mcrypto": "^1.27.2",
|
|
58
58
|
"@ocap/util": "^1.27.2",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"express": "^4.18.2",
|
|
117
117
|
"unzipper": "^0.10.11"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "3678dac931077cd00ca1ee043c8334caa3193aee"
|
|
120
120
|
}
|