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 CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "saito-wasm"
3
- version = "0.1.26"
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.88" }
13
- wasm-bindgen-futures = "0.4.38"
14
- serde = { version = "1.0.192", features = ["derive"] }
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.65"
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.65" }
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "description": "js wrappings around saito-core using wasm",
5
5
  "scripts": {
6
6
  "test": "./node_modules/.bin/jest",
@@ -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;