saito-wasm 0.1.34 → 0.1.35

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.34"
3
+ version = "0.1.35"
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.34",
3
+ "version": "0.1.35",
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-2c21009cb9d6cc8e/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-5cc3518b115d90fd/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
@@ -2068,28 +2068,18 @@ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2068
2068
  return addHeapObject(ret);
2069
2069
  };
2070
2070
 
2071
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
2072
- const ret = getStringFromWasm0(arg0, arg1);
2073
- return addHeapObject(ret);
2074
- };
2075
-
2076
- module.exports.__wbg_wasmblock_new = function(arg0) {
2077
- const ret = WasmBlock.__wrap(arg0);
2078
- return addHeapObject(ret);
2079
- };
2080
-
2081
- module.exports.__wbg_wasmtransaction_new = function(arg0) {
2082
- const ret = WasmTransaction.__wrap(arg0);
2071
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2072
+ const ret = WasmPeer.__wrap(arg0);
2083
2073
  return addHeapObject(ret);
2084
2074
  };
2085
2075
 
2086
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
2087
- const ret = WasmBlockchain.__wrap(arg0);
2076
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2077
+ const ret = getStringFromWasm0(arg0, arg1);
2088
2078
  return addHeapObject(ret);
2089
2079
  };
2090
2080
 
2091
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2092
- const ret = WasmPeer.__wrap(arg0);
2081
+ module.exports.__wbg_wasmslip_new = function(arg0) {
2082
+ const ret = WasmSlip.__wrap(arg0);
2093
2083
  return addHeapObject(ret);
2094
2084
  };
2095
2085
 
@@ -2098,8 +2088,8 @@ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2098
2088
  return addHeapObject(ret);
2099
2089
  };
2100
2090
 
2101
- module.exports.__wbg_wasmslip_new = function(arg0) {
2102
- const ret = WasmSlip.__wrap(arg0);
2091
+ module.exports.__wbg_wasmtransaction_new = function(arg0) {
2092
+ const ret = WasmTransaction.__wrap(arg0);
2103
2093
  return addHeapObject(ret);
2104
2094
  };
2105
2095
 
@@ -2117,11 +2107,21 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2117
2107
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2118
2108
  };
2119
2109
 
2110
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2111
+ const ret = WasmBlockchain.__wrap(arg0);
2112
+ return addHeapObject(ret);
2113
+ };
2114
+
2120
2115
  module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2121
2116
  const ret = WasmWalletSlip.__wrap(arg0);
2122
2117
  return addHeapObject(ret);
2123
2118
  };
2124
2119
 
2120
+ module.exports.__wbg_wasmblock_new = function(arg0) {
2121
+ const ret = WasmBlock.__wrap(arg0);
2122
+ return addHeapObject(ret);
2123
+ };
2124
+
2125
2125
  module.exports.__wbg_wasmwallet_new = function(arg0) {
2126
2126
  const ret = WasmWallet.__wrap(arg0);
2127
2127
  return addHeapObject(ret);
@@ -2163,25 +2163,25 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
2163
2163
  return ret;
2164
2164
  };
2165
2165
 
