Skip to content

Commit 1a40039

Browse files
authored
deps: Update browser examples to iroh 0.97 (#155)
* deps: Update echo and chat to iroh 0.97 * deps: Update iroh-blobs in browser exampes * Fix wasm-bindgen version for ci
1 parent c8546da commit 1a40039

10 files changed

Lines changed: 712 additions & 859 deletions

File tree

browser-blobs/Cargo.lock

Lines changed: 232 additions & 285 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

browser-blobs/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ anyhow = "1.0.86"
1616
bytes = "1.10.1"
1717
clap = { version = "4.5.30", features = ["derive"], optional = true }
1818
console_error_panic_hook = "0.1.7"
19-
iroh = { version = "0.96", default-features = false }
20-
iroh-blobs = { version = "0.98", default-features = false }
19+
iroh = { version = "0.97", default-features = false }
20+
iroh-blobs = { version = "0.99", default-features = false }
2121
js-sys = "0.3.77"
2222
tokio = { version = "1.44.0", default-features = false, features = ["sync"] }
2323
tracing = "0.1.40"
2424
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
2525
tracing-subscriber-wasm = "0.1.0"
26-
wasm-bindgen = "=0.2.108"
26+
wasm-bindgen = "=0.2.114"
2727
wasm-bindgen-futures = "0.4"
2828

2929
[features]

browser-blobs/src/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub struct BlobsNode {
1818
impl BlobsNode {
1919
pub async fn spawn() -> Result<Self> {
2020
let address_lookup = MemoryLookup::default();
21-
let endpoint = iroh::Endpoint::builder()
21+
let endpoint = iroh::Endpoint::builder(iroh::endpoint::presets::N0)
2222
.address_lookup(address_lookup.clone())
2323
.bind()
2424
.await?;

0 commit comments

Comments
 (0)