fix(core): update
This commit is contained in:
parent
5925c882c8
commit
66f817cdf8
@ -22,7 +22,7 @@ Use TypeScript for best in class instellisense.
|
|||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
const mySmartDns = new smartdns.SmartDns(); // uses Google DNS Https API
|
const mySmartDns = new smartdns.SmartDns(); // uses Google DNS Https API
|
||||||
const demoRecord = mySmartDns.getRecord('example.com', 'AAAA'); // returns promise
|
const demoRecord = await mySmartDns.getRecord('example.com', 'AAAA'); // returns promise
|
||||||
/*
|
/*
|
||||||
demoRecord looks like this:
|
demoRecord looks like this:
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user