2166
- module.exports.__wbg_sendmessage_b6cd15352c0033d3 = function(arg0, arg1) {
2166
+ module.exports.__wbg_sendmessage_c790cf44c6c829fa = function(arg0, arg1) {
2167
2167
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2168
2168
  };
2169
2169
 
2170
- module.exports.__wbg_sendmessagetoall_9308a5233bd0ad97 = function(arg0, arg1) {
2170
+ module.exports.__wbg_sendmessagetoall_bcd925f5ddeaaaba = function(arg0, arg1) {
2171
2171
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2172
2172
  };
2173
2173
 
2174
- module.exports.__wbg_connecttopeer_e4a11f36ca8ef04d = function() { return handleError(function (arg0) {
2174
+ module.exports.__wbg_connecttopeer_7f9160b6f2f1d150 = 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_a1e921d1caafe4b1 = function() { return handleError(function (arg0) {
2179
+ module.exports.__wbg_disconnectfrompeer_02066143fcf7dd91 = 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_bdb17c5008066ea8 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2184
+ module.exports.__wbg_fetchblockfrompeer_73e81a7ff34c81b7 = 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_bdb17c5008066ea8 = function() { return h
2194
2194
  }
2195
2195
  }, arguments) };
2196
2196
 
2197
- module.exports.__wbg_writevalue_ab654a69549c7331 = function(arg0, arg1, arg2) {
2197
+ module.exports.__wbg_writevalue_d1b8ff0001055c91 = 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_ab654a69549c7331 = function(arg0, arg1, arg2) {
2206
2206
  }
2207
2207
  };
2208
2208
 
2209
- module.exports.__wbg_ensureblockdirectoryexists_d84f0311f80fede8 = function() { return handleError(function (arg0, arg1) {
2209
+ module.exports.__wbg_ensureblockdirectoryexists_11795ecb850c0bf8 = 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_d84f0311f80fede8 = function() {
2218
2218
  }
2219
2219
  }, arguments) };
2220
2220
 
2221
- module.exports.__wbg_readvalue_ddaf37e2705b4e0b = function() { return handleError(function (arg0, arg1) {
2221
+ module.exports.__wbg_readvalue_8e16155df145ffca = 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_ddaf37e2705b4e0b = function() { return handleErro
2231
2231
  }
2232
2232
  }, arguments) };
2233
2233
 
2234
- module.exports.__wbg_loadblockfilelist_90ba19888ab8b80a = function() { return handleError(function () {
2234
+ module.exports.__wbg_loadblockfilelist_ab43b0c7486dd18b = 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_9d7bdd5902c0ec1b = function() { return handleError(function (arg0, arg1) {
2239
+ module.exports.__wbg_isexistingfile_4d17c007f5c9257a = 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_9d7bdd5902c0ec1b = function() { return handl
2249
2249
  }
2250
2250
  }, arguments) };
2251
2251
 
2252
- module.exports.__wbg_removevalue_92b6bdc20ac7302c = function() { return handleError(function (arg0, arg1) {
2252
+ module.exports.__wbg_removevalue_5068b93c5d7fb177 = 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_92b6bdc20ac7302c = function() { return handleEr
2262
2262
  }
2263
2263
  }, arguments) };
2264
2264
 
2265
- module.exports.__wbg_processapicall_49a7a88c3c222f91 = function(arg0, arg1, arg2) {
2265
+ module.exports.__wbg_processapicall_c1b82fcbd100a037 = 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_30e3d63b3e35b07c = function(arg0, arg1, arg2) {
2269
+ module.exports.__wbg_processapisuccess_d97ca45f52e20e58 = 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_5a41c561a7f122df = function(arg0, arg1, arg2) {
2273
+ module.exports.__wbg_processapierror_d8022b3ae1382822 = 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_dcbb913cdc53d886 = function(arg0, arg1, arg2) {
2277
+ module.exports.__wbg_sendinterfaceevent_7a4d4c474262fc41 = 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_dcbb913cdc53d886 = function(arg0, arg1,
2286
2286
  }
2287
2287
  };
2288
2288
 
2289
- module.exports.__wbg_sendblocksuccess_aa98a757628cd322 = function(arg0, arg1, arg2) {
2289
+ module.exports.__wbg_sendblocksuccess_41ff19b732cc1c0a = 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_aa98a757628cd322 = function(arg0, arg1, ar
2298
2298
  }
2299
2299
  };
2300
2300
 
2301
- module.exports.__wbg_sendwalletupdate_422096362b7d277b = function() {
2301
+ module.exports.__wbg_sendwalletupdate_a3ccfe64007cf829 = function() {
2302
2302
  MsgHandler.send_wallet_update();
2303
2303
  };
2304
2304
 
2305
- module.exports.__wbg_sendnewversionalert_d54ed578f08c038c = function(arg0, arg1, arg2) {
2305
+ module.exports.__wbg_sendnewversionalert_ea6800438454790d = 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_d54ed578f08c038c = function(arg0, arg1,
2314
2314
  }
2315
2315
  };
2316
2316
 
2317
- module.exports.__wbg_savewallet_78ec3f34dc8ff175 = function() {
2317
+ module.exports.__wbg_savewallet_d7e7da643635917b = function() {
2318
2318
  MsgHandler.save_wallet();
2319
2319
  };
2320
2320
 
2321
- module.exports.__wbg_loadwallet_b9163f50c5b172dd = function() {
2321
+ module.exports.__wbg_loadwallet_f8e0ae021b57d404 = function() {
2322
2322
  MsgHandler.load_wallet();
2323
2323
  };
2324
2324
 
2325
- module.exports.__wbg_getmyservices_d47f47cbd23e2f64 = function() {
2325
+ module.exports.__wbg_getmyservices_399584228b158896 = 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_wrapper1163 = function(arg0, arg1, arg2) {
2678
+ module.exports.__wbindgen_closure_wrapper1164 = 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.34",
3
+ "version": "0.1.35",
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-2c21009cb9d6cc8e/js/msg_handler.js';
1
+ import { MsgHandler } from './snippets/saito-wasm-5cc3518b115d90fd/js/msg_handler.js';
2
2
 
3
3
  let wasm;
4
4
 
@@ -2115,32 +2115,24 @@ function __wbg_get_imports() {
2115
2115
  const ret = BigInt.asUintN(64, arg0);
2116
2116
  return addHeapObject(ret);
2117
2117
  };
2118
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2119
- const ret = getStringFromWasm0(arg0, arg1);
2120
- return addHeapObject(ret);
2121
- };
2122
- imports.wbg.__wbg_wasmblock_new = function(arg0) {
2123
- const ret = WasmBlock.__wrap(arg0);
2124
- return addHeapObject(ret);
2125
- };
2126
- imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2127
- const ret = WasmTransaction.__wrap(arg0);
2118
+ imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2119
+ const ret = WasmPeer.__wrap(arg0);
2128
2120
  return addHeapObject(ret);
2129
2121
  };
2130
- imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2131
- const ret = WasmBlockchain.__wrap(arg0);
2122
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2123
+ const ret = getStringFromWasm0(arg0, arg1);
2132
2124
  return addHeapObject(ret);
2133
2125
  };
2134
- imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2135
- const ret = WasmPeer.__wrap(arg0);
2126
+ imports.wbg.__wbg_wasmslip_new = function(arg0) {
2127
+ const ret = WasmSlip.__wrap(arg0);
2136
2128
  return addHeapObject(ret);
2137
2129
  };
2138
2130
  imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2139
2131
  const ret = WasmBalanceSnapshot.__wrap(arg0);
2140
2132
  return addHeapObject(ret);
2141
2133
  };
2142
- imports.wbg.__wbg_wasmslip_new = function(arg0) {
2143
- const ret = WasmSlip.__wrap(arg0);
2134
+ imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2135
+ const ret = WasmTransaction.__wrap(arg0);
2144
2136
  return addHeapObject(ret);
2145
2137
  };
2146
2138
  imports.wbg.__wbindgen_is_falsy = function(arg0) {
@@ -2155,10 +2147,18 @@ function __wbg_get_imports() {
2155
2147
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2156
2148
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2157
2149
  };
2150
+ imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2151
+ const ret = WasmBlockchain.__wrap(arg0);
2152
+ return addHeapObject(ret);
2153
+ };
2158
2154
  imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2159
2155
  const ret = WasmWalletSlip.__wrap(arg0);
2160
2156
  return addHeapObject(ret);
2161
2157
  };
2158
+ imports.wbg.__wbg_wasmblock_new = function(arg0) {
2159
+ const ret = WasmBlock.__wrap(arg0);
2160
+ return addHeapObject(ret);
2161
+ };
2162
2162
  imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2163
2163
  const ret = WasmWallet.__wrap(arg0);
2164
2164
  return addHeapObject(ret);
@@ -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_b6cd15352c0033d3 = function(arg0, arg1) {
2195
+ imports.wbg.__wbg_sendmessage_c790cf44c6c829fa = function(arg0, arg1) {
2196
2196
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2197
2197
  };
2198
- imports.wbg.__wbg_sendmessagetoall_9308a5233bd0ad97 = function(arg0, arg1) {
2198
+ imports.wbg.__wbg_sendmessagetoall_bcd925f5ddeaaaba = function(arg0, arg1) {
2199
2199
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2200
2200
  };
2201
- imports.wbg.__wbg_connecttopeer_e4a11f36ca8ef04d = function() { return handleError(function (arg0) {
2201
+ imports.wbg.__wbg_connecttopeer_7f9160b6f2f1d150 = 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_a1e921d1caafe4b1 = function() { return handleError(function (arg0) {
2205
+ imports.wbg.__wbg_disconnectfrompeer_02066143fcf7dd91 = 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_bdb17c5008066ea8 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2209
+ imports.wbg.__wbg_fetchblockfrompeer_73e81a7ff34c81b7 = 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_ab654a69549c7331 = function(arg0, arg1, arg2) {
2221
+ imports.wbg.__wbg_writevalue_d1b8ff0001055c91 = 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_d84f0311f80fede8 = function() { return handleError(function (arg0, arg1) {
2232
+ imports.wbg.__wbg_ensureblockdirectoryexists_11795ecb850c0bf8 = 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_ddaf37e2705b4e0b = function() { return handleError(function (arg0, arg1) {
2243
+ imports.wbg.__wbg_readvalue_8e16155df145ffca = 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_90ba19888ab8b80a = function() { return handleError(function () {
2255
+ imports.wbg.__wbg_loadblockfilelist_ab43b0c7486dd18b = 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_9d7bdd5902c0ec1b = function() { return handleError(function (arg0, arg1) {
2259
+ imports.wbg.__wbg_isexistingfile_4d17c007f5c9257a = 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_92b6bdc20ac7302c = function() { return handleError(function (arg0, arg1) {
2271
+ imports.wbg.__wbg_removevalue_5068b93c5d7fb177 = 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_49a7a88c3c222f91 = function(arg0, arg1, arg2) {
2283
+ imports.wbg.__wbg_processapicall_c1b82fcbd100a037 = 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_30e3d63b3e35b07c = function(arg0, arg1, arg2) {
2286
+ imports.wbg.__wbg_processapisuccess_d97ca45f52e20e58 = 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_5a41c561a7f122df = function(arg0, arg1, arg2) {
2289
+ imports.wbg.__wbg_processapierror_d8022b3ae1382822 = 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_dcbb913cdc53d886 = function(arg0, arg1, arg2) {
2292
+ imports.wbg.__wbg_sendinterfaceevent_7a4d4c474262fc41 = 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_aa98a757628cd322 = function(arg0, arg1, arg2) {
2303
+ imports.wbg.__wbg_sendblocksuccess_41ff19b732cc1c0a = 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_422096362b7d277b = function() {
2314
+ imports.wbg.__wbg_sendwalletupdate_a3ccfe64007cf829 = function() {
2315
2315
  MsgHandler.send_wallet_update();
2316
2316
  };
2317
- imports.wbg.__wbg_sendnewversionalert_d54ed578f08c038c = function(arg0, arg1, arg2) {
2317
+ imports.wbg.__wbg_sendnewversionalert_ea6800438454790d = 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_78ec3f34dc8ff175 = function() {
2328
+ imports.wbg.__wbg_savewallet_d7e7da643635917b = function() {
2329
2329
  MsgHandler.save_wallet();
2330
2330
  };
2331
- imports.wbg.__wbg_loadwallet_b9163f50c5b172dd = function() {
2331
+ imports.wbg.__wbg_loadwallet_f8e0ae021b57d404 = function() {
2332
2332
  MsgHandler.load_wallet();
2333
2333
  };
2334
- imports.wbg.__wbg_getmyservices_d47f47cbd23e2f64 = function() {
2334
+ imports.wbg.__wbg_getmyservices_399584228b158896 = 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_wrapper1163 = function(arg0, arg1, arg2) {
2622
+ imports.wbg.__wbindgen_closure_wrapper1164 = 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.34",
3
+ "version": "0.1.35",
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
- "node-fetch": "^3.3.0",
16
- "cross-env": "^7.0.3"
15
+ "cross-env": "^7.0.3",
16
+ "node-fetch": "^3.3.0"
17
17
  }
18
18
  }