saito-wasm 0.1.40 → 0.1.41

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.40"
3
+ version = "0.1.41"
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.40",
3
+ "version": "0.1.41",
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-b7b21a1e80a512e0/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-40c9f302152100d5/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
@@ -2125,16 +2125,6 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
2125
2125
  takeObject(arg0);
2126
2126
  };
2127
2127
 
2128
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2129
- const ret = WasmWalletSlip.__wrap(arg0);
2130
- return addHeapObject(ret);
2131
- };
2132
-
2133
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2134
- const ret = WasmPeer.__wrap(arg0);
2135
- return addHeapObject(ret);
2136
- };
2137
-
2138
2128
  module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2139
2129
  const ret = BigInt.asUintN(64, arg0);
2140
2130
  return addHeapObject(ret);
@@ -2145,6 +2135,11 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2145
2135
  return addHeapObject(ret);
2146
2136
  };
2147
2137
 
2138
+ module.exports.__wbg_wasmslip_new = function(arg0) {
2139
+ const ret = WasmSlip.__wrap(arg0);
2140
+ return addHeapObject(ret);
2141
+ };
2142
+
2148
2143
  module.exports.__wbg_wasmtransaction_new = function(arg0) {
2149
2144
  const ret = WasmTransaction.__wrap(arg0);
2150
2145
  return addHeapObject(ret);
@@ -2155,6 +2150,16 @@ module.exports.__wbg_wasmwallet_new = function(arg0) {
2155
2150
  return addHeapObject(ret);
2156
2151
  };
2157
2152
 
2153
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2154
+ const ret = WasmPeer.__wrap(arg0);
2155
+ return addHeapObject(ret);
2156
+ };
2157
+
2158
+ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2159
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2160
+ return addHeapObject(ret);
2161
+ };
2162
+
2158
2163
  module.exports.__wbindgen_is_falsy = function(arg0) {
2159
2164
  const ret = !getObject(arg0);
2160
2165
  return ret;
@@ -2169,11 +2174,6 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2169
2174
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2170
2175
  };
2171
2176
 
2172
- module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2173
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2174
- return addHeapObject(ret);
2175
- };
2176
-
2177
2177
  module.exports.__wbg_wasmblockchain_new = function(arg0) {
2178
2178
  const ret = WasmBlockchain.__wrap(arg0);
2179
2179
  return addHeapObject(ret);
@@ -2184,8 +2184,8 @@ module.exports.__wbg_wasmblock_new = function(arg0) {
2184
2184
  return addHeapObject(ret);
2185
2185
  };
2186
2186
 
2187
- module.exports.__wbg_wasmslip_new = function(arg0) {
2188
- const ret = WasmSlip.__wrap(arg0);
2187
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2188
+ const ret = WasmWalletSlip.__wrap(arg0);
2189
2189
  return addHeapObject(ret);
2190
2190
  };
2191
2191
 
@@ -2225,25 +2225,25 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
2225
2225
  return ret;
2226
2226
  };
2227
2227
 
