mirror of
https://github.com/jakejarvis/rdapper.git
synced 2026-09-23 00:15:31 -04:00
Add includeRaw option to CLI and API: enable inclusion of raw RDAP/WHOIS data in results
This commit is contained in:
@@ -43,6 +43,7 @@ export async function lookupDomain(
|
||||
json,
|
||||
tried,
|
||||
now,
|
||||
!!opts?.includeRaw,
|
||||
);
|
||||
return { ok: true, record };
|
||||
} catch {
|
||||
@@ -105,6 +106,7 @@ export async function lookupDomain(
|
||||
res.text,
|
||||
res.serverQueried,
|
||||
now,
|
||||
!!opts?.includeRaw,
|
||||
);
|
||||
return { ok: true, record };
|
||||
} catch (err: unknown) {
|
||||
|
||||
Reference in New Issue
Block a user