polygon-io / client-js

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

v1.1.0 release not available on NPM #14

Closed benbarber closed 2 years ago

benbarber commented 4 years ago

Could you publish the v1.1.0 release to NPM please, or is there another reason its not available on there yet?

bassochette commented 4 years ago

It has been rolled back. It has a breaking change on the sockets api.

the 1.1 tag will be removed from the repo and a 2.0 will be published.

benbarber commented 4 years ago

That makes sense, it should be 2.0 if it includes a breaking change.

Any idea when this is likely to be done?

Thanks

robax commented 3 years ago

any updates on V2?

jtbales commented 3 years ago

at least make a release with the add typescript types. they are very helpful

bassochette commented 3 years ago

Sorry for the delay, I was not supposed to be a maintainer anymore.

SO I published the current typing as V2.0.1 in npm.

If someone from polygon could contact me to take ownership of the npm package please do!

Sieabah commented 3 years ago

I don't believe this ended up working. The package.json points to the lib folder which does not exist in ^v2.0.1.

I don't think the package is built. Error: Cannot find module '/srv/app/node_modules/polygon.io/lib/main.js'. Please verify that the package.json has a valid "main" entry

bassochette commented 3 years ago

@Sieabah my bad, I publish v2.0.1 without the built sources.

v2.0.2 should should fix your issue.