diff --git a/Cargo.lock b/Cargo.lock index 3370dc3..f9d99a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6028,31 +6028,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "warp-ipfs" -version = "0.1.0" -dependencies = [ - "bytes", - "console_error_panic_hook", - "futures", - "indexmap 2.7.0", - "js-sys", - "send_wrapper 0.6.0", - "serde", - "serde-wasm-bindgen 0.4.5", - "tiny_file_server", - "tracing-subscriber", - "tracing-wasm", - "tsify-next", - "uuid", - "warp", - "warp-ipfs 0.1.0 (git+https://github.com/Satellite-im/Warp.git?rev=1399e17461b76a6c5ba558f386f8e8c44ebd064c)", - "wasm-bindgen", - "wasm-bindgen-futures", - "wasm-streams", - "web-sys", -] - [[package]] name = "warp-ipfs" version = "0.1.0" @@ -6097,6 +6072,31 @@ dependencies = [ "web-time", ] +[[package]] +name = "warp-wasm" +version = "0.1.0" +dependencies = [ + "bytes", + "console_error_panic_hook", + "futures", + "indexmap 2.7.0", + "js-sys", + "send_wrapper 0.6.0", + "serde", + "serde-wasm-bindgen 0.4.5", + "tiny_file_server", + "tracing-subscriber", + "tracing-wasm", + "tsify-next", + "uuid", + "warp", + "warp-ipfs", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + [[package]] name = "wasi" version = "0.9.0+wasi-snapshot-preview1" diff --git a/Cargo.toml b/Cargo.toml index de46e41..c3987e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "warp-ipfs" +name = "warp-wasm" version = "0.1.0" edition = "2021" diff --git a/examples/from-js.rs b/examples/from-js.rs index 7e3502e..d234a34 100644 --- a/examples/from-js.rs +++ b/examples/from-js.rs @@ -19,9 +19,9 @@ fn main() { let cmd = get_cmd("cargo install wasm-pack"); spawn_and_wait(cmd); - println!("\nBuilding warp-ipfs wasm files ..."); + println!("\nBuilding warp wasm files ..."); let cmd = - get_cmd("wasm-pack build --target web --out-dir examples/from-js/built-wasm/warp-ipfs"); + get_cmd("wasm-pack build --target web --out-dir examples/from-js/built-wasm/warp-wasm"); spawn_and_wait(cmd); println!("\nStarting file server ..."); diff --git a/examples/from-js/ipfs-constellation.html b/examples/from-js/ipfs-constellation.html index 0832a7b..c7d182d 100644 --- a/examples/from-js/ipfs-constellation.html +++ b/examples/from-js/ipfs-constellation.html @@ -5,7 +5,7 @@ Warp Wasm Test