@abtnode/core 1.16.15-beta-e3a24907 → 1.16.15-beta-18951729

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.
@@ -1208,7 +1208,7 @@ class DiskBlockletManager extends BaseBlockletManager {
1208
1208
 
1209
1209
  if (!childDid && !newConfigs.some((x) => x.key === BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_SK)) {
1210
1210
  this.emit(BlockletInternalEvents.appConfigChanged, {
1211
- appDid: newState.appDid,
1211
+ appDid: rootDid,
1212
1212
  configs: newConfigs.map((x) => ({ key: x.key, value: x.value })),
1213
1213
  });
1214
1214
  }
@@ -10,10 +10,10 @@ const DOMAIN_SCHEMA = Joi.string().domain({ minDomainSegments: 1, tlds: false })
10
10
 
11
11
  const domainMessages = {
12
12
  en: {
13
- 'alternatives.match': 'Illegal domain, please enter a domain like arcblock, arcblock.io, *.arcblock.io',
13
+ 'alternatives.match': 'Invalid domain name, please enter a valid domain name, e.g. my-domain, my-domain.com',
14
14
  },
15
15
  zh: {
16
- 'alternatives.match': '不合法的域名, 请输入像 arcblock, arcblock.io, *.arcblock.io 这样的域名',
16
+ 'alternatives.match': '无效的域名, 请输入正确的域名,比如 my-domain, my-domain.com',
17
17
  },
18
18
  };
19
19
 
@@ -116,6 +116,7 @@ const addDomainAlias = Joi.alternatives()
116
116
  DOMAIN_SCHEMA,
117
117
  Joi.string().regex(WILDCARD_DOMAIN_REGEX) // 这种其实是一种特殊的 tld
118
118
  )
119
+ .messages(domainMessages)
119
120
  .required();
120
121
 
121
122
  const domainAliases = Joi.array().items(
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.15-beta-e3a24907",
6
+ "version": "1.16.15-beta-18951729",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,19 +19,19 @@
19
19
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@abtnode/analytics": "1.16.15-beta-e3a24907",
23
- "@abtnode/auth": "1.16.15-beta-e3a24907",
24
- "@abtnode/certificate-manager": "1.16.15-beta-e3a24907",
25
- "@abtnode/constant": "1.16.15-beta-e3a24907",
26
- "@abtnode/cron": "1.16.15-beta-e3a24907",
27
- "@abtnode/logger": "1.16.15-beta-e3a24907",
28
- "@abtnode/models": "1.16.15-beta-e3a24907",
29
- "@abtnode/queue": "1.16.15-beta-e3a24907",
30
- "@abtnode/rbac": "1.16.15-beta-e3a24907",
31
- "@abtnode/router-provider": "1.16.15-beta-e3a24907",
32
- "@abtnode/static-server": "1.16.15-beta-e3a24907",
33
- "@abtnode/timemachine": "1.16.15-beta-e3a24907",
34
- "@abtnode/util": "1.16.15-beta-e3a24907",
22
+ "@abtnode/analytics": "1.16.15-beta-18951729",
23
+ "@abtnode/auth": "1.16.15-beta-18951729",
24
+ "@abtnode/certificate-manager": "1.16.15-beta-18951729",
25
+ "@abtnode/constant": "1.16.15-beta-18951729",
26
+ "@abtnode/cron": "1.16.15-beta-18951729",
27
+ "@abtnode/logger": "1.16.15-beta-18951729",
28
+ "@abtnode/models": "1.16.15-beta-18951729",
29
+ "@abtnode/queue": "1.16.15-beta-18951729",
30
+ "@abtnode/rbac": "1.16.15-beta-18951729",
31
+ "@abtnode/router-provider": "1.16.15-beta-18951729",
32
+ "@abtnode/static-server": "1.16.15-beta-18951729",
33
+ "@abtnode/timemachine": "1.16.15-beta-18951729",
34
+ "@abtnode/util": "1.16.15-beta-18951729",
35
35
  "@arcblock/did": "1.18.89",
36
36
  "@arcblock/did-auth": "1.18.89",
37
37
  "@arcblock/did-ext": "^1.18.89",
@@ -42,10 +42,10 @@
42
42
  "@arcblock/pm2-events": "^0.0.5",
43
43
  "@arcblock/validator": "^1.18.89",
44
44
  "@arcblock/vc": "1.18.89",
45
- "@blocklet/constant": "1.16.15-beta-e3a24907",
46
- "@blocklet/meta": "1.16.15-beta-e3a24907",
47
- "@blocklet/resolver": "1.16.15-beta-e3a24907",
48
- "@blocklet/sdk": "1.16.15-beta-e3a24907",
45
+ "@blocklet/constant": "1.16.15-beta-18951729",
46
+ "@blocklet/meta": "1.16.15-beta-18951729",
47
+ "@blocklet/resolver": "1.16.15-beta-18951729",
48
+ "@blocklet/sdk": "1.16.15-beta-18951729",
49
49
  "@did-space/client": "^0.2.141",
50
50
  "@fidm/x509": "^1.2.1",
51
51
  "@ocap/mcrypto": "1.18.89",
@@ -98,5 +98,5 @@
98
98
  "jest": "^27.5.1",
99
99
  "unzipper": "^0.10.11"
100
100
  },
101
- "gitHead": "b87c810902571b8cdb8f12ef497286b1549888e9"
101
+ "gitHead": "6ba076bcc138a3b9948771deae0f723a5104f70f"
102
102
  }