saito-wasm 0.0.35 → 0.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.0.35",
3
+ "version": "0.1.1",
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
@@ -1411,8 +1411,8 @@ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
1411
1411
  return addHeapObject(ret);
1412
1412
  };
1413
1413
 
1414
- module.exports.__wbg_wasmtransaction_new = function(arg0) {
1415
- const ret = WasmTransaction.__wrap(arg0);
1414
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
1415
+ const ret = WasmPeer.__wrap(arg0);
1416
1416
  return addHeapObject(ret);
1417
1417
  };
1418
1418
 
@@ -1426,8 +1426,18 @@ module.exports.__wbg_wasmblock_new = function(arg0) {
1426
1426
  return addHeapObject(ret);
1427
1427
  };
1428
1428
 
1429
- module.exports.__wbg_wasmpeer_new = function(arg0) {
1430
- const ret = WasmPeer.__wrap(arg0);
1429
+ module.exports.__wbg_wasmtransaction_new = function(arg0) {
1430
+ const ret = WasmTransaction.__wrap(arg0);
1431
+ return addHeapObject(ret);
1432
+ };
1433
+
1434
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
1435
+ const ret = WasmBlockchain.__wrap(arg0);
1436
+ return addHeapObject(ret);
1437
+ };
1438
+
1439
+ module.exports.__wbg_wasmwallet_new = function(arg0) {
1440
+ const ret = WasmWallet.__wrap(arg0);
1431
1441
  return addHeapObject(ret);
1432
1442
  };
1433
1443
 
@@ -1445,16 +1455,6 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
1445
1455
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1446
1456
  };
1447
1457
 
1448
- module.exports.__wbg_wasmwallet_new = function(arg0) {
1449
- const ret = WasmWallet.__wrap(arg0);
1450
- return addHeapObject(ret);
1451
- };
1452
-
1453
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
1454
- const ret = WasmBlockchain.__wrap(arg0);
1455
- return addHeapObject(ret);
1456
- };
1457
-
1458
1458
  module.exports.__wbindgen_is_object = function(arg0) {
1459
1459
  const val = getObject(arg0);
1460
1460
  const ret = typeof(val) === 'object' && val !== null;
Binary file
@@ -9,7 +9,7 @@
9
9
  "main": "index.js",
10
10
  "types": "index.d.ts",
11
11
  "dependencies": {
12
- "cross-env": "^7.0.3",
13
- "node-fetch": "^3.3.0"
12
+ "node-fetch": "^3.3.0",
13
+ "cross-env": "^7.0.3"
14
14
  }
15
15
  }
package/pkg/web/index.js CHANGED
@@ -1454,8 +1454,8 @@ function __wbg_get_imports() {
1454
1454
  const ret = BigInt.asUintN(64, arg0);
1455
1455
  return addHeapObject(ret);
1456
1456
  };
1457
- imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
1458
- const ret = WasmTransaction.__wrap(arg0);
1457
+ imports.wbg.__wbg_wasmpeer_new = function(arg0) {
1458
+ const ret = WasmPeer.__wrap(arg0);
1459
1459
  return addHeapObject(ret);
1460
1460
  };
1461
1461
  imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
@@ -1466,8 +1466,16 @@ function __wbg_get_imports() {
1466
1466
  const ret = WasmBlock.__wrap(arg0);
1467
1467
  return addHeapObject(ret);
1468
1468
  };
1469
- imports.wbg.__wbg_wasmpeer_new = function(arg0) {
1470
- const ret = WasmPeer.__wrap(arg0);
1469
+ imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
1470
+ const ret = WasmTransaction.__wrap(arg0);
1471
+ return addHeapObject(ret);
1472
+ };
1473
+ imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
1474
+ const ret = WasmBlockchain.__wrap(arg0);
1475
+ return addHeapObject(ret);
1476
+ };
1477
+ imports.wbg.__wbg_wasmwallet_new = function(arg0) {
1478
+ const ret = WasmWallet.__wrap(arg0);
1471
1479
  return addHeapObject(ret);
1472
1480
  };
1473
1481
  imports.wbg.__wbindgen_is_falsy = function(arg0) {
@@ -1482,14 +1490,6 @@ function __wbg_get_imports() {
1482
1490
  getInt32Memory0()[arg0 / 4 + 1] = len1;
1483
1491
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1484
1492
  };
1485
- imports.wbg.__wbg_wasmwallet_new = function(arg0) {
1486
- const ret = WasmWallet.__wrap(arg0);
1487
- return addHeapObject(ret);
1488
- };
1489
- imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
1490
- const ret = WasmBlockchain.__wrap(arg0);
1491
- return addHeapObject(ret);
1492
- };
1493
1493
  imports.wbg.__wbindgen_is_object = function(arg0) {
1494
1494
  const val = getObject(arg0);
1495
1495
  const ret = typeof(val) === 'object' && val !== null;
Binary file