In the example below, if an invalid key is fetched, then the value of binaryKey will be a UInt8Array that is actually a complete HTML response from the fetch request. It should be sanitized and dummy-proofed a bit further. We've submitted a PR to fix this for a majority of edge cases.
const binaryKey = await wkd.lookup({
email: address
});
In the example below, if an invalid key is fetched, then the value of
binaryKeywill be aUInt8Arraythat is actually a complete HTML response from the fetch request. It should be sanitized and dummy-proofed a bit further. We've submitted a PR to fix this for a majority of edge cases.