@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.
@@ -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((item) => item.value.endsWith(nodeInfo.didDomain));
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 = domainAliases.value;
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.50",
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.50",
23
- "@abtnode/certificate-manager": "1.8.50",
24
- "@abtnode/constant": "1.8.50",
25
- "@abtnode/cron": "1.8.50",
26
- "@abtnode/db": "1.8.50",
27
- "@abtnode/logger": "1.8.50",
28
- "@abtnode/queue": "1.8.50",
29
- "@abtnode/rbac": "1.8.50",
30
- "@abtnode/router-provider": "1.8.50",
31
- "@abtnode/static-server": "1.8.50",
32
- "@abtnode/timemachine": "1.8.50",
33
- "@abtnode/util": "1.8.50",
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.50",
42
- "@blocklet/meta": "1.8.50",
43
- "@blocklet/sdk": "1.8.50",
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": "7f3ccb957659a6791b93b6fc4fbcbbd2c42f1efd"
85
+ "gitHead": "30e929da51edaa22104c4de4e3d1661d790c578c"
86
86
  }