@abtnode/core 1.16.20-beta-bb1cd034 → 1.16.20-beta-e32e39d7
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 +0 -7
- package/lib/cert.js +3 -1
- package/package.json +21 -21
|
@@ -192,7 +192,6 @@ const {
|
|
|
192
192
|
updateSelectedResources,
|
|
193
193
|
} = require('../project');
|
|
194
194
|
const { callFederated } = require('../../util/federated');
|
|
195
|
-
const { isDnsIpMappingCorrect } = require('../../util/ip');
|
|
196
195
|
|
|
197
196
|
const { formatEnvironments, getBlockletMeta, validateOwner, isCLI } = util;
|
|
198
197
|
|
|
@@ -2403,12 +2402,6 @@ class DiskBlockletManager extends BaseBlockletManager {
|
|
|
2403
2402
|
return;
|
|
2404
2403
|
}
|
|
2405
2404
|
|
|
2406
|
-
const correct = await isDnsIpMappingCorrect(blocklet.meta.did); // dns/ip 映射错误就跳过本次备份
|
|
2407
|
-
if (!correct) {
|
|
2408
|
-
logger.warn('Skipping automatic backups due to dns mapping errors', { appPid });
|
|
2409
|
-
return;
|
|
2410
|
-
}
|
|
2411
|
-
|
|
2412
2405
|
const {
|
|
2413
2406
|
user: { did: userDid, locale },
|
|
2414
2407
|
} = context;
|
package/lib/cert.js
CHANGED
|
@@ -172,11 +172,13 @@ class Cert extends EventEmitter {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
onCertError(cert) {
|
|
175
|
+
cert.message = cert.error?.message;
|
|
176
|
+
|
|
175
177
|
this.emitEvent({ blocklet: BlockletEvents.certError, server: EVENTS.CERT_ERROR }, cert);
|
|
176
178
|
|
|
177
179
|
this.states.notification.create({
|
|
178
180
|
title: 'Certificate Issue Failed',
|
|
179
|
-
description: `Failed to issue certificate for ${cert.domain}`,
|
|
181
|
+
description: `Failed to issue certificate for ${cert.domain}: ${cert.message}`,
|
|
180
182
|
severity: 'error',
|
|
181
183
|
entityType: 'certificate',
|
|
182
184
|
entityId: cert.id,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.20-beta-
|
|
6
|
+
"version": "1.16.20-beta-e32e39d7",
|
|
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.20-beta-
|
|
23
|
-
"@abtnode/auth": "1.16.20-beta-
|
|
24
|
-
"@abtnode/certificate-manager": "1.16.20-beta-
|
|
25
|
-
"@abtnode/constant": "1.16.20-beta-
|
|
26
|
-
"@abtnode/cron": "1.16.20-beta-
|
|
27
|
-
"@abtnode/logger": "1.16.20-beta-
|
|
28
|
-
"@abtnode/models": "1.16.20-beta-
|
|
29
|
-
"@abtnode/queue": "1.16.20-beta-
|
|
30
|
-
"@abtnode/rbac": "1.16.20-beta-
|
|
31
|
-
"@abtnode/router-provider": "1.16.20-beta-
|
|
32
|
-
"@abtnode/static-server": "1.16.20-beta-
|
|
33
|
-
"@abtnode/timemachine": "1.16.20-beta-
|
|
34
|
-
"@abtnode/util": "1.16.20-beta-
|
|
22
|
+
"@abtnode/analytics": "1.16.20-beta-e32e39d7",
|
|
23
|
+
"@abtnode/auth": "1.16.20-beta-e32e39d7",
|
|
24
|
+
"@abtnode/certificate-manager": "1.16.20-beta-e32e39d7",
|
|
25
|
+
"@abtnode/constant": "1.16.20-beta-e32e39d7",
|
|
26
|
+
"@abtnode/cron": "1.16.20-beta-e32e39d7",
|
|
27
|
+
"@abtnode/logger": "1.16.20-beta-e32e39d7",
|
|
28
|
+
"@abtnode/models": "1.16.20-beta-e32e39d7",
|
|
29
|
+
"@abtnode/queue": "1.16.20-beta-e32e39d7",
|
|
30
|
+
"@abtnode/rbac": "1.16.20-beta-e32e39d7",
|
|
31
|
+
"@abtnode/router-provider": "1.16.20-beta-e32e39d7",
|
|
32
|
+
"@abtnode/static-server": "1.16.20-beta-e32e39d7",
|
|
33
|
+
"@abtnode/timemachine": "1.16.20-beta-e32e39d7",
|
|
34
|
+
"@abtnode/util": "1.16.20-beta-e32e39d7",
|
|
35
35
|
"@arcblock/did": "1.18.105",
|
|
36
36
|
"@arcblock/did-auth": "1.18.105",
|
|
37
37
|
"@arcblock/did-ext": "^1.18.105",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"@arcblock/pm2-events": "^0.0.5",
|
|
43
43
|
"@arcblock/validator": "^1.18.105",
|
|
44
44
|
"@arcblock/vc": "1.18.105",
|
|
45
|
-
"@blocklet/constant": "1.16.20-beta-
|
|
46
|
-
"@blocklet/env": "1.16.20-beta-
|
|
47
|
-
"@blocklet/meta": "1.16.20-beta-
|
|
48
|
-
"@blocklet/resolver": "1.16.20-beta-
|
|
49
|
-
"@blocklet/sdk": "1.16.20-beta-
|
|
50
|
-
"@did-space/client": "^0.3.
|
|
45
|
+
"@blocklet/constant": "1.16.20-beta-e32e39d7",
|
|
46
|
+
"@blocklet/env": "1.16.20-beta-e32e39d7",
|
|
47
|
+
"@blocklet/meta": "1.16.20-beta-e32e39d7",
|
|
48
|
+
"@blocklet/resolver": "1.16.20-beta-e32e39d7",
|
|
49
|
+
"@blocklet/sdk": "1.16.20-beta-e32e39d7",
|
|
50
|
+
"@did-space/client": "^0.3.43",
|
|
51
51
|
"@fidm/x509": "^1.2.1",
|
|
52
52
|
"@ocap/mcrypto": "1.18.105",
|
|
53
53
|
"@ocap/util": "1.18.105",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"jest": "^27.5.1",
|
|
103
103
|
"unzipper": "^0.10.11"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "01ff4e9304b150d7c12872d417b81327792ad8e5"
|
|
106
106
|
}
|