268588daac
* adjusting ts mixnet client constructor * added forceTls argument to 'ClientOptsSimple' * more sdk types removed * fixed import * removed go debug code * printing wasm blob version on load * version bump * temporarily removed 'nym/nym/wasm/full-nym-wasm' * changed workspaces definition * correctly setting initial rc.0 suffix * updated crate versions * reverted 'useWorkspaces' lerna option * Fix up dependency versions * Add dev mode toggle to SDK publish scripts * Show location of WASM package * Change dev mode and CI build order * Bump package versions in SDK docs * Remove two versions of `mix-fetch` from SDK docs and only use `-full-fat` version * Remove old arguments for mixFetch and rename to bust cache * Remove `nym-wasm-sdk` from linting * Release v1.2.3 of Typescript SDK * Force WSS on mixnet client * Bump TS SDK to 1.2.4-rc.0 * Clean up lock file * Update node-tester version to 1.2.3 in nym-wallet --------- Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
44 lines
1.5 KiB
TOML
44 lines
1.5 KiB
TOML
[package]
|
|
name = "nym-client-wasm"
|
|
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>", "Jedrzej Stuczynski <andrew@nymtech.net>"]
|
|
version = "1.2.4-rc.0"
|
|
edition = "2021"
|
|
keywords = ["nym", "sphinx", "wasm", "webassembly", "privacy", "client"]
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/nymtech/nym"
|
|
description = "A webassembly client which can be used to interact with the the Nym privacy platform. Wasm is used for Sphinx packet generation."
|
|
rust-version = "1.56"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
futures = { workspace = true }
|
|
js-sys = { workspace = true }
|
|
rand = { version = "0.7.3", features = ["wasm-bindgen"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde-wasm-bindgen = { workspace = true }
|
|
wasm-bindgen = { workspace = true }
|
|
wasm-bindgen-futures = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tsify = { workspace = true, features = ["js"] }
|
|
|
|
nym-bin-common = { path = "../../common/bin-common" }
|
|
wasm-client-core = { path = "../../common/wasm/client-core" }
|
|
wasm-utils = { path = "../../common/wasm/utils" }
|
|
|
|
nym-node-tester-utils = { path = "../../common/node-tester-utils", optional = true }
|
|
nym-node-tester-wasm = { path = "../node-tester", optional = true}
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.3.36"
|
|
|
|
[features]
|
|
default = ["node-tester"]
|
|
node-tester = ["nym-node-tester-wasm", "nym-node-tester-utils"]
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = false
|