UNPKG

@unstoppabledomains/resolution

Version:
15 lines (14 loc) 466 B
import { CryptoRecords, DnsRecord } from '../types/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; private isStringArray; }