UNPKG

@authereum/resolution

Version:
14 lines (13 loc) 432 B
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; }