dcSpark / cardano-multiplatform-lib

Rust implementation of Cardano
MIT License
99 stars 36 forks source link

WASM JSON .ts to_js_value() not type annotated correctly anymore #355

Open rooooooooob opened 2 months ago

rooooooooob commented 2 months ago

All types are now:

to_js_value: any

instead of e.g. TransactionBodyJSON

during the wasm build script process you get an error:

Error: Cannot find module 'json-schema-to-typescript'

despite this npm package still existing. This error is obviously the cause of this issue.

It is not just on my local builds as the 6.0.0 NPM package suffers from the same issue in its exported typescript code.