Update build

This commit is contained in:
Sosthene 2025-08-20 12:56:47 +02:00
parent 0e221302e4
commit 64f44f511b
3 changed files with 7 additions and 3 deletions

5
.cargo/config.toml Normal file
View File

@ -0,0 +1,5 @@
[build]
target = "wasm32-unknown-unknown"
[target.wasm32-unknown-unknown]
rustflags = ["--cfg", "web_sys_unstable_apis"]

View File

@ -16,8 +16,7 @@ getrandom = { version="0.2.12", features = ["js"] }
wasm-logger = "0.2.0"
rand = "0.8.5"
tsify = { git = "https://github.com/Sosthene00/tsify", branch = "next" }
# sdk_common = { path = "../sdk_common" }
sdk_common = { git = "https://git.4nkweb.com/4nk/sdk_common.git", branch = "dev" }
sdk_common = { git = "https://git.4nkweb.com/4nk/sdk_common.git", branch = "update_build", features = ["wasm"] }
serde-wasm-bindgen = "0.6.5"
[dev-dependencies]

View File

@ -73,7 +73,7 @@ use sdk_common::sp_client::{FeeRate, OutputSpendStatus, OwnedOutput, Recipient,
use sdk_common::secrets::SecretsStore;
use crate::user::{lock_local_device, set_new_device, LOCAL_DEVICE};
use crate::wallet::{generate_sp_wallet, lock_freezed_utxos, scan_blocks};
use crate::wallet::{generate_sp_wallet, lock_freezed_utxos};
const EMPTYSTATEID: &str = "0000000000000000000000000000000000000000000000000000000000000000";