Compare commits

...

3 Commits

3 changed files with 5 additions and 4 deletions

View File

@ -36,6 +36,7 @@ M._init = function(me, tz, locale) {
setTimeout(function() {
// prevent a stampede from misconfigured clients in an eternal loop
me.request({
timeout: 3000,
method: 'GET',
url: 'https://api.rootprojects.org/api/nonce',
json: true
@ -47,6 +48,7 @@ M._init = function(me, tz, locale) {
})
.then(function(hashcash) {
var req = {
timeout: 3000,
headers: {
'x-root-nonce-v1': hashcash
},

3
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@root/acme",
"version": "3.0.9",
"version": "3.0.10",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -16,7 +16,6 @@
"version": "0.8.1",
"resolved": "https://registry.npmjs.org/@root/csr/-/csr-0.8.1.tgz",
"integrity": "sha512-hKl0VuE549TK6SnS2Yn9nRvKbFZXn/oAg+dZJU/tlKl/f/0yRXeuUzf8akg3JjtJq+9E592zDqeXZ7yyrg8fSQ==",
"dev": true,
"requires": {
"@root/asn1": "^1.0.0",
"@root/pem": "^1.0.4",

View File

@ -1,6 +1,6 @@
{
"name": "@root/acme",
"version": "3.0.9",
"version": "3.0.10",
"description": "Free SSL certificates for Node.js and Browsers. Issued via Let's Encrypt",
"homepage": "https://rootprojects.org/acme/",
"main": "acme.js",
@ -42,6 +42,7 @@
"author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)",
"license": "MPL-2.0",
"dependencies": {
"@root/csr": "^0.8.1",
"@root/encoding": "^1.0.1",
"@root/keypairs": "^0.9.0",
"@root/pem": "^1.0.4",
@ -49,7 +50,6 @@
"@root/x509": "^0.7.2"
},
"devDependencies": {
"@root/csr": "^0.8.1",
"dig.js": "^1.3.9",
"dns-suite": "^1.2.13",
"dotenv": "^8.1.0",