doc and cleanup
This commit is contained in:
parent
4b8a7d2e00
commit
91a8c8b237
|
@ -17,10 +17,10 @@ First you create an instance with your credentials:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var dns01 = require('acme-dns-01-namecheap').create({
|
var dns01 = require('acme-dns-01-namecheap').create({
|
||||||
apiUser: 'username',
|
apiUser: 'jdoe',
|
||||||
apiKey: 'xxxx',
|
apiKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
|
||||||
clientIp: 'public ip',
|
clientIp: '121.22.123.22',
|
||||||
username: 'username',
|
username: 'jdoe',
|
||||||
baseUrl: 'https://api.namecheap.com/xml.response' // default
|
baseUrl: 'https://api.namecheap.com/xml.response' // default
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
ZONE=example.co.uk
|
ZONE=example.co.uk
|
||||||
|
|
||||||
API_USER=exampleuser
|
API_USER=exampleuser
|
||||||
API_KEY=xxxxxxxxxxxxxxx
|
API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||||
USERNAME=exampleuser
|
USERNAME=exampleuser
|
||||||
CLIENT_IP=121.22.123.22
|
CLIENT_IP=121.22.123.22
|
||||||
|
|
|
@ -35,6 +35,12 @@
|
||||||
"acme-challenge-test": "^3.3.1"
|
"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": {
|
"sax": {
|
||||||
"version": "1.2.4",
|
"version": "1.2.4",
|
||||||
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"acme-challenge-test": "^3.3.2",
|
"acme-challenge-test": "^3.3.2",
|
||||||
"acme-dns-01-test": "^3.2.1"
|
"acme-dns-01-test": "^3.2.1",
|
||||||
|
"dotenv": "^8.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue