diff --git a/Cargo.lock b/Cargo.lock index cdfd1268..f25aeac8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -261,6 +261,7 @@ name = "clvm_wasm" version = "0.3.2" dependencies = [ "clvmr", + "getrandom", "js-sys", "wasm-bindgen", "wasm-bindgen-test", @@ -650,8 +651,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" dependencies = [ "cfg-if", + "js-sys", "libc", "wasi", + "wasm-bindgen", ] [[package]] diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml index 9047bc15..ae75dcf5 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -15,7 +15,8 @@ crate-type = ["cdylib"] path = "src/lib.rs" [dependencies] -clvmr = { path = "..", features = [] } +clvmr = { path = ".." } wasm-bindgen = "=0.2.87" wasm-bindgen-test = "=0.3.34" js-sys = "0.3.61" +getrandom = { version = "0.2.9", features = ["js"] } \ No newline at end of file