polygon-io / client-js

The official JS client library for the Polygon REST and WebSocket API.
MIT License
190 stars 59 forks source link

Fixes the response format, also adds tests to make sure changes to this have coverage #179

Closed timetraveler328 closed 1 year ago

timetraveler328 commented 1 year ago

Release v7.3.0 unintentionally introduced a breaking change to the response format, removing the results attribute and returning the results array in its place. This fixes that, as well as adding tests to ensure the response has the intended shape.