saito-wasm 0.1.26 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +6 -6
- package/package.json +1 -1
- package/pkg/node/index.d.ts +7 -0
- package/pkg/node/index.js +147 -124
- package/pkg/node/index_bg.wasm +0 -0
- package/pkg/node/index_bg.wasm.d.ts +126 -125
- package/pkg/node/package.json +1 -1
- package/pkg/node/snippets/{saito-wasm-acb13d7ff5817a25 → saito-wasm-1641dc6173601324}/js/msg_handler.js +4 -0
- package/pkg/web/index.d.ts +133 -125
- package/pkg/web/index.js +139 -117
- package/pkg/web/index_bg.wasm +0 -0
- package/pkg/web/index_bg.wasm.d.ts +126 -125
- package/pkg/web/package.json +1 -1
- package/pkg/web/snippets/{saito-wasm-acb13d7ff5817a25 → saito-wasm-1641dc6173601324}/js/msg_handler.js +4 -0
package/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "saito-wasm"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.28"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
|
|
6
6
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
@@ -9,15 +9,15 @@ crate-type = ["cdylib"]
|
|
|
9
9
|
|
|
10
10
|
[dependencies]
|
|
11
11
|
saito-core = { path = "../saito-core" }
|
|
12
|
-
wasm-bindgen = { version = "0.2.
|
|
13
|
-
wasm-bindgen-futures = "0.4.
|
|
14
|
-
serde = { version = "1.0.
|
|
12
|
+
wasm-bindgen = { version = "0.2.89" }
|
|
13
|
+
wasm-bindgen-futures = "0.4.39"
|
|
14
|
+
serde = { version = "1.0.193", features = ["derive"] }
|
|
15
15
|
serde-wasm-bindgen = { version = "0.6.1" }
|
|
16
|
-
web-sys = "0.3.
|
|
16
|
+
web-sys = "0.3.66"
|
|
17
17
|
async-trait = "0.1.74"
|
|
18
18
|
hex = "0.4.3"
|
|
19
19
|
tokio = "1.34.0"
|
|
20
|
-
js-sys = { version = "0.3.
|
|
20
|
+
js-sys = { version = "0.3.66" }
|
|
21
21
|
lazy_static = "1.4.0"
|
|
22
22
|
console_log = { version = "1.0.0", features = ["color"] }
|
|
23
23
|
log = "0.4.20"
|
package/package.json
CHANGED
package/pkg/node/index.d.ts
CHANGED
|
@@ -148,6 +148,13 @@ export function get_blockchain(): Promise<WasmBlockchain>;
|
|
|
148
148
|
*/
|
|
149
149
|
export function get_mempool_txs(): Promise<Array<any>>;
|
|
150
150
|
/**
|
|
151
|
+
* @param {number} major
|
|
152
|
+
* @param {number} minor
|
|
153
|
+
* @param {number} patch
|
|
154
|
+
* @returns {Promise<void>}
|
|
155
|
+
*/
|
|
156
|
+
export function set_wallet_version(major: number, minor: number, patch: number): Promise<void>;
|
|
157
|
+
/**
|
|
151
158
|
*/
|
|
152
159
|
export class SaitoWasm {
|
|
153
160
|
free(): void;
|