CardanoSolutions / ogmios

❇️ A WebSocket JSON/RPC bridge for Cardano
https://ogmios.dev
Mozilla Public License 2.0
304 stars 90 forks source link

Support Node 16 #169

Closed chafnan closed 2 years ago

chafnan commented 2 years ago

Can support for Node 16 please be added?

KtorZ commented 2 years ago

Hi, what do you mean by "support for Node 16" ? Is there any features from Node 16 which are incompatible with Node 14 and prevent the TypeScript client from operating normally?

chafnan commented 2 years ago

I should have been more clear. Can the engine setting in the package.json be removed? As for now it is locked into Node 14, so when installing the package with yarn and having node >14, it is blocked without using the --ignore-engines options.

chafnan commented 2 years ago

Taking a deeper look at it. It seems that the require was relaxed already from ^14 to >=14. That is exactly what I was asking for, but it's not published yet. I'll just have to wait for the next version to be pushed.

Thanks.

KtorZ commented 2 years ago

Hi, the latest version was published 3 days ago on npm, perhaps you missed it :thinking: ?

https://www.npmjs.com/package/@cardano-ogmios/client/v/5.1.0

chafnan commented 2 years ago

Yup, you are right. Thanks for the help.