Export light-client functionality for WASM

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
Alexandru Vasile
2023-06-06 21:07:23 +03:00
parent 600a5cd14c
commit 9be09e8daa
11 changed files with 1035 additions and 241 deletions
+14
View File
@@ -2231,6 +2231,7 @@ dependencies = [
"smoldot-light",
"smoldot-light-wasm",
"sp-core-hashing",
"subxt-light-client",
"subxt-macro",
"subxt-metadata",
"thiserror",
@@ -2258,6 +2259,18 @@ dependencies = [
"tokio",
]
[[package]]
name = "subxt-light-client"
version = "0.28.0"
dependencies = [
"console_error_panic_hook",
"gloo-timers",
"lazy_static",
"tracing",
"tracing-wasm",
"wasm-bindgen",
]
[[package]]
name = "subxt-macro"
version = "0.28.0"
@@ -2670,6 +2683,7 @@ dependencies = [
"console_error_panic_hook",
"serde_json",
"subxt",
"tracing",
"tracing-wasm",
"wasm-bindgen-test",
]