@foxiko/client
Advanced tools
Comparing version 1.0.49 to 1.0.50
@@ -80,3 +80,3 @@ const {Domain, DNSServer, DNSRecord} = require("./../entities/Domain"); | ||
async create(domain) { | ||
if(!(domain instanceof domain)) { | ||
if(!(domain instanceof Domain)) { | ||
domain = new Domain(domain); | ||
@@ -83,0 +83,0 @@ } |
@@ -107,2 +107,12 @@ const {APIEntity} = require("../../APIEntity"); | ||
#handler; | ||
_handler(handler) { | ||
this.#handler = handler; | ||
} | ||
async getRecords() { | ||
return this.#handler.getRecords(this); | ||
} | ||
} | ||
@@ -109,0 +119,0 @@ |
{ | ||
"name": "@foxiko/client", | ||
"version": "1.0.49", | ||
"version": "1.0.50", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
164875
3199