diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b6c1423..3315e35 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -91,4 +91,4 @@ jobs: - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: "wasm-pack" - run: cd wasm_websocket_client && wasm-pack build --target web + run: cd wasm_websocket_demo && wasm-pack build --target web diff --git a/Cargo.toml b/Cargo.toml index 13f221d..3801b41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,7 @@ authors = ["WalletConnect Team"] license = "Apache-2.0" [workspace] -members = ["blockchain_api", "relay_client", "relay_rpc"] -exclude = ["wasm_websocket_client"] +members = ["blockchain_api", "relay_client", "relay_rpc", "wasm_websocket_demo"] [features] default = ["full"] diff --git a/wasm_websocket_client/Cargo.toml b/wasm_websocket_demo/Cargo.toml similarity index 92% rename from wasm_websocket_client/Cargo.toml rename to wasm_websocket_demo/Cargo.toml index 4f16278..28641d8 100644 --- a/wasm_websocket_client/Cargo.toml +++ b/wasm_websocket_demo/Cargo.toml @@ -1,10 +1,13 @@ [package] -name = "wasm_websocket_client" +name = "wasm_websocket_demo" version = "0.1.0" edition = "2021" authors = ["WalletConnect Team"] license = "Apache-2.0" +[build] +target = "wasm32-unknown-uknown" + [lib] crate-type = ["cdylib"] diff --git a/wasm_websocket_client/README.md b/wasm_websocket_demo/README.md similarity index 100% rename from wasm_websocket_client/README.md rename to wasm_websocket_demo/README.md diff --git a/wasm_websocket_client/favicon.ico b/wasm_websocket_demo/favicon.ico similarity index 100% rename from wasm_websocket_client/favicon.ico rename to wasm_websocket_demo/favicon.ico diff --git a/wasm_websocket_client/index.html b/wasm_websocket_demo/index.html similarity index 100% rename from wasm_websocket_client/index.html rename to wasm_websocket_demo/index.html diff --git a/wasm_websocket_client/src/lib.rs b/wasm_websocket_demo/src/lib.rs similarity index 100% rename from wasm_websocket_client/src/lib.rs rename to wasm_websocket_demo/src/lib.rs diff --git a/wasm_websocket_client/src/utils.rs b/wasm_websocket_demo/src/utils.rs similarity index 100% rename from wasm_websocket_client/src/utils.rs rename to wasm_websocket_demo/src/utils.rs diff --git a/wasm_websocket_client/styles.css b/wasm_websocket_demo/styles.css similarity index 100% rename from wasm_websocket_client/styles.css rename to wasm_websocket_demo/styles.css