@abtnode/core 1.8.50 → 1.8.51
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/util/blocklet.js +5 -2
- package/package.json +17 -17
package/lib/util/blocklet.js
CHANGED
|
@@ -274,9 +274,12 @@ const getAppSystemEnvironments = (blocklet, nodeInfo) => {
|
|
|
274
274
|
let appUrl = '';
|
|
275
275
|
|
|
276
276
|
const domainAliases = get(blocklet, 'site.domainAliases') || [];
|
|
277
|
-
const didDomainAlias = domainAliases.find(
|
|
277
|
+
const didDomainAlias = domainAliases.find(
|
|
278
|
+
(item) => item.value.endsWith(nodeInfo.didDomain) || item.value.endsWith('did.staging.arcblock.io') // did.staging.arcblock.io 是旧 did domain, 但主要存在于比较旧的节点中, 需要做兼容
|
|
279
|
+
);
|
|
280
|
+
|
|
278
281
|
if (didDomainAlias) {
|
|
279
|
-
appUrl =
|
|
282
|
+
appUrl = didDomainAlias.value;
|
|
280
283
|
} else {
|
|
281
284
|
appUrl = `https://${getDidDomainForBlocklet({
|
|
282
285
|
blockletAppDid: appId,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.51",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@abtnode/auth": "1.8.
|
|
23
|
-
"@abtnode/certificate-manager": "1.8.
|
|
24
|
-
"@abtnode/constant": "1.8.
|
|
25
|
-
"@abtnode/cron": "1.8.
|
|
26
|
-
"@abtnode/db": "1.8.
|
|
27
|
-
"@abtnode/logger": "1.8.
|
|
28
|
-
"@abtnode/queue": "1.8.
|
|
29
|
-
"@abtnode/rbac": "1.8.
|
|
30
|
-
"@abtnode/router-provider": "1.8.
|
|
31
|
-
"@abtnode/static-server": "1.8.
|
|
32
|
-
"@abtnode/timemachine": "1.8.
|
|
33
|
-
"@abtnode/util": "1.8.
|
|
22
|
+
"@abtnode/auth": "1.8.51",
|
|
23
|
+
"@abtnode/certificate-manager": "1.8.51",
|
|
24
|
+
"@abtnode/constant": "1.8.51",
|
|
25
|
+
"@abtnode/cron": "1.8.51",
|
|
26
|
+
"@abtnode/db": "1.8.51",
|
|
27
|
+
"@abtnode/logger": "1.8.51",
|
|
28
|
+
"@abtnode/queue": "1.8.51",
|
|
29
|
+
"@abtnode/rbac": "1.8.51",
|
|
30
|
+
"@abtnode/router-provider": "1.8.51",
|
|
31
|
+
"@abtnode/static-server": "1.8.51",
|
|
32
|
+
"@abtnode/timemachine": "1.8.51",
|
|
33
|
+
"@abtnode/util": "1.8.51",
|
|
34
34
|
"@arcblock/did": "1.18.32",
|
|
35
35
|
"@arcblock/did-motif": "^1.1.10",
|
|
36
36
|
"@arcblock/did-util": "1.18.32",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"@arcblock/jwt": "^1.18.32",
|
|
39
39
|
"@arcblock/pm2-events": "^0.0.5",
|
|
40
40
|
"@arcblock/vc": "1.18.32",
|
|
41
|
-
"@blocklet/constant": "1.8.
|
|
42
|
-
"@blocklet/meta": "1.8.
|
|
43
|
-
"@blocklet/sdk": "1.8.
|
|
41
|
+
"@blocklet/constant": "1.8.51",
|
|
42
|
+
"@blocklet/meta": "1.8.51",
|
|
43
|
+
"@blocklet/sdk": "1.8.51",
|
|
44
44
|
"@fidm/x509": "^1.2.1",
|
|
45
45
|
"@ocap/mcrypto": "1.18.32",
|
|
46
46
|
"@ocap/util": "1.18.32",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"express": "^4.18.2",
|
|
83
83
|
"jest": "^27.5.1"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "30e929da51edaa22104c4de4e3d1661d790c578c"
|
|
86
86
|
}
|