2228
- module.exports.__wbg_sendmessage_86f604b53afe5f7f = function(arg0, arg1) {
2228
+ module.exports.__wbg_sendmessage_a0538d075fac7f97 = function(arg0, arg1) {
2229
2229
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2230
2230
  };
2231
2231
 
2232
- module.exports.__wbg_sendmessagetoall_e3a2af8db47ada10 = function(arg0, arg1) {
2232
+ module.exports.__wbg_sendmessagetoall_6ebb63654acc64ba = function(arg0, arg1) {
2233
2233
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2234
2234
  };
2235
2235
 
2236
- module.exports.__wbg_connecttopeer_74f650947cb2bd17 = function() { return handleError(function (arg0) {
2236
+ module.exports.__wbg_connecttopeer_189c065255cb49ac = function() { return handleError(function (arg0) {
2237
2237
  const ret = MsgHandler.connect_to_peer(takeObject(arg0));
2238
2238
  return addHeapObject(ret);
2239
2239
  }, arguments) };
2240
2240
 
2241
- module.exports.__wbg_disconnectfrompeer_f1f637f3dc56c77e = function() { return handleError(function (arg0) {
2241
+ module.exports.__wbg_disconnectfrompeer_542a1fe95005d95e = function() { return handleError(function (arg0) {
2242
2242
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2243
2243
  return addHeapObject(ret);
2244
2244
  }, arguments) };
2245
2245
 
2246
- module.exports.__wbg_fetchblockfrompeer_93d32fc2c692c331 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2246
+ module.exports.__wbg_fetchblockfrompeer_8269d2ad1c635af5 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2247
2247
  let deferred0_0;
2248
2248
  let deferred0_1;
2249
2249
  try {
@@ -2256,7 +2256,7 @@ module.exports.__wbg_fetchblockfrompeer_93d32fc2c692c331 = function() { return h
2256
2256
  }
2257
2257
  }, arguments) };
2258
2258
 
2259
- module.exports.__wbg_writevalue_08d0e3e57589f29c = function(arg0, arg1, arg2) {
2259
+ module.exports.__wbg_writevalue_991db9848cba0521 = function(arg0, arg1, arg2) {
2260
2260
  let deferred0_0;
2261
2261
  let deferred0_1;
2262
2262
  try {
@@ -2268,7 +2268,7 @@ module.exports.__wbg_writevalue_08d0e3e57589f29c = function(arg0, arg1, arg2) {
2268
2268
  }
2269
2269
  };
2270
2270
 
2271
- module.exports.__wbg_ensureblockdirectoryexists_5c38e8ffc35f896c = function() { return handleError(function (arg0, arg1) {
2271
+ module.exports.__wbg_ensureblockdirectoryexists_e52d4dab0961d5db = function() { return handleError(function (arg0, arg1) {
2272
2272
  let deferred0_0;
2273
2273
  let deferred0_1;
2274
2274
  try {
@@ -2280,7 +2280,7 @@ module.exports.__wbg_ensureblockdirectoryexists_5c38e8ffc35f896c = function() {
2280
2280
  }
2281
2281
  }, arguments) };
2282
2282
 
2283
- module.exports.__wbg_readvalue_08350223f45f9b13 = function() { return handleError(function (arg0, arg1) {
2283
+ module.exports.__wbg_readvalue_1d63f1ef1493c3ef = function() { return handleError(function (arg0, arg1) {
2284
2284
  let deferred0_0;
2285
2285
  let deferred0_1;
2286
2286
  try {
@@ -2293,12 +2293,12 @@ module.exports.__wbg_readvalue_08350223f45f9b13 = function() { return handleErro
2293
2293
  }
2294
2294
  }, arguments) };
2295
2295
 
2296
- module.exports.__wbg_loadblockfilelist_b5aa989614fd1001 = function() { return handleError(function () {
2296
+ module.exports.__wbg_loadblockfilelist_91a7e8bab5946a15 = function() { return handleError(function () {
2297
2297
  const ret = MsgHandler.load_block_file_list();
2298
2298
  return addHeapObject(ret);
2299
2299
  }, arguments) };
2300
2300
 
2301
- module.exports.__wbg_isexistingfile_327e46029fbeadaf = function() { return handleError(function (arg0, arg1) {
2301
+ module.exports.__wbg_isexistingfile_fc490ffb57774753 = function() { return handleError(function (arg0, arg1) {
2302
2302
  let deferred0_0;
2303
2303
  let deferred0_1;
2304
2304
  try {
@@ -2311,7 +2311,7 @@ module.exports.__wbg_isexistingfile_327e46029fbeadaf = function() { return handl
2311
2311
  }
2312
2312
  }, arguments) };
2313
2313
 
2314
- module.exports.__wbg_removevalue_6681be5b6a5c8e73 = function() { return handleError(function (arg0, arg1) {
2314
+ module.exports.__wbg_removevalue_d73c801e25353475 = function() { return handleError(function (arg0, arg1) {
2315
2315
  let deferred0_0;
2316
2316
  let deferred0_1;
2317
2317
  try {
@@ -2324,19 +2324,19 @@ module.exports.__wbg_removevalue_6681be5b6a5c8e73 = function() { return handleEr
2324
2324
  }
2325
2325
  }, arguments) };
2326
2326
 
2327
- module.exports.__wbg_processapicall_dcfbdb976e2bc690 = function(arg0, arg1, arg2) {
2327
+ module.exports.__wbg_processapicall_28f4fca3568c1b00 = function(arg0, arg1, arg2) {
2328
2328
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2329
2329
  };
2330
2330
 
2331
- module.exports.__wbg_processapisuccess_4f4e20ad5c5e90e3 = function(arg0, arg1, arg2) {
2331
+ module.exports.__wbg_processapisuccess_fada0a70c463d3c1 = function(arg0, arg1, arg2) {
2332
2332
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2333
2333
  };
2334
2334
 
2335
- module.exports.__wbg_processapierror_26b825a3c40bed2e = function(arg0, arg1, arg2) {
2335
+ module.exports.__wbg_processapierror_a699cace1ab55f27 = function(arg0, arg1, arg2) {
2336
2336
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2337
2337
  };
2338
2338
 
2339
- module.exports.__wbg_sendinterfaceevent_2dfdde95645c0d86 = function(arg0, arg1, arg2) {
2339
+ module.exports.__wbg_sendinterfaceevent_5eb8deb83b907e8b = function(arg0, arg1, arg2) {
2340
2340
  let deferred0_0;
2341
2341
  let deferred0_1;
2342
2342
  try {
@@ -2348,7 +2348,7 @@ module.exports.__wbg_sendinterfaceevent_2dfdde95645c0d86 = function(arg0, arg1,
2348
2348
  }
2349
2349
  };
2350
2350
 
2351
- module.exports.__wbg_sendblocksuccess_7256b9cac30d2087 = function(arg0, arg1, arg2) {
2351
+ module.exports.__wbg_sendblocksuccess_809a0c0b0e69441d = function(arg0, arg1, arg2) {
2352
2352
  let deferred0_0;
2353
2353
  let deferred0_1;
2354
2354
  try {
@@ -2360,11 +2360,11 @@ module.exports.__wbg_sendblocksuccess_7256b9cac30d2087 = function(arg0, arg1, ar
2360
2360
  }
2361
2361
  };
2362
2362
 
2363
- module.exports.__wbg_sendwalletupdate_9d912b809e0d1406 = function() {
2363
+ module.exports.__wbg_sendwalletupdate_09d859adb0ea14a9 = function() {
2364
2364
  MsgHandler.send_wallet_update();
2365
2365
  };
2366
2366
 
2367
- module.exports.__wbg_sendnewversionalert_6eee711daed05a62 = function(arg0, arg1, arg2) {
2367
+ module.exports.__wbg_sendnewversionalert_1e35e1a7d102f40b = function(arg0, arg1, arg2) {
2368
2368
  let deferred0_0;
2369
2369
  let deferred0_1;
2370
2370
  try {
@@ -2376,15 +2376,15 @@ module.exports.__wbg_sendnewversionalert_6eee711daed05a62 = function(arg0, arg1,
2376
2376
  }
2377
2377
  };
2378
2378
 
2379
- module.exports.__wbg_savewallet_9d07a4756bc82918 = function() {
2379
+ module.exports.__wbg_savewallet_0a9f3489e1d6a2c4 = function() {
2380
2380
  MsgHandler.save_wallet();
2381
2381
  };
2382
2382
 
2383
- module.exports.__wbg_loadwallet_42c5bf1d41ef4423 = function() {
2383
+ module.exports.__wbg_loadwallet_3e50826561a1f1b4 = function() {
2384
2384
  MsgHandler.load_wallet();
2385
2385
  };
2386
2386
 
2387
- module.exports.__wbg_getmyservices_4e4422d2d026734d = function() {
2387
+ module.exports.__wbg_getmyservices_ee748c7b35d60b74 = function() {
2388
2388
  const ret = MsgHandler.get_my_services();
2389
2389
  _assertClass(ret, WasmPeerServiceList);
2390
2390
  var ptr1 = ret.__destroy_into_raw();
@@ -2737,8 +2737,8 @@ module.exports.__wbindgen_memory = function() {
2737
2737
  return addHeapObject(ret);
2738
2738
  };
2739
2739
 
2740
- module.exports.__wbindgen_closure_wrapper1165 = function(arg0, arg1, arg2) {
2741
- const ret = makeMutClosure(arg0, arg1, 427, __wbg_adapter_40);
2740
+ module.exports.__wbindgen_closure_wrapper1166 = function(arg0, arg1, arg2) {
2741
+ const ret = makeMutClosure(arg0, arg1, 428, __wbg_adapter_40);
2742
2742
  return addHeapObject(ret);
2743
2743
  };
2744
2744
 
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",
@@ -9,7 +9,7 @@
9
9
  "main": "index.js",
10
10
  "types": "index.d.ts",
11
11
  "dependencies": {
12
- "node-fetch": "^3.3.0",
13
- "cross-env": "^7.0.3"
12
+ "cross-env": "^7.0.3",
13
+ "node-fetch": "^3.3.0"
14
14
  }
15
15
  }
package/pkg/web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { MsgHandler } from './snippets/saito-wasm-b7b21a1e80a512e0/js/msg_handler.js';
1
+ import { MsgHandler } from './snippets/saito-wasm-40c9f302152100d5/js/msg_handler.js';
2
2
 
3
3
  let wasm;
4
4
 
@@ -2142,14 +2142,6 @@ function __wbg_get_imports() {
2142
2142
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
2143
2143
  takeObject(arg0);
2144
2144
  };
2145
- imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2146
- const ret = WasmWalletSlip.__wrap(arg0);
2147
- return addHeapObject(ret);
2148
- };
2149
- imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2150
- const ret = WasmPeer.__wrap(arg0);
2151
- return addHeapObject(ret);
2152
- };
2153
2145
  imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2154
2146
  const ret = BigInt.asUintN(64, arg0);
2155
2147
  return addHeapObject(ret);
@@ -2158,6 +2150,10 @@ function __wbg_get_imports() {
2158
2150
  const ret = getStringFromWasm0(arg0, arg1);
2159
2151
  return addHeapObject(ret);
2160
2152
  };
2153
+ imports.wbg.__wbg_wasmslip_new = function(arg0) {
2154
+ const ret = WasmSlip.__wrap(arg0);
2155
+ return addHeapObject(ret);
2156
+ };
2161
2157
  imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2162
2158
  const ret = WasmTransaction.__wrap(arg0);
2163
2159
  return addHeapObject(ret);
@@ -2166,6 +2162,14 @@ function __wbg_get_imports() {
2166
2162
  const ret = WasmWallet.__wrap(arg0);
2167
2163
  return addHeapObject(ret);
2168
2164
  };
2165
+ imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2166
+ const ret = WasmPeer.__wrap(arg0);
2167
+ return addHeapObject(ret);
2168
+ };
2169
+ imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2170
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2171
+ return addHeapObject(ret);
2172
+ };
2169
2173
  imports.wbg.__wbindgen_is_falsy = function(arg0) {
2170
2174
  const ret = !getObject(arg0);
2171
2175
  return ret;
@@ -2178,10 +2182,6 @@ function __wbg_get_imports() {
2178
2182
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2179
2183
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2180
2184
  };
2181
- imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2182
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2183
- return addHeapObject(ret);
2184
- };
2185
2185
  imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2186
2186
  const ret = WasmBlockchain.__wrap(arg0);
2187
2187
  return addHeapObject(ret);
@@ -2190,8 +2190,8 @@ function __wbg_get_imports() {
2190
2190
  const ret = WasmBlock.__wrap(arg0);
2191
2191
  return addHeapObject(ret);
2192
2192
  };
2193
- imports.wbg.__wbg_wasmslip_new = function(arg0) {
2194
- const ret = WasmSlip.__wrap(arg0);
2193
+ imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2194
+ const ret = WasmWalletSlip.__wrap(arg0);
2195
2195
  return addHeapObject(ret);
2196
2196
  };
2197
2197
  imports.wbg.__wbg_wasmpeerservice_new = function(arg0) {
@@ -2223,21 +2223,21 @@ function __wbg_get_imports() {
2223
2223
  const ret = getObject(arg0) in getObject(arg1);
2224
2224
  return ret;
2225
2225
  };
2226
- imports.wbg.__wbg_sendmessage_86f604b53afe5f7f = function(arg0, arg1) {
2226
+ imports.wbg.__wbg_sendmessage_a0538d075fac7f97 = function(arg0, arg1) {
2227
2227
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2228
2228
  };
2229
- imports.wbg.__wbg_sendmessagetoall_e3a2af8db47ada10 = function(arg0, arg1) {
2229
+ imports.wbg.__wbg_sendmessagetoall_6ebb63654acc64ba = function(arg0, arg1) {
2230
2230
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2231
2231
  };
2232
- imports.wbg.__wbg_connecttopeer_74f650947cb2bd17 = function() { return handleError(function (arg0) {
2232
+ imports.wbg.__wbg_connecttopeer_189c065255cb49ac = function() { return handleError(function (arg0) {
2233
2233
  const ret = MsgHandler.connect_to_peer(takeObject(arg0));
2234
2234
  return addHeapObject(ret);
2235
2235
  }, arguments) };
2236
- imports.wbg.__wbg_disconnectfrompeer_f1f637f3dc56c77e = function() { return handleError(function (arg0) {
2236
+ imports.wbg.__wbg_disconnectfrompeer_542a1fe95005d95e = function() { return handleError(function (arg0) {
2237
2237
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2238
2238
  return addHeapObject(ret);
2239
2239
  }, arguments) };
2240
- imports.wbg.__wbg_fetchblockfrompeer_93d32fc2c692c331 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2240
+ imports.wbg.__wbg_fetchblockfrompeer_8269d2ad1c635af5 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2241
2241
  let deferred0_0;
2242
2242
  let deferred0_1;
2243
2243
  try {
@@ -2249,7 +2249,7 @@ function __wbg_get_imports() {
2249
2249
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2250
2250
  }
2251
2251
  }, arguments) };
2252
- imports.wbg.__wbg_writevalue_08d0e3e57589f29c = function(arg0, arg1, arg2) {
2252
+ imports.wbg.__wbg_writevalue_991db9848cba0521 = function(arg0, arg1, arg2) {
2253
2253
  let deferred0_0;
2254
2254
  let deferred0_1;
2255
2255
  try {
@@ -2260,7 +2260,7 @@ function __wbg_get_imports() {
2260
2260
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2261
2261
  }
2262
2262
  };
2263
- imports.wbg.__wbg_ensureblockdirectoryexists_5c38e8ffc35f896c = function() { return handleError(function (arg0, arg1) {
2263
+ imports.wbg.__wbg_ensureblockdirectoryexists_e52d4dab0961d5db = function() { return handleError(function (arg0, arg1) {
2264
2264
  let deferred0_0;
2265
2265
  let deferred0_1;
2266
2266
  try {
@@ -2271,7 +2271,7 @@ function __wbg_get_imports() {
2271
2271
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2272
2272
  }
2273
2273
  }, arguments) };
2274
- imports.wbg.__wbg_readvalue_08350223f45f9b13 = function() { return handleError(function (arg0, arg1) {
2274
+ imports.wbg.__wbg_readvalue_1d63f1ef1493c3ef = function() { return handleError(function (arg0, arg1) {
2275
2275
  let deferred0_0;
2276
2276
  let deferred0_1;
2277
2277
  try {
@@ -2283,11 +2283,11 @@ function __wbg_get_imports() {
2283
2283
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2284
2284
  }
2285
2285
  }, arguments) };
2286
- imports.wbg.__wbg_loadblockfilelist_b5aa989614fd1001 = function() { return handleError(function () {
2286
+ imports.wbg.__wbg_loadblockfilelist_91a7e8bab5946a15 = function() { return handleError(function () {
2287
2287
  const ret = MsgHandler.load_block_file_list();
2288
2288
  return addHeapObject(ret);
2289
2289
  }, arguments) };
2290
- imports.wbg.__wbg_isexistingfile_327e46029fbeadaf = function() { return handleError(function (arg0, arg1) {
2290
+ imports.wbg.__wbg_isexistingfile_fc490ffb57774753 = function() { return handleError(function (arg0, arg1) {
2291
2291
  let deferred0_0;
2292
2292
  let deferred0_1;
2293
2293
  try {
@@ -2299,7 +2299,7 @@ function __wbg_get_imports() {
2299
2299
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2300
2300
  }
2301
2301
  }, arguments) };
2302
- imports.wbg.__wbg_removevalue_6681be5b6a5c8e73 = function() { return handleError(function (arg0, arg1) {
2302
+ imports.wbg.__wbg_removevalue_d73c801e25353475 = function() { return handleError(function (arg0, arg1) {
2303
2303
  let deferred0_0;
2304
2304
  let deferred0_1;
2305
2305
  try {
@@ -2311,16 +2311,16 @@ function __wbg_get_imports() {
2311
2311
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2312
2312
  }
2313
2313
  }, arguments) };
2314
- imports.wbg.__wbg_processapicall_dcfbdb976e2bc690 = function(arg0, arg1, arg2) {
2314
+ imports.wbg.__wbg_processapicall_28f4fca3568c1b00 = function(arg0, arg1, arg2) {
2315
2315
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2316
2316
  };
2317
- imports.wbg.__wbg_processapisuccess_4f4e20ad5c5e90e3 = function(arg0, arg1, arg2) {
2317
+ imports.wbg.__wbg_processapisuccess_fada0a70c463d3c1 = function(arg0, arg1, arg2) {
2318
2318
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2319
2319
  };
2320
- imports.wbg.__wbg_processapierror_26b825a3c40bed2e = function(arg0, arg1, arg2) {
2320
+ imports.wbg.__wbg_processapierror_a699cace1ab55f27 = function(arg0, arg1, arg2) {
2321
2321
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2322
2322
  };
2323
- imports.wbg.__wbg_sendinterfaceevent_2dfdde95645c0d86 = function(arg0, arg1, arg2) {
2323
+ imports.wbg.__wbg_sendinterfaceevent_5eb8deb83b907e8b = function(arg0, arg1, arg2) {
2324
2324
  let deferred0_0;
2325
2325
  let deferred0_1;
2326
2326
  try {
@@ -2331,7 +2331,7 @@ function __wbg_get_imports() {
2331
2331
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2332
2332
  }
2333
2333
  };
2334
- imports.wbg.__wbg_sendblocksuccess_7256b9cac30d2087 = function(arg0, arg1, arg2) {
2334
+ imports.wbg.__wbg_sendblocksuccess_809a0c0b0e69441d = function(arg0, arg1, arg2) {
2335
2335
  let deferred0_0;
2336
2336
  let deferred0_1;
2337
2337
  try {
@@ -2342,10 +2342,10 @@ function __wbg_get_imports() {
2342
2342
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2343
2343
  }
2344
2344
  };
2345
- imports.wbg.__wbg_sendwalletupdate_9d912b809e0d1406 = function() {
2345
+ imports.wbg.__wbg_sendwalletupdate_09d859adb0ea14a9 = function() {
2346
2346
  MsgHandler.send_wallet_update();
2347
2347
  };
2348
- imports.wbg.__wbg_sendnewversionalert_6eee711daed05a62 = function(arg0, arg1, arg2) {
2348
+ imports.wbg.__wbg_sendnewversionalert_1e35e1a7d102f40b = function(arg0, arg1, arg2) {
2349
2349
  let deferred0_0;
2350
2350
  let deferred0_1;
2351
2351
  try {
@@ -2356,13 +2356,13 @@ function __wbg_get_imports() {
2356
2356
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2357
2357
  }
2358
2358
  };
2359
- imports.wbg.__wbg_savewallet_9d07a4756bc82918 = function() {
2359
+ imports.wbg.__wbg_savewallet_0a9f3489e1d6a2c4 = function() {
2360
2360
  MsgHandler.save_wallet();
2361
2361
  };
2362
- imports.wbg.__wbg_loadwallet_42c5bf1d41ef4423 = function() {
2362
+ imports.wbg.__wbg_loadwallet_3e50826561a1f1b4 = function() {
2363
2363
  MsgHandler.load_wallet();
2364
2364
  };
2365
- imports.wbg.__wbg_getmyservices_4e4422d2d026734d = function() {
2365
+ imports.wbg.__wbg_getmyservices_ee748c7b35d60b74 = function() {
2366
2366
  const ret = MsgHandler.get_my_services();
2367
2367
  _assertClass(ret, WasmPeerServiceList);
2368
2368
  var ptr1 = ret.__destroy_into_raw();
@@ -2650,8 +2650,8 @@ function __wbg_get_imports() {
2650
2650
  const ret = wasm.memory;
2651
2651
  return addHeapObject(ret);
2652
2652
  };
2653
- imports.wbg.__wbindgen_closure_wrapper1165 = function(arg0, arg1, arg2) {
2654
- const ret = makeMutClosure(arg0, arg1, 427, __wbg_adapter_40);
2653
+ imports.wbg.__wbindgen_closure_wrapper1166 = function(arg0, arg1, arg2) {
2654
+ const ret = makeMutClosure(arg0, arg1, 428, __wbg_adapter_40);
2655
2655
  return addHeapObject(ret);
2656
2656
  };
2657
2657
 
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",
@@ -12,7 +12,7 @@
12
12
  "./snippets/*"
13
13
  ],
14
14
  "dependencies": {
15
- "cross-env": "^7.0.3",
16
- "node-fetch": "^3.3.0"
15
+ "node-fetch": "^3.3.0",
16
+ "cross-env": "^7.0.3"
17
17
  }
18
18
  }