eigerco / lumina

Wasm friendly Celestia light node implementation in Rust
Apache License 2.0
122 stars 36 forks source link

Return proper objects in JS rather than serialising them to JSON #432

Open fl0rek opened 1 month ago

fl0rek commented 1 month ago

Currently we return most of the more complex types serialised as JSON, so users don't get to use the methods on those objects, e.g. they cannot call .verify() or .validate() on headers.