2025-11-05 17:04:23 -03:00

12 lines
322 B
JavaScript

import * as dns from "./lib/dns.js";
import * as http from "./lib/http.js";
export default function resolve(...args) {
return Promise.all([
dns.resolve ? dns.resolve(...args) : Promise.resolve([]),
http.resolve(...args),
]).then(([records, endpoints]) => [...records, ...endpoints]);
}
export { dns, http };