saito-wasm 0.1.35 → 0.1.37

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.35"
3
+ version = "0.1.37"
4
4
  edition = "2021"
5
5
 
6
6
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.1.35",
3
+ "version": "0.1.37",
4
4
  "description": "js wrappings around saito-core using wasm",
5
5
  "scripts": {
6
6
  "test": "./node_modules/.bin/jest",
package/pkg/node/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { MsgHandler } = require(String.raw`./snippets/saito-wasm-5cc3518b115d90fd/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-4fde513803517949/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
@@ -24,15 +24,6 @@ function takeObject(idx) {
24
24
  return ret;
25
25
  }
26
26
 
27
- function addHeapObject(obj) {
28
- if (heap_next === heap.length) heap.push(heap.length + 1);
29
- const idx = heap_next;
30
- heap_next = heap[idx];
31
-
32
- heap[idx] = obj;
33
- return idx;
34
- }
35
-
36
27
  let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
37
28
 
38
29
  cachedTextDecoder.decode();
@@ -51,6 +42,15 @@ function getStringFromWasm0(ptr, len) {
51
42
  return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
52
43
  }
53
44
 
45
+ function addHeapObject(obj) {
46
+ if (heap_next === heap.length) heap.push(heap.length + 1);
47
+ const idx = heap_next;
48
+ heap_next = heap[idx];
49
+
50
+ heap[idx] = obj;
51
+ return idx;
52
+ }
53
+
54
54
  let WASM_VECTOR_LEN = 0;
55
55
 
56
56
  let cachedTextEncoder = new TextEncoder('utf-8');
@@ -2063,13 +2063,8 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
2063
2063
  takeObject(arg0);
2064
2064
  };
2065
2065
 
2066
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2067
- const ret = BigInt.asUintN(64, arg0);
2068
- return addHeapObject(ret);
2069
- };
2070
-
2071
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2072
- const ret = WasmPeer.__wrap(arg0);
2066
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2067
+ const ret = WasmBlockchain.__wrap(arg0);
2073
2068
  return addHeapObject(ret);
2074
2069
  };
2075
2070
 
@@ -2078,13 +2073,13 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2078
2073
  return addHeapObject(ret);
2079
2074
  };
2080
2075
 
2081
- module.exports.__wbg_wasmslip_new = function(arg0) {
2082
- const ret = WasmSlip.__wrap(arg0);
2076
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2077
+ const ret = WasmPeer.__wrap(arg0);
2083
2078
  return addHeapObject(ret);
2084
2079
  };
2085
2080
 
2086
- module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2087
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2081
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2082
+ const ret = BigInt.asUintN(64, arg0);
2088
2083
  return addHeapObject(ret);
2089
2084
  };
2090
2085
 
@@ -2107,8 +2102,13 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2107
2102
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2108
2103
  };
2109
2104
 
2110
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
2111
- const ret = WasmBlockchain.__wrap(arg0);
2105
+ module.exports.__wbg_wasmslip_new = function(arg0) {
2106
+ const ret = WasmSlip.__wrap(arg0);
2107
+ return addHeapObject(ret);
2108
+ };
2109
+
2110
+ module.exports.__wbg_wasmblock_new = function(arg0) {
2111
+ const ret = WasmBlock.__wrap(arg0);
2112
2112
  return addHeapObject(ret);
2113
2113
  };
2114
2114
 
@@ -2117,8 +2117,8 @@ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2117
2117
  return addHeapObject(ret);
2118
2118
  };
2119
2119
 
2120
- module.exports.__wbg_wasmblock_new = function(arg0) {
2121
- const ret = WasmBlock.__wrap(arg0);
2120
+ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2121
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2122
2122
  return addHeapObject(ret);
2123
2123
  };
2124
2124
 
@@ -2163,25 +2163,25 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
2163
2163
  return ret;
2164
2164
  };
2165
2165
 
2166
- module.exports.__wbg_sendmessage_c790cf44c6c829fa = function(arg0, arg1) {
2166
+ module.exports.__wbg_sendmessage_cacc1633c58a074c = function(arg0, arg1) {
2167
2167
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2168
2168
  };
2169
2169
 
2170
- module.exports.__wbg_sendmessagetoall_bcd925f5ddeaaaba = function(arg0, arg1) {
2170
+ module.exports.__wbg_sendmessagetoall_8aae23408c45e240 = function(arg0, arg1) {
2171
2171
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2172
2172
  };
2173
2173
 
2174
- module.exports.__wbg_connecttopeer_7f9160b6f2f1d150 = function() { return handleError(function (arg0) {
2174
+ module.exports.__wbg_connecttopeer_82904ee2f108186f = function() { return handleError(function (arg0) {
2175
2175
  const ret = MsgHandler.connect_to_peer(takeObject(arg0));
2176
2176
  return addHeapObject(ret);
2177
2177
  }, arguments) };
2178
2178
 
2179
- module.exports.__wbg_disconnectfrompeer_02066143fcf7dd91 = function() { return handleError(function (arg0) {
2179
+ module.exports.__wbg_disconnectfrompeer_bf48340e520aef57 = function() { return handleError(function (arg0) {
2180
2180
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2181
2181
  return addHeapObject(ret);
2182
2182
  }, arguments) };
2183
2183
 
2184
- module.exports.__wbg_fetchblockfrompeer_73e81a7ff34c81b7 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2184
+ module.exports.__wbg_fetchblockfrompeer_392ce5ad85fe56b3 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2185
2185
  let deferred0_0;
2186
2186
  let deferred0_1;
2187
2187
  try {
@@ -2194,7 +2194,7 @@ module.exports.__wbg_fetchblockfrompeer_73e81a7ff34c81b7 = function() { return h
2194
2194
  }
2195
2195
  }, arguments) };
2196
2196
 
2197
- module.exports.__wbg_writevalue_d1b8ff0001055c91 = function(arg0, arg1, arg2) {
2197
+ module.exports.__wbg_writevalue_b0997f24d77b68c8 = function(arg0, arg1, arg2) {
2198
2198
  let deferred0_0;
2199
2199
  let deferred0_1;
2200
2200
  try {
@@ -2206,7 +2206,7 @@ module.exports.__wbg_writevalue_d1b8ff0001055c91 = function(arg0, arg1, arg2) {
2206
2206
  }
2207
2207
  };
2208
2208
 
2209
- module.exports.__wbg_ensureblockdirectoryexists_11795ecb850c0bf8 = function() { return handleError(function (arg0, arg1) {
2209
+ module.exports.__wbg_ensureblockdirectoryexists_4fab670f8be038a3 = function() { return handleError(function (arg0, arg1) {
2210
2210
  let deferred0_0;
2211
2211
  let deferred0_1;
2212
2212
  try {
@@ -2218,7 +2218,7 @@ module.exports.__wbg_ensureblockdirectoryexists_11795ecb850c0bf8 = function() {
2218
2218
  }
2219
2219
  }, arguments) };
2220
2220
 
2221
- module.exports.__wbg_readvalue_8e16155df145ffca = function() { return handleError(function (arg0, arg1) {
2221
+ module.exports.__wbg_readvalue_9e346eefdf138a7b = function() { return handleError(function (arg0, arg1) {
2222
2222
  let deferred0_0;
2223
2223
  let deferred0_1;
2224
2224
  try {
@@ -2231,12 +2231,12 @@ module.exports.__wbg_readvalue_8e16155df145ffca = function() { return handleErro
2231
2231
  }
2232
2232
  }, arguments) };
2233
2233
 
2234
- module.exports.__wbg_loadblockfilelist_ab43b0c7486dd18b = function() { return handleError(function () {
2234
+ module.exports.__wbg_loadblockfilelist_b1940ba0c550e15b = function() { return handleError(function () {
2235
2235
  const ret = MsgHandler.load_block_file_list();
2236
2236
  return addHeapObject(ret);
2237
2237
  }, arguments) };
2238
2238
 
2239
- module.exports.__wbg_isexistingfile_4d17c007f5c9257a = function() { return handleError(function (arg0, arg1) {
2239
+ module.exports.__wbg_isexistingfile_c428258f315c2329 = function() { return handleError(function (arg0, arg1) {
2240
2240
  let deferred0_0;
2241
2241
  let deferred0_1;
2242
2242
  try {
@@ -2249,7 +2249,7 @@ module.exports.__wbg_isexistingfile_4d17c007f5c9257a = function() { return handl
2249
2249
  }
2250
2250
  }, arguments) };
2251
2251
 
2252
- module.exports.__wbg_removevalue_5068b93c5d7fb177 = function() { return handleError(function (arg0, arg1) {
2252
+ module.exports.__wbg_removevalue_60ff7bc81200a1fd = function() { return handleError(function (arg0, arg1) {
2253
2253
  let deferred0_0;
2254
2254
  let deferred0_1;
2255
2255
  try {
@@ -2262,19 +2262,19 @@ module.exports.__wbg_removevalue_5068b93c5d7fb177 = function() { return handleEr
2262
2262
  }
2263
2263
  }, arguments) };
2264
2264
 
2265
- module.exports.__wbg_processapicall_c1b82fcbd100a037 = function(arg0, arg1, arg2) {
2265
+ module.exports.__wbg_processapicall_53388418c6dc2ee0 = function(arg0, arg1, arg2) {
2266
2266
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2267
2267
  };
2268
2268
 
2269
- module.exports.__wbg_processapisuccess_d97ca45f52e20e58 = function(arg0, arg1, arg2) {
2269
+ module.exports.__wbg_processapisuccess_3abcb1d3b46bb6f8 = function(arg0, arg1, arg2) {
2270
2270
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2271
2271
  };
2272
2272
 
2273
- module.exports.__wbg_processapierror_d8022b3ae1382822 = function(arg0, arg1, arg2) {
2273
+ module.exports.__wbg_processapierror_8dc42f930dcbc31b = function(arg0, arg1, arg2) {
2274
2274
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2275
2275
  };
2276
2276
 
2277
- module.exports.__wbg_sendinterfaceevent_7a4d4c474262fc41 = function(arg0, arg1, arg2) {
2277
+ module.exports.__wbg_sendinterfaceevent_6e04d907aea8255f = function(arg0, arg1, arg2) {
2278
2278
  let deferred0_0;
2279
2279
  let deferred0_1;
2280
2280
  try {
@@ -2286,7 +2286,7 @@ module.exports.__wbg_sendinterfaceevent_7a4d4c474262fc41 = function(arg0, arg1,
2286
2286
  }
2287
2287
  };
2288
2288
 
2289
- module.exports.__wbg_sendblocksuccess_41ff19b732cc1c0a = function(arg0, arg1, arg2) {
2289
+ module.exports.__wbg_sendblocksuccess_6f6233b48e5e6623 = function(arg0, arg1, arg2) {
2290
2290
  let deferred0_0;
2291
2291
  let deferred0_1;
2292
2292
  try {
@@ -2298,11 +2298,11 @@ module.exports.__wbg_sendblocksuccess_41ff19b732cc1c0a = function(arg0, arg1, ar
2298
2298
  }
2299
2299
  };
2300
2300
 
2301
- module.exports.__wbg_sendwalletupdate_a3ccfe64007cf829 = function() {
2301
+ module.exports.__wbg_sendwalletupdate_12925d15e302267b = function() {
2302
2302
  MsgHandler.send_wallet_update();
2303
2303
  };
2304
2304
 
2305
- module.exports.__wbg_sendnewversionalert_ea6800438454790d = function(arg0, arg1, arg2) {
2305
+ module.exports.__wbg_sendnewversionalert_4d4b165e2d723dfa = function(arg0, arg1, arg2) {
2306
2306
  let deferred0_0;
2307
2307
  let deferred0_1;
2308
2308
  try {
@@ -2314,15 +2314,15 @@ module.exports.__wbg_sendnewversionalert_ea6800438454790d = function(arg0, arg1,
2314
2314
  }
2315
2315
  };
2316
2316
 
2317
- module.exports.__wbg_savewallet_d7e7da643635917b = function() {
2317
+ module.exports.__wbg_savewallet_b2f8f2c828d3d99c = function() {
2318
2318
  MsgHandler.save_wallet();
2319
2319
  };
2320
2320
 
2321
- module.exports.__wbg_loadwallet_f8e0ae021b57d404 = function() {
2321
+ module.exports.__wbg_loadwallet_aa8ecc4dbf870de4 = function() {
2322
2322
  MsgHandler.load_wallet();
2323
2323
  };
2324
2324
 
2325
- module.exports.__wbg_getmyservices_399584228b158896 = function() {
2325
+ module.exports.__wbg_getmyservices_446c9b9dfa416f0e = function() {
2326
2326
  const ret = MsgHandler.get_my_services();
2327
2327
  _assertClass(ret, WasmPeerServiceList);
2328
2328
  var ptr1 = ret.__destroy_into_raw();
@@ -2675,7 +2675,7 @@ module.exports.__wbindgen_memory = function() {
2675
2675
  return addHeapObject(ret);
2676
2676
  };
2677
2677
 
2678
- module.exports.__wbindgen_closure_wrapper1164 = function(arg0, arg1, arg2) {
2678
+ module.exports.__wbindgen_closure_wrapper1163 = function(arg0, arg1, arg2) {
2679
2679
  const ret = makeMutClosure(arg0, arg1, 425, __wbg_adapter_40);
2680
2680
  return addHeapObject(ret);
2681
2681
  };
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.1.35",
3
+ "version": "0.1.37",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",
package/pkg/web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { MsgHandler } from './snippets/saito-wasm-5cc3518b115d90fd/js/msg_handler.js';
1
+ import { MsgHandler } from './snippets/saito-wasm-4fde513803517949/js/msg_handler.js';
2
2
 
3
3
  let wasm;
4
4
 
@@ -22,15 +22,6 @@ function takeObject(idx) {
22
22
  return ret;
23
23
  }
24
24
 
25
- function addHeapObject(obj) {
26
- if (heap_next === heap.length) heap.push(heap.length + 1);
27
- const idx = heap_next;
28
- heap_next = heap[idx];
29
-
30
- heap[idx] = obj;
31
- return idx;
32
- }
33
-
34
25
  const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
35
26
 
36
27
  if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
@@ -49,6 +40,15 @@ function getStringFromWasm0(ptr, len) {
49
40
  return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
50
41
  }
51
42
 
43
+ function addHeapObject(obj) {
44
+ if (heap_next === heap.length) heap.push(heap.length + 1);
45
+ const idx = heap_next;
46
+ heap_next = heap[idx];
47
+
48
+ heap[idx] = obj;
49
+ return idx;
50
+ }
51
+
52
52
  let WASM_VECTOR_LEN = 0;
53
53
 
54
54
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
@@ -2111,24 +2111,20 @@ function __wbg_get_imports() {
2111
2111
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
2112
2112
  takeObject(arg0);
2113
2113
  };
2114
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2115
- const ret = BigInt.asUintN(64, arg0);
2116
- return addHeapObject(ret);
2117
- };
2118
- imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2119
- const ret = WasmPeer.__wrap(arg0);
2114
+ imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2115
+ const ret = WasmBlockchain.__wrap(arg0);
2120
2116
  return addHeapObject(ret);
2121
2117
  };
2122
2118
  imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2123
2119
  const ret = getStringFromWasm0(arg0, arg1);
2124
2120
  return addHeapObject(ret);
2125
2121
  };
2126
- imports.wbg.__wbg_wasmslip_new = function(arg0) {
2127
- const ret = WasmSlip.__wrap(arg0);
2122
+ imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2123
+ const ret = WasmPeer.__wrap(arg0);
2128
2124
  return addHeapObject(ret);
2129
2125
  };
2130
- imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2131
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2126
+ imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2127
+ const ret = BigInt.asUintN(64, arg0);
2132
2128
  return addHeapObject(ret);
2133
2129
  };
2134
2130
  imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
@@ -2147,16 +2143,20 @@ function __wbg_get_imports() {
2147
2143
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2148
2144
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2149
2145
  };
2150
- imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2151
- const ret = WasmBlockchain.__wrap(arg0);
2146
+ imports.wbg.__wbg_wasmslip_new = function(arg0) {
2147
+ const ret = WasmSlip.__wrap(arg0);
2148
+ return addHeapObject(ret);
2149
+ };
2150
+ imports.wbg.__wbg_wasmblock_new = function(arg0) {
2151
+ const ret = WasmBlock.__wrap(arg0);
2152
2152
  return addHeapObject(ret);
2153
2153
  };
2154
2154
  imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2155
2155
  const ret = WasmWalletSlip.__wrap(arg0);
2156
2156
  return addHeapObject(ret);
2157
2157
  };
2158
- imports.wbg.__wbg_wasmblock_new = function(arg0) {
2159
- const ret = WasmBlock.__wrap(arg0);
2158
+ imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2159
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2160
2160
  return addHeapObject(ret);
2161
2161
  };
2162
2162
  imports.wbg.__wbg_wasmwallet_new = function(arg0) {
@@ -2192,21 +2192,21 @@ function __wbg_get_imports() {
2192
2192
  const ret = getObject(arg0) in getObject(arg1);
2193
2193
  return ret;
2194
2194
  };
2195
- imports.wbg.__wbg_sendmessage_c790cf44c6c829fa = function(arg0, arg1) {
2195
+ imports.wbg.__wbg_sendmessage_cacc1633c58a074c = function(arg0, arg1) {
2196
2196
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2197
2197
  };
2198
- imports.wbg.__wbg_sendmessagetoall_bcd925f5ddeaaaba = function(arg0, arg1) {
2198
+ imports.wbg.__wbg_sendmessagetoall_8aae23408c45e240 = function(arg0, arg1) {
2199
2199
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2200
2200
  };
2201
- imports.wbg.__wbg_connecttopeer_7f9160b6f2f1d150 = function() { return handleError(function (arg0) {
2201
+ imports.wbg.__wbg_connecttopeer_82904ee2f108186f = function() { return handleError(function (arg0) {
2202
2202
  const ret = MsgHandler.connect_to_peer(takeObject(arg0));
2203
2203
  return addHeapObject(ret);
2204
2204
  }, arguments) };
2205
- imports.wbg.__wbg_disconnectfrompeer_02066143fcf7dd91 = function() { return handleError(function (arg0) {
2205
+ imports.wbg.__wbg_disconnectfrompeer_bf48340e520aef57 = function() { return handleError(function (arg0) {
2206
2206
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2207
2207
  return addHeapObject(ret);
2208
2208
  }, arguments) };
2209
- imports.wbg.__wbg_fetchblockfrompeer_73e81a7ff34c81b7 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2209
+ imports.wbg.__wbg_fetchblockfrompeer_392ce5ad85fe56b3 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2210
2210
  let deferred0_0;
2211
2211
  let deferred0_1;
2212
2212
  try {
@@ -2218,7 +2218,7 @@ function __wbg_get_imports() {
2218
2218
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2219
2219
  }
2220
2220
  }, arguments) };
2221
- imports.wbg.__wbg_writevalue_d1b8ff0001055c91 = function(arg0, arg1, arg2) {
2221
+ imports.wbg.__wbg_writevalue_b0997f24d77b68c8 = function(arg0, arg1, arg2) {
2222
2222
  let deferred0_0;
2223
2223
  let deferred0_1;
2224
2224
  try {
@@ -2229,7 +2229,7 @@ function __wbg_get_imports() {
2229
2229
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2230
2230
  }
2231
2231
  };
2232
- imports.wbg.__wbg_ensureblockdirectoryexists_11795ecb850c0bf8 = function() { return handleError(function (arg0, arg1) {
2232
+ imports.wbg.__wbg_ensureblockdirectoryexists_4fab670f8be038a3 = function() { return handleError(function (arg0, arg1) {
2233
2233
  let deferred0_0;
2234
2234
  let deferred0_1;
2235
2235
  try {
@@ -2240,7 +2240,7 @@ function __wbg_get_imports() {
2240
2240
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2241
2241
  }
2242
2242
  }, arguments) };
2243
- imports.wbg.__wbg_readvalue_8e16155df145ffca = function() { return handleError(function (arg0, arg1) {
2243
+ imports.wbg.__wbg_readvalue_9e346eefdf138a7b = function() { return handleError(function (arg0, arg1) {
2244
2244
  let deferred0_0;
2245
2245
  let deferred0_1;
2246
2246
  try {
@@ -2252,11 +2252,11 @@ function __wbg_get_imports() {
2252
2252
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2253
2253
  }
2254
2254
  }, arguments) };
2255
- imports.wbg.__wbg_loadblockfilelist_ab43b0c7486dd18b = function() { return handleError(function () {
2255
+ imports.wbg.__wbg_loadblockfilelist_b1940ba0c550e15b = function() { return handleError(function () {
2256
2256
  const ret = MsgHandler.load_block_file_list();
2257
2257
  return addHeapObject(ret);
2258
2258
  }, arguments) };
2259
- imports.wbg.__wbg_isexistingfile_4d17c007f5c9257a = function() { return handleError(function (arg0, arg1) {
2259
+ imports.wbg.__wbg_isexistingfile_c428258f315c2329 = function() { return handleError(function (arg0, arg1) {
2260
2260
  let deferred0_0;
2261
2261
  let deferred0_1;
2262
2262
  try {
@@ -2268,7 +2268,7 @@ function __wbg_get_imports() {
2268
2268
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2269
2269
  }
2270
2270
  }, arguments) };
2271
- imports.wbg.__wbg_removevalue_5068b93c5d7fb177 = function() { return handleError(function (arg0, arg1) {
2271
+ imports.wbg.__wbg_removevalue_60ff7bc81200a1fd = function() { return handleError(function (arg0, arg1) {
2272
2272
  let deferred0_0;
2273
2273
  let deferred0_1;
2274
2274
  try {
@@ -2280,16 +2280,16 @@ function __wbg_get_imports() {
2280
2280
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2281
2281
  }
2282
2282
  }, arguments) };
2283
- imports.wbg.__wbg_processapicall_c1b82fcbd100a037 = function(arg0, arg1, arg2) {
2283
+ imports.wbg.__wbg_processapicall_53388418c6dc2ee0 = function(arg0, arg1, arg2) {
2284
2284
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2285
2285
  };
2286
- imports.wbg.__wbg_processapisuccess_d97ca45f52e20e58 = function(arg0, arg1, arg2) {
2286
+ imports.wbg.__wbg_processapisuccess_3abcb1d3b46bb6f8 = function(arg0, arg1, arg2) {
2287
2287
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2288
2288
  };
2289
- imports.wbg.__wbg_processapierror_d8022b3ae1382822 = function(arg0, arg1, arg2) {
2289
+ imports.wbg.__wbg_processapierror_8dc42f930dcbc31b = function(arg0, arg1, arg2) {
2290
2290
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2291
2291
  };
2292
- imports.wbg.__wbg_sendinterfaceevent_7a4d4c474262fc41 = function(arg0, arg1, arg2) {
2292
+ imports.wbg.__wbg_sendinterfaceevent_6e04d907aea8255f = function(arg0, arg1, arg2) {
2293
2293
  let deferred0_0;
2294
2294
  let deferred0_1;
2295
2295
  try {
@@ -2300,7 +2300,7 @@ function __wbg_get_imports() {
2300
2300
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2301
2301
  }
2302
2302
  };
2303
- imports.wbg.__wbg_sendblocksuccess_41ff19b732cc1c0a = function(arg0, arg1, arg2) {
2303
+ imports.wbg.__wbg_sendblocksuccess_6f6233b48e5e6623 = function(arg0, arg1, arg2) {
2304
2304
  let deferred0_0;
2305
2305
  let deferred0_1;
2306
2306
  try {
@@ -2311,10 +2311,10 @@ function __wbg_get_imports() {
2311
2311
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2312
2312
  }
2313
2313
  };
2314
- imports.wbg.__wbg_sendwalletupdate_a3ccfe64007cf829 = function() {
2314
+ imports.wbg.__wbg_sendwalletupdate_12925d15e302267b = function() {
2315
2315
  MsgHandler.send_wallet_update();
2316
2316
  };
2317
- imports.wbg.__wbg_sendnewversionalert_ea6800438454790d = function(arg0, arg1, arg2) {
2317
+ imports.wbg.__wbg_sendnewversionalert_4d4b165e2d723dfa = function(arg0, arg1, arg2) {
2318
2318
  let deferred0_0;
2319
2319
  let deferred0_1;
2320
2320
  try {
@@ -2325,13 +2325,13 @@ function __wbg_get_imports() {
2325
2325
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2326
2326
  }
2327
2327
  };
2328
- imports.wbg.__wbg_savewallet_d7e7da643635917b = function() {
2328
+ imports.wbg.__wbg_savewallet_b2f8f2c828d3d99c = function() {
2329
2329
  MsgHandler.save_wallet();
2330
2330
  };
2331
- imports.wbg.__wbg_loadwallet_f8e0ae021b57d404 = function() {
2331
+ imports.wbg.__wbg_loadwallet_aa8ecc4dbf870de4 = function() {
2332
2332
  MsgHandler.load_wallet();
2333
2333
  };
2334
- imports.wbg.__wbg_getmyservices_399584228b158896 = function() {
2334
+ imports.wbg.__wbg_getmyservices_446c9b9dfa416f0e = function() {
2335
2335
  const ret = MsgHandler.get_my_services();
2336
2336
  _assertClass(ret, WasmPeerServiceList);
2337
2337
  var ptr1 = ret.__destroy_into_raw();
@@ -2619,7 +2619,7 @@ function __wbg_get_imports() {
2619
2619
  const ret = wasm.memory;
2620
2620
  return addHeapObject(ret);
2621
2621
  };
2622
- imports.wbg.__wbindgen_closure_wrapper1164 = function(arg0, arg1, arg2) {
2622
+ imports.wbg.__wbindgen_closure_wrapper1163 = function(arg0, arg1, arg2) {
2623
2623
  const ret = makeMutClosure(arg0, arg1, 425, __wbg_adapter_40);
2624
2624
  return addHeapObject(ret);
2625
2625
  };
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.1.35",
3
+ "version": "0.1.37",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",