@certd/acme-client 1.20.17 → 1.21.1

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Simple and unopinionated ACME client",
4
4
  "private": false,
5
5
  "author": "nmorsman",
6
- "version": "1.20.17",
6
+ "version": "1.21.1",
7
7
  "main": "src/index.js",
8
8
  "types": "types/index.d.ts",
9
9
  "license": "MIT",
@@ -59,5 +59,5 @@
59
59
  "bugs": {
60
60
  "url": "https://github.com/publishlab/node-acme-client/issues"
61
61
  },
62
- "gitHead": "6ec950818c2a27454b0a848077d2c6470b16c184"
62
+ "gitHead": "0b769a1c8624e1672e03cc290757edf6d7b7d9b3"
63
63
  }
package/src/auto.js CHANGED
@@ -36,6 +36,9 @@ module.exports = async (client, userOpts) => {
36
36
  if (opts.email) {
37
37
  accountPayload.contact = [`mailto:${opts.email}`];
38
38
  }
39
+ if (opts.externalAccountBinding) {
40
+ accountPayload.externalAccountBinding = opts.externalAccountBinding;
41
+ }
39
42
 
40
43
  /**
41
44
  * Register account
package/src/index.js CHANGED
@@ -18,6 +18,7 @@ exports.directory = {
18
18
  production: 'https://acme-v02.api.letsencrypt.org/directory',
19
19
  },
20
20
  zerossl: {
21
+ staging: 'https://acme.zerossl.com/v2/DV90',
21
22
  production: 'https://acme.zerossl.com/v2/DV90',
22
23
  },
23
24
  };
package/types/index.d.ts CHANGED
@@ -92,6 +92,7 @@ export const directory: {
92
92
  production: string
93
93
  },
94
94
  zerossl: {
95
+ staging: string,
95
96
  production: string
96
97
  }
97
98
  };