@abtnode/core 1.17.0-beta-20251104-112713-e947b159 → 1.17.0-beta-20251105-000053-53e6e3e9
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/router/helper.js +6 -0
- package/package.json +24 -24
package/lib/router/helper.js
CHANGED
|
@@ -2084,7 +2084,13 @@ module.exports = function getRouterHelpers({
|
|
|
2084
2084
|
};
|
|
2085
2085
|
|
|
2086
2086
|
const ensureBlockletHasMultipleInterfaces = (blocklet, componentDids) => {
|
|
2087
|
+
if (!componentDids?.length) {
|
|
2088
|
+
return false;
|
|
2089
|
+
}
|
|
2087
2090
|
for (const child of blocklet.children) {
|
|
2091
|
+
if (!child?.meta) {
|
|
2092
|
+
continue;
|
|
2093
|
+
}
|
|
2088
2094
|
const interfaces = (child.meta.interfaces || []).filter((x) => !!x.port);
|
|
2089
2095
|
if (componentDids.includes(child.meta.did) && interfaces.length > 1) {
|
|
2090
2096
|
return true;
|
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-20251105-000053-53e6e3e9",
|
|
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-20251105-000053-53e6e3e9",
|
|
21
|
+
"@abtnode/auth": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
22
|
+
"@abtnode/certificate-manager": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
23
|
+
"@abtnode/constant": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
24
|
+
"@abtnode/cron": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
25
|
+
"@abtnode/db-cache": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
26
|
+
"@abtnode/docker-utils": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
27
|
+
"@abtnode/logger": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
28
|
+
"@abtnode/models": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
29
|
+
"@abtnode/queue": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
30
|
+
"@abtnode/rbac": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
31
|
+
"@abtnode/router-provider": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
32
|
+
"@abtnode/static-server": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
33
|
+
"@abtnode/timemachine": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
34
|
+
"@abtnode/util": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
35
35
|
"@aigne/aigne-hub": "^0.10.4",
|
|
36
36
|
"@arcblock/did": "^1.27.1",
|
|
37
37
|
"@arcblock/did-connect-js": "^1.27.1",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"@arcblock/pm2-events": "^0.0.5",
|
|
44
44
|
"@arcblock/validator": "^1.27.1",
|
|
45
45
|
"@arcblock/vc": "^1.27.1",
|
|
46
|
-
"@blocklet/constant": "1.17.0-beta-
|
|
46
|
+
"@blocklet/constant": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
47
47
|
"@blocklet/did-space-js": "^1.2.0",
|
|
48
|
-
"@blocklet/env": "1.17.0-beta-
|
|
48
|
+
"@blocklet/env": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
49
49
|
"@blocklet/error": "^0.3.0",
|
|
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-
|
|
50
|
+
"@blocklet/meta": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
51
|
+
"@blocklet/resolver": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
52
|
+
"@blocklet/sdk": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
53
|
+
"@blocklet/server-js": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
54
|
+
"@blocklet/store": "1.17.0-beta-20251105-000053-53e6e3e9",
|
|
55
55
|
"@blocklet/theme": "^3.1.54",
|
|
56
56
|
"@fidm/x509": "^1.2.1",
|
|
57
57
|
"@ocap/mcrypto": "^1.27.1",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"express": "^4.18.2",
|
|
117
117
|
"unzipper": "^0.10.11"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "61a1b994cca350a1c7cd12debc39416ac3af1a5d"
|
|
120
120
|
}
|