@freqhole/midden 0.1.30 → 0.1.31
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/README.md +4 -0
- package/midden_bg.js +43 -34
- package/midden_bg.wasm +0 -0
- package/package.json +5 -4
package/README.md
CHANGED
package/midden_bg.js
CHANGED
|
@@ -1167,7 +1167,7 @@ export function __wbg_new_typed_aaaeaf29cf802876(arg0, arg1) {
|
|
|
1167
1167
|
const a = state0.a;
|
|
1168
1168
|
state0.a = 0;
|
|
1169
1169
|
try {
|
|
1170
|
-
return
|
|
1170
|
+
return wasm_bindgen__convert__closures_____invoke__h357561f53ac5f508(a, state0.b, arg0, arg1);
|
|
1171
1171
|
} finally {
|
|
1172
1172
|
state0.a = a;
|
|
1173
1173
|
}
|
|
@@ -1428,60 +1428,65 @@ export function __wbg_wasClean_69f68dc4ed2d2cc7(arg0) {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
1430
1430
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 3029, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 3030, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1431
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1431
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb183e556614092ca, wasm_bindgen__convert__closures_____invoke__hbe731298a115c9e4);
|
|
1432
1432
|
return ret;
|
|
1433
1433
|
}
|
|
1434
1434
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
1435
1435
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 3185, function: Function { arguments: [], shim_idx: 3186, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1436
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1436
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h85ae81daf1218992, wasm_bindgen__convert__closures_____invoke__hc6f3654ebee0b80e);
|
|
1437
1437
|
return ret;
|
|
1438
1438
|
}
|
|
1439
1439
|
export function __wbindgen_cast_0000000000000003(arg0, arg1) {
|
|
1440
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1441
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1440
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 3209, function: Function { arguments: [Externref], shim_idx: 3210, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1441
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h9c0e6de874b60dbc, wasm_bindgen__convert__closures_____invoke__hd1f261354767d15e);
|
|
1442
1442
|
return ret;
|
|
1443
1443
|
}
|
|
1444
1444
|
export function __wbindgen_cast_0000000000000004(arg0, arg1) {
|
|
1445
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1446
|
-
const ret =
|
|
1445
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 3254, function: Function { arguments: [], shim_idx: 3255, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1446
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h23a1c12cd048d3cb, wasm_bindgen__convert__closures_____invoke__hfa08fd7116a7315b);
|
|
1447
1447
|
return ret;
|
|
1448
1448
|
}
|
|
1449
1449
|
export function __wbindgen_cast_0000000000000005(arg0, arg1) {
|
|
1450
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1451
|
-
const ret =
|
|
1450
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 3307, function: Function { arguments: [], shim_idx: 3308, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
1451
|
+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hea58ba9208361aba, wasm_bindgen__convert__closures_____invoke__he25ef9f974db7a85);
|
|
1452
1452
|
return ret;
|
|
1453
1453
|
}
|
|
1454
1454
|
export function __wbindgen_cast_0000000000000006(arg0, arg1) {
|
|
1455
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1456
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1455
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 3728, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 3729, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1456
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__he82de21879ef6972, wasm_bindgen__convert__closures_____invoke__heb521225421210b0);
|
|
1457
1457
|
return ret;
|
|
1458
1458
|
}
|
|
1459
1459
|
export function __wbindgen_cast_0000000000000007(arg0, arg1) {
|
|
1460
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1461
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1460
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5061, function: Function { arguments: [], shim_idx: 5062, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1461
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc498dc21c6574762, wasm_bindgen__convert__closures_____invoke__he2934cb51e5b7bf4);
|
|
1462
1462
|
return ret;
|
|
1463
1463
|
}
|
|
1464
|
-
export function __wbindgen_cast_0000000000000008(arg0) {
|
|
1464
|
+
export function __wbindgen_cast_0000000000000008(arg0, arg1) {
|
|
1465
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5070, function: Function { arguments: [Externref], shim_idx: 5071, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1466
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb75a498ac0db6fe5, wasm_bindgen__convert__closures_____invoke__h190e8892b208884b);
|
|
1467
|
+
return ret;
|
|
1468
|
+
}
|
|
1469
|
+
export function __wbindgen_cast_0000000000000009(arg0) {
|
|
1465
1470
|
// Cast intrinsic for `F64 -> Externref`.
|
|
1466
1471
|
const ret = arg0;
|
|
1467
1472
|
return ret;
|
|
1468
1473
|
}
|
|
1469
|
-
export function
|
|
1474
|
+
export function __wbindgen_cast_000000000000000a(arg0) {
|
|
1470
1475
|
// Cast intrinsic for `I64 -> Externref`.
|
|
1471
1476
|
const ret = arg0;
|
|
1472
1477
|
return ret;
|
|
1473
1478
|
}
|
|
1474
|
-
export function
|
|
1479
|
+
export function __wbindgen_cast_000000000000000b(arg0, arg1) {
|
|
1475
1480
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1476
1481
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1477
1482
|
return ret;
|
|
1478
1483
|
}
|
|
1479
|
-
export function
|
|
1484
|
+
export function __wbindgen_cast_000000000000000c(arg0, arg1) {
|
|
1480
1485
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1481
1486
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1482
1487
|
return ret;
|
|
1483
1488
|
}
|
|
1484
|
-
export function
|
|
1489
|
+
export function __wbindgen_cast_000000000000000d(arg0) {
|
|
1485
1490
|
// Cast intrinsic for `U64 -> Externref`.
|
|
1486
1491
|
const ret = BigInt.asUintN(64, arg0);
|
|
1487
1492
|
return ret;
|
|
@@ -1495,39 +1500,43 @@ export function __wbindgen_init_externref_table() {
|
|
|
1495
1500
|
table.set(offset + 2, true);
|
|
1496
1501
|
table.set(offset + 3, false);
|
|
1497
1502
|
}
|
|
1498
|
-
function
|
|
1499
|
-
wasm.
|
|
1503
|
+
function wasm_bindgen__convert__closures_____invoke__hc6f3654ebee0b80e(arg0, arg1) {
|
|
1504
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hc6f3654ebee0b80e(arg0, arg1);
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
function wasm_bindgen__convert__closures_____invoke__hfa08fd7116a7315b(arg0, arg1) {
|
|
1508
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hfa08fd7116a7315b(arg0, arg1);
|
|
1500
1509
|
}
|
|
1501
1510
|
|
|
1502
|
-
function
|
|
1503
|
-
wasm.
|
|
1511
|
+
function wasm_bindgen__convert__closures_____invoke__he25ef9f974db7a85(arg0, arg1) {
|
|
1512
|
+
wasm.wasm_bindgen__convert__closures_____invoke__he25ef9f974db7a85(arg0, arg1);
|
|
1504
1513
|
}
|
|
1505
1514
|
|
|
1506
|
-
function
|
|
1507
|
-
wasm.
|
|
1515
|
+
function wasm_bindgen__convert__closures_____invoke__he2934cb51e5b7bf4(arg0, arg1) {
|
|
1516
|
+
wasm.wasm_bindgen__convert__closures_____invoke__he2934cb51e5b7bf4(arg0, arg1);
|
|
1508
1517
|
}
|
|
1509
1518
|
|
|
1510
|
-
function
|
|
1511
|
-
wasm.
|
|
1519
|
+
function wasm_bindgen__convert__closures_____invoke__hbe731298a115c9e4(arg0, arg1, arg2) {
|
|
1520
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hbe731298a115c9e4(arg0, arg1, arg2);
|
|
1512
1521
|
}
|
|
1513
1522
|
|
|
1514
|
-
function
|
|
1515
|
-
wasm.
|
|
1523
|
+
function wasm_bindgen__convert__closures_____invoke__hd1f261354767d15e(arg0, arg1, arg2) {
|
|
1524
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hd1f261354767d15e(arg0, arg1, arg2);
|
|
1516
1525
|
}
|
|
1517
1526
|
|
|
1518
|
-
function
|
|
1519
|
-
wasm.
|
|
1527
|
+
function wasm_bindgen__convert__closures_____invoke__heb521225421210b0(arg0, arg1, arg2) {
|
|
1528
|
+
wasm.wasm_bindgen__convert__closures_____invoke__heb521225421210b0(arg0, arg1, arg2);
|
|
1520
1529
|
}
|
|
1521
1530
|
|
|
1522
|
-
function
|
|
1523
|
-
const ret = wasm.
|
|
1531
|
+
function wasm_bindgen__convert__closures_____invoke__h190e8892b208884b(arg0, arg1, arg2) {
|
|
1532
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h190e8892b208884b(arg0, arg1, arg2);
|
|
1524
1533
|
if (ret[1]) {
|
|
1525
1534
|
throw takeFromExternrefTable0(ret[0]);
|
|
1526
1535
|
}
|
|
1527
1536
|
}
|
|
1528
1537
|
|
|
1529
|
-
function
|
|
1530
|
-
wasm.
|
|
1538
|
+
function wasm_bindgen__convert__closures_____invoke__h357561f53ac5f508(arg0, arg1, arg2, arg3) {
|
|
1539
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h357561f53ac5f508(arg0, arg1, arg2, arg3);
|
|
1531
1540
|
}
|
|
1532
1541
|
|
|
1533
1542
|
|
package/midden_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
"name": "@freqhole/midden",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "WASM bindings for freqhole P2P client (iroh-based)",
|
|
5
|
-
"version": "0.1.
|
|
6
|
-
"
|
|
7
|
-
"
|
|
5
|
+
"version": "0.1.31",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/freqhole/tomb"
|
|
8
9
|
},
|
|
9
10
|
"files": [
|
|
10
11
|
"midden_bg.wasm",
|
|
@@ -18,4 +19,4 @@
|
|
|
18
19
|
"./midden.js",
|
|
19
20
|
"./snippets/*"
|
|
20
21
|
]
|
|
21
|
-
}
|
|
22
|
+
}
|