Compare commits

...

2 Commits

Author SHA1 Message Date
8e4d40edd0 1.0.6 2016-11-15 22:49:28 +01:00
f6afe90a63 improve README 2016-11-15 22:48:58 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ import * as dnsly from 'dnsly'
let myDnsly = new dnsly.Dnsly('google') // uses Google DNS Servers e.g 8.8.8.8
myDnsly.getRecord('example.com','AAAA') // returns promise
.then(record: dnsly.I_AAAA => { // AAAA record for google.com, the I_AAAA will give you proper typings for the record return type
.then((record: dnsly.I_AAAA) => { // AAAA record for google.com, the I_AAAA will give you proper typings for the record return type
// do something
})
```

View File

@ -1,6 +1,6 @@
{
"name": "dnsly",
"version": "1.0.5",
"version": "1.0.6",
"description": "smart dns methods written in TypeScript",
"main": "dist/index.js",
"typings": "../dist/index.d.ts",