@abtnode/certificate-manager 1.16.33-beta-20241108-105022-266cd380 → 1.16.33-beta-20241112-051238-c5de53cb

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.
@@ -14,8 +14,10 @@ const logger = require('./logger');
14
14
  // 背景: 在某些机器上 acme.js 连接 Let's Encrypt Directory URL 时会使用 IPv6
15
15
  // 但是使用 IPv6 时会导致连接失败, 所以强制使用 IPv4.
16
16
  // https://github.com/ArcBlock/blocklet-server/issues/10078
17
- http.globalAgent.options.family = 4;
18
- https.globalAgent.options.family = 4;
17
+ if (!process.env.ABT_NODE_ENABLE_IPV6) {
18
+ http.globalAgent.options.family = 4;
19
+ https.globalAgent.options.family = 4;
20
+ }
19
21
 
20
22
  const DIRECTORY_URL = 'https://acme-v02.api.letsencrypt.org/directory';
21
23
  const DIRECTORY_URL_STAGING = 'https://acme-staging-v02.api.letsencrypt.org/directory';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/certificate-manager",
3
- "version": "1.16.33-beta-20241108-105022-266cd380",
3
+ "version": "1.16.33-beta-20241112-051238-c5de53cb",
4
4
  "description": "Manage ABT Node SSL certificates",
5
5
  "author": "polunzh <polunzh@gmail.com>",
6
6
  "homepage": "https://github.com/ArcBlock/blocklet-server#readme",
@@ -32,11 +32,11 @@
32
32
  "url": "https://github.com/ArcBlock/blocklet-server/issues"
33
33
  },
34
34
  "dependencies": {
35
- "@abtnode/cron": "1.16.33-beta-20241108-105022-266cd380",
36
- "@abtnode/logger": "1.16.33-beta-20241108-105022-266cd380",
37
- "@abtnode/models": "1.16.33-beta-20241108-105022-266cd380",
38
- "@abtnode/queue": "1.16.33-beta-20241108-105022-266cd380",
39
- "@abtnode/util": "1.16.33-beta-20241108-105022-266cd380",
35
+ "@abtnode/cron": "1.16.33-beta-20241112-051238-c5de53cb",
36
+ "@abtnode/logger": "1.16.33-beta-20241112-051238-c5de53cb",
37
+ "@abtnode/models": "1.16.33-beta-20241112-051238-c5de53cb",
38
+ "@abtnode/queue": "1.16.33-beta-20241112-051238-c5de53cb",
39
+ "@abtnode/util": "1.16.33-beta-20241112-051238-c5de53cb",
40
40
  "@fidm/x509": "^1.2.1",
41
41
  "@greenlock/manager": "^3.1.0",
42
42
  "@root/acme": "^3.1.0",
@@ -49,5 +49,5 @@
49
49
  "lodash.get": "^4.4.2",
50
50
  "punycode": "^2.3.1"
51
51
  },
52
- "gitHead": "804206007f31a5875d11f0f099b3bc87a4357b83"
52
+ "gitHead": "a2b9b5f89cab401cb2fe0622a14ed72334b1c2b8"
53
53
  }