doc and cleanup

This commit is contained in:
AJ ONeal 2019-07-23 02:24:03 -06:00
parent 4b8a7d2e00
commit 91a8c8b237
4 changed files with 13 additions and 6 deletions

View File

@ -17,10 +17,10 @@ First you create an instance with your credentials:
```js
var dns01 = require('acme-dns-01-namecheap').create({
apiUser: 'username',
apiKey: 'xxxx',
clientIp: 'public ip',
username: 'username',
apiUser: 'jdoe',
apiKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
clientIp: '121.22.123.22',
username: 'jdoe',
baseUrl: 'https://api.namecheap.com/xml.response' // default
});
```

View File

@ -1,6 +1,6 @@
ZONE=example.co.uk
API_USER=exampleuser
API_KEY=xxxxxxxxxxxxxxx
API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
USERNAME=exampleuser
CLIENT_IP=121.22.123.22

6
package-lock.json generated
View File

@ -35,6 +35,12 @@
"acme-challenge-test": "^3.3.1"
}
},
"dotenv": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.0.0.tgz",
"integrity": "sha512-30xVGqjLjiUOArT4+M5q9sYdvuR4riM6yK9wMcas9Vbp6zZa+ocC9dp6QoftuhTPhFAiLK/0C5Ni2nou/Bk8lg==",
"dev": true
},
"sax": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",

View File

@ -31,6 +31,7 @@
},
"devDependencies": {
"acme-challenge-test": "^3.3.2",
"acme-dns-01-test": "^3.2.1"
"acme-dns-01-test": "^3.2.1",
"dotenv": "^8.0.0"
}
}