Quellcode durchsuchen

refactor: getrandom js

thesimplekid vor 11 Monaten
Ursprung
Commit
91149c1ce0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      crates/cashu-sdk/Cargo.toml

+ 1 - 1
crates/cashu-sdk/Cargo.toml

@@ -33,6 +33,7 @@ serde_json = { workspace = true }
 url = { workspace = true }
 tracing = { workspace = true }
 thiserror = { workspace = true }
+getrandom = { version = "0.2", features = ["js"] }
 async-trait = "0.1.74"
 gloo = { version = "0.11.0", optional = true, features = ["net"] }
 http = "1.0.0"
@@ -44,6 +45,5 @@ redb = { version = "2.0.0", optional = true }
 
 [target.'cfg(target_arch = "wasm32")'.dependencies]
 tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
-getrandom = { version = "0.2", features = ["js"] }