From a184db4ed958a683efdc13c54a143b5c1607a045 Mon Sep 17 00:00:00 2001 From: Ashley Date: Tue, 10 Mar 2020 11:14:20 +0100 Subject: [PATCH] Use libp2p's implementation of a wasm websocket transport (#5089) * Update to libp2p 0.16.2 * Use libp2ps implementation of a wasm websocket transport * Remove explicit Configuration type in node-cli Co-authored-by: Pierre Krieger --- Cargo.lock | 2 +- bin/node/cli/browser-demo/index.html | 3 +- bin/node/cli/browser-demo/ws.js | 148 --------------------------- bin/node/cli/src/browser.rs | 11 +- utils/browser/Cargo.toml | 2 +- utils/browser/src/lib.rs | 12 +-- 6 files changed, 13 insertions(+), 165 deletions(-) delete mode 100644 bin/node/cli/browser-demo/ws.js diff --git a/Cargo.lock b/Cargo.lock index 5f6d9b41d0bdf..59627e2cd7c51 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7656,7 +7656,7 @@ dependencies = [ "futures-timer 3.0.2", "js-sys", "kvdb-web", - "libp2p", + "libp2p-wasm-ext", "log 0.4.8", "rand 0.6.5", "rand 0.7.3", diff --git a/bin/node/cli/browser-demo/index.html b/bin/node/cli/browser-demo/index.html index f40863c46e77d..60acfde39f559 100644 --- a/bin/node/cli/browser-demo/index.html +++ b/bin/node/cli/browser-demo/index.html @@ -6,7 +6,6 @@