@authereum/resolution
Version:
Domain Resolution for blockchain domains
14 lines (13 loc) • 432 B
TypeScript
import { CryptoRecords, DnsRecord } from "./publicTypes";
export default class DnsUtils {
static readonly DefaultTtl: number;
toList(record: CryptoRecords): DnsRecord[];
toCrypto(records: DnsRecord[]): CryptoRecords;
private protectFromCorruptRecord;
private getJsonArray;
private getJsonNumber;
private getAllDnsTypes;
private constructDnsRecords;
private parseTtl;
private parseIfNumber;
}