dreamhost
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "dreamhost", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Complete DreamHost API client for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dreamhost.js", |
@@ -37,7 +37,7 @@ # DreamHost API Client for Node.js | ||
const dns = new DreamhostDNS({ | ||
const dns = new DNS({ | ||
key: '<your api key>' | ||
}); | ||
dns.listRecords({type: 'A') | ||
dns.listRecords({type: 'A'}) | ||
.then(records => console.log(records)) | ||
@@ -44,0 +44,0 @@ .catch(err => console.error(err)) |
34517