diff --git a/wallet/api/package.json b/wallet/api/package.json index 99f28c2a..cc455d6d 100644 --- a/wallet/api/package.json +++ b/wallet/api/package.json @@ -1,6 +1,6 @@ { - "name": "manta-wasm-wallet-api", - "version": "0.0.0", - "main": "./index.js", - "private": false -} + "name": "manta-wasm-wallet-api", + "version": "1.0.0", + "main": "./index.js", + "private": false +} \ No newline at end of file diff --git a/wallet/crate/Cargo.toml b/wallet/crate/Cargo.toml index dede5876..7de02a59 100644 --- a/wallet/crate/Cargo.toml +++ b/wallet/crate/Cargo.toml @@ -1,7 +1,7 @@ [package] -name = "manta-wallet-wasm-bindgen" +name = "manta-wasm-wallet" edition = "2021" -version = "0.0.1" +version = "1.0.0" authors = ["Manta Network "] readme = "README.md" license-file = "LICENSE" @@ -31,10 +31,10 @@ crate-type = ["cdylib"] [dependencies] console_error_panic_hook = { version = "0.1.7", default-features = false } js-sys = { version = "0.3.56", default-features = false } -manta-accounting = { path = "../../../manta-rs/manta-accounting", default-features = false, features = ["serde"] } -manta-crypto = { path = "../../../manta-rs/manta-crypto", default-features = false, features = ["serde"] } -manta-pay = { path = "../../../manta-rs/manta-pay", default-features = false, features = ["groth16", "http", "serde"] } -manta-util = { path = "../../../manta-rs/manta-util", default-features = false, features = ["serde"] } +manta-accounting = { git = "https://github.com/manta-network/manta-rs.git", default-features = false, features = ["serde"] } +manta-crypto = { git = "https://github.com/manta-network/manta-rs.git", default-features = false, features = ["serde"] } +manta-pay = { git = "https://github.com/manta-network/manta-rs.git", default-features = false, features = ["groth16", "http", "serde"] } +manta-util = { git = "https://github.com/manta-network/manta-rs.git", default-features = false, features = ["serde"] } serde_json = { version = "1.0.79", default-features = false, features = ["alloc", "arbitrary_precision"] } wasm-bindgen = { version = "0.2.79", default-features = false, features = ["serde-serialize", "std"] } wasm-bindgen-futures = { version = "0.4.29", default-features = false } diff --git a/wallet/package.json b/wallet/package.json index 5e0aaed8..7bebf830 100644 --- a/wallet/package.json +++ b/wallet/package.json @@ -1,17 +1,17 @@ { - "name": "manta-wasm-wallet", - "version": "0.0.1", - "main": "./crate/pkg", - "scripts": { - "build": "webpack", - "serve": "webpack serve" - }, - "devDependencies": { - "@wasm-tool/wasm-pack-plugin": "1.5.0", - "html-webpack-plugin": "^5.3.2", - "text-encoding": "^0.7.0", - "webpack": "^5.49.0", - "webpack-cli": "^4.9.2", - "webpack-dev-server": "^4.7.4" - } -} + "name": "manta-wasm-wallet", + "version": "1.0.0", + "main": "./crate/pkg", + "scripts": { + "build": "webpack", + "serve": "webpack serve" + }, + "devDependencies": { + "@wasm-tool/wasm-pack-plugin": "1.5.0", + "html-webpack-plugin": "^5.3.2", + "text-encoding": "^0.7.0", + "webpack": "^5.49.0", + "webpack-cli": "^4.9.2", + "webpack-dev-server": "^4.7.4" + } +} \ No newline at end of file diff --git a/wallet/pkg/index.js b/wallet/pkg/index.js deleted file mode 100644 index e69de29b..00000000