John Johnson
John Johnson
SDK seems stable enough to release a 1.0.0. That way we can start semantically verisoning any changes, since we have a good bit of integrators using the sdk now!
Adds `sdk.presignOrder(order)` function
Down to essential packages, no extra fat. Removes lodash. Will look into removing date-fns at some point.
https://api.0x.org/swap/v0/quote?sellAmount=2&buyToken=DAI&sellToken=ETH returns a server error, I don't know why. https://api.0x.org/swap/v0/quote?sellAmount=100&buyToken=DAI&sellToken=ETH (sellAmount=100) works just fine (I realize these are small amounts, fwiw)
Noticed the creation of a new redis client per every request has a significant bottleneck. Since you aren't creating a client per request in the nodejs version, this seems a...