some methods are calling it with badRequestResponse('Invalid IPNS name') which is obfuscating errors because the function signature is actually (url: string, body?: SupportedBodyTypes, init?: ResponseInit)
The function signature was updated to (url: string, body?: SupportedBodyTypes | Error, init?: ResponseInit) in #26
some methods are calling it with
badRequestResponse('Invalid IPNS name')
which is obfuscating errors because the function signature is actually(url: string, body?: SupportedBodyTypes, init?: ResponseInit)
The function signature was updated to
(url: string, body?: SupportedBodyTypes | Error, init?: ResponseInit)
in #26