tastytrade / tastytrade-api-js

Javascript sdk for the tastytrade api
MIT License
63 stars 34 forks source link

Target Modern Runtimes for JS SDK #19

Closed osdevisnot closed 5 months ago

osdevisnot commented 5 months ago

The current JS SDK is distributed to NPM with ES5 target. This is very antiquated method as argued here and here.

Almost all the applications which use TastyTrade SDK will likely also use DXLink Websocket Client which is also authored as modern javascript module on NPM - See reference tsconfig.json

Can we target modern runtimes for JS SDK for Tasty Trade APIs?

If the is willing to support this feature, I can even attempt to submit a PR to that effect.