TBD54566975 / dwn-proxy-js

Apache License 2.0
1 stars 1 forks source link

Integrate error responses w/ what web5-js expects #35

Open KendallWeihe opened 1 year ago

KendallWeihe commented 1 year ago

web5-js was built in conjunction w/ dwn-server, and right now the proxy doesn't properly format the error responses

KendallWeihe commented 1 year ago

lots of good inspo to pull from starting at this line and going down https://github.com/tbdeng/pfi-prototype/blob/main/src/api.ts#L44

KendallWeihe commented 1 year ago

presumably this'll happen in the dwn-http-server.ts so if we yank that out into a dedicated dwn-http-js package (or however we choose to organize it) then it's no longer relevant here