@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.
- package/lib/blocklet/manager/disk.js +1 -1
- package/lib/validators/router.js +3 -2
- package/package.json +19 -19
|
@@ -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:
|
|
1211
|
+
appDid: rootDid,
|
|
1212
1212
|
configs: newConfigs.map((x) => ({ key: x.key, value: x.value })),
|
|
1213
1213
|
});
|
|
1214
1214
|
}
|
package/lib/validators/router.js
CHANGED
|
@@ -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': '
|
|
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': '
|
|
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-
|
|
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-
|
|
23
|
-
"@abtnode/auth": "1.16.15-beta-
|
|
24
|
-
"@abtnode/certificate-manager": "1.16.15-beta-
|
|
25
|
-
"@abtnode/constant": "1.16.15-beta-
|
|
26
|
-
"@abtnode/cron": "1.16.15-beta-
|
|
27
|
-
"@abtnode/logger": "1.16.15-beta-
|
|
28
|
-
"@abtnode/models": "1.16.15-beta-
|
|
29
|
-
"@abtnode/queue": "1.16.15-beta-
|
|
30
|
-
"@abtnode/rbac": "1.16.15-beta-
|
|
31
|
-
"@abtnode/router-provider": "1.16.15-beta-
|
|
32
|
-
"@abtnode/static-server": "1.16.15-beta-
|
|
33
|
-
"@abtnode/timemachine": "1.16.15-beta-
|
|
34
|
-
"@abtnode/util": "1.16.15-beta-
|
|
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-
|
|
46
|
-
"@blocklet/meta": "1.16.15-beta-
|
|
47
|
-
"@blocklet/resolver": "1.16.15-beta-
|
|
48
|
-
"@blocklet/sdk": "1.16.15-beta-
|
|
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": "
|
|
101
|
+
"gitHead": "6ba076bcc138a3b9948771deae0f723a5104f70f"
|
|
102
102
|
}
|