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>
32 lines
791 B
Rust
32 lines
791 B
Rust
// Copyright 2023 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
pub mod client;
|
|
#[cfg(target_arch = "wasm32")]
|
|
pub mod config;
|
|
#[cfg(target_arch = "wasm32")]
|
|
pub mod encoded_payload_helper;
|
|
#[cfg(target_arch = "wasm32")]
|
|
pub mod error;
|
|
#[cfg(target_arch = "wasm32")]
|
|
mod helpers;
|
|
#[cfg(target_arch = "wasm32")]
|
|
mod response_pusher;
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
pub use wasm_client_core::set_panic_hook;
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
use wasm_bindgen::prelude::*;
|
|
|
|
#[wasm_bindgen(start)]
|
|
#[cfg(target_arch = "wasm32")]
|
|
pub fn main() {
|
|
wasm_utils::console_log!("[rust main]: rust module loaded");
|
|
wasm_utils::console_log!(
|
|
"wasm client version used: {:#?}",
|
|
nym_bin_common::bin_info!()
|
|
);
|
|
}
|