@lat-murmeldjur/weeb_3 0.0.309001 → 0.0.310001
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 +1 -1
- package/weeb_3.d.ts +10 -10
- package/weeb_3.js +28 -28
- package/weeb_3_bg.wasm +0 -0
- package/weeb_3_bg.wasm.d.ts +10 -10
package/package.json
CHANGED
package/weeb_3.d.ts
CHANGED
|
@@ -59,14 +59,8 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
59
59
|
|
|
60
60
|
export interface InitOutput {
|
|
61
61
|
readonly memory: WebAssembly.Memory;
|
|
62
|
-
readonly interweeb: (a: number, b: number) => any;
|
|
63
|
-
readonly __wbg_bootstrapnode_free: (a: number, b: number) => void;
|
|
64
62
|
readonly __wbg_weeb3_free: (a: number, b: number) => void;
|
|
65
|
-
readonly __wbg_weeb3no103_free: (a: number, b: number) => void;
|
|
66
63
|
readonly __wbg_wings_free: (a: number, b: number) => void;
|
|
67
|
-
readonly bootstrapnode_multiaddr: (a: number) => [number, number];
|
|
68
|
-
readonly bootstrapnode_new: (a: number, b: number, c: number) => number;
|
|
69
|
-
readonly bootstrapnode_usable: (a: number) => number;
|
|
70
64
|
readonly weeb3_acquire: (a: number, b: number, c: number) => any;
|
|
71
65
|
readonly weeb3_change_bootnode_address: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
72
66
|
readonly weeb3_get_connections: (a: number) => any;
|
|
@@ -80,6 +74,12 @@ export interface InitOutput {
|
|
|
80
74
|
readonly weeb3_run: (a: number, b: number, c: number) => any;
|
|
81
75
|
readonly weeb3_toggle_transfer_pause: (a: number) => any;
|
|
82
76
|
readonly weeb3_transfer_paused: (a: number) => number;
|
|
77
|
+
readonly interweeb: (a: number, b: number) => any;
|
|
78
|
+
readonly __wbg_bootstrapnode_free: (a: number, b: number) => void;
|
|
79
|
+
readonly __wbg_weeb3no103_free: (a: number, b: number) => void;
|
|
80
|
+
readonly bootstrapnode_multiaddr: (a: number) => [number, number];
|
|
81
|
+
readonly bootstrapnode_new: (a: number, b: number, c: number) => number;
|
|
82
|
+
readonly bootstrapnode_usable: (a: number) => number;
|
|
83
83
|
readonly weeb3no103_new: () => number;
|
|
84
84
|
readonly weeb3no103_postPushChunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
85
85
|
readonly weeb3no103_resetStamp: (a: number) => any;
|
|
@@ -90,17 +90,17 @@ export interface InitOutput {
|
|
|
90
90
|
readonly requestarguments_method: (a: number) => [number, number];
|
|
91
91
|
readonly requestarguments_params: (a: number) => any;
|
|
92
92
|
readonly wasm_bindgen__convert__closures_____invoke__hca1f48f314f50f88: (a: number, b: number, c: any) => [number, number];
|
|
93
|
-
readonly
|
|
93
|
+
readonly wasm_bindgen__convert__closures_____invoke__he1aa87933f81edfc: (a: number, b: number, c: any) => [number, number];
|
|
94
94
|
readonly wasm_bindgen__convert__closures_____invoke__h4a9e284f9a417a24: (a: number, b: number, c: any, d: any) => void;
|
|
95
|
-
readonly
|
|
95
|
+
readonly wasm_bindgen__convert__closures_____invoke__h220ac401891ff793: (a: number, b: number, c: any) => void;
|
|
96
96
|
readonly wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77: (a: number, b: number, c: any) => void;
|
|
97
97
|
readonly wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77_3: (a: number, b: number, c: any) => void;
|
|
98
|
-
readonly
|
|
98
|
+
readonly wasm_bindgen__convert__closures_____invoke__h4868fd954bff5615: (a: number, b: number, c: any) => void;
|
|
99
99
|
readonly wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77_6: (a: number, b: number, c: any) => void;
|
|
100
|
+
readonly wasm_bindgen__convert__closures_____invoke__h785cd1f07ed80c5e: (a: number, b: number) => void;
|
|
100
101
|
readonly wasm_bindgen__convert__closures_____invoke__h8394f6097c51e073: (a: number, b: number) => void;
|
|
101
102
|
readonly wasm_bindgen__convert__closures_____invoke__h9a11b4435343e479: (a: number, b: number) => void;
|
|
102
103
|
readonly wasm_bindgen__convert__closures_____invoke__hd6cc413cebf075f9: (a: number, b: number) => void;
|
|
103
|
-
readonly wasm_bindgen__convert__closures_____invoke__h1e17bd35613cfd30: (a: number, b: number) => void;
|
|
104
104
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
105
105
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
106
106
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/weeb_3.js
CHANGED
|
@@ -1420,58 +1420,58 @@ function __wbg_get_imports() {
|
|
|
1420
1420
|
console.warn(arg0);
|
|
1421
1421
|
},
|
|
1422
1422
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1423
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1424
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1423
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1211, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1424
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h220ac401891ff793);
|
|
1425
1425
|
return ret;
|
|
1426
1426
|
},
|
|
1427
1427
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1428
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1428
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2371, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1429
1429
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hca1f48f314f50f88);
|
|
1430
1430
|
return ret;
|
|
1431
1431
|
},
|
|
1432
1432
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1433
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
1433
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1376, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1434
1434
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77);
|
|
1435
1435
|
return ret;
|
|
1436
1436
|
},
|
|
1437
1437
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1438
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
1438
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1376, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1439
1439
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77_3);
|
|
1440
1440
|
return ret;
|
|
1441
1441
|
},
|
|
1442
1442
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1443
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
1444
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1443
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 999, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1444
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h4868fd954bff5615);
|
|
1445
1445
|
return ret;
|
|
1446
1446
|
},
|
|
1447
1447
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1448
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx:
|
|
1449
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1448
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 990, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1449
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__he1aa87933f81edfc);
|
|
1450
1450
|
return ret;
|
|
1451
1451
|
},
|
|
1452
1452
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
1453
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
1453
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1376, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1454
1454
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77_6);
|
|
1455
1455
|
return ret;
|
|
1456
1456
|
},
|
|
1457
1457
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
1458
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1459
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1458
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1001, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1459
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h785cd1f07ed80c5e);
|
|
1460
1460
|
return ret;
|
|
1461
1461
|
},
|
|
1462
1462
|
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
1463
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1464
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1463
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1927, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1464
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h8394f6097c51e073);
|
|
1465
1465
|
return ret;
|
|
1466
1466
|
},
|
|
1467
1467
|
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
1468
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1469
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1468
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2165, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1469
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h9a11b4435343e479);
|
|
1470
1470
|
return ret;
|
|
1471
1471
|
},
|
|
1472
1472
|
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
1473
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1474
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1473
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2348, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1474
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hd6cc413cebf075f9);
|
|
1475
1475
|
return ret;
|
|
1476
1476
|
},
|
|
1477
1477
|
__wbindgen_cast_000000000000000c: function(arg0) {
|
|
@@ -1529,6 +1529,10 @@ function __wbg_get_imports() {
|
|
|
1529
1529
|
};
|
|
1530
1530
|
}
|
|
1531
1531
|
|
|
1532
|
+
function wasm_bindgen__convert__closures_____invoke__h785cd1f07ed80c5e(arg0, arg1) {
|
|
1533
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h785cd1f07ed80c5e(arg0, arg1);
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1532
1536
|
function wasm_bindgen__convert__closures_____invoke__h8394f6097c51e073(arg0, arg1) {
|
|
1533
1537
|
wasm.wasm_bindgen__convert__closures_____invoke__h8394f6097c51e073(arg0, arg1);
|
|
1534
1538
|
}
|
|
@@ -1541,12 +1545,8 @@ function wasm_bindgen__convert__closures_____invoke__hd6cc413cebf075f9(arg0, arg
|
|
|
1541
1545
|
wasm.wasm_bindgen__convert__closures_____invoke__hd6cc413cebf075f9(arg0, arg1);
|
|
1542
1546
|
}
|
|
1543
1547
|
|
|
1544
|
-
function
|
|
1545
|
-
wasm.
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
function wasm_bindgen__convert__closures_____invoke__h673057f24e6577c1(arg0, arg1, arg2) {
|
|
1549
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h673057f24e6577c1(arg0, arg1, arg2);
|
|
1548
|
+
function wasm_bindgen__convert__closures_____invoke__h220ac401891ff793(arg0, arg1, arg2) {
|
|
1549
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h220ac401891ff793(arg0, arg1, arg2);
|
|
1550
1550
|
}
|
|
1551
1551
|
|
|
1552
1552
|
function wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77(arg0, arg1, arg2) {
|
|
@@ -1557,8 +1557,8 @@ function wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77_3(arg0, a
|
|
|
1557
1557
|
wasm.wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77_3(arg0, arg1, arg2);
|
|
1558
1558
|
}
|
|
1559
1559
|
|
|
1560
|
-
function
|
|
1561
|
-
wasm.
|
|
1560
|
+
function wasm_bindgen__convert__closures_____invoke__h4868fd954bff5615(arg0, arg1, arg2) {
|
|
1561
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4868fd954bff5615(arg0, arg1, arg2);
|
|
1562
1562
|
}
|
|
1563
1563
|
|
|
1564
1564
|
function wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77_6(arg0, arg1, arg2) {
|
|
@@ -1572,8 +1572,8 @@ function wasm_bindgen__convert__closures_____invoke__hca1f48f314f50f88(arg0, arg
|
|
|
1572
1572
|
}
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
1575
|
-
function
|
|
1576
|
-
const ret = wasm.
|
|
1575
|
+
function wasm_bindgen__convert__closures_____invoke__he1aa87933f81edfc(arg0, arg1, arg2) {
|
|
1576
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__he1aa87933f81edfc(arg0, arg1, arg2);
|
|
1577
1577
|
if (ret[1]) {
|
|
1578
1578
|
throw takeFromExternrefTable0(ret[0]);
|
|
1579
1579
|
}
|
package/weeb_3_bg.wasm
CHANGED
|
Binary file
|
package/weeb_3_bg.wasm.d.ts
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const interweeb: (a: number, b: number) => any;
|
|
5
|
-
export const __wbg_bootstrapnode_free: (a: number, b: number) => void;
|
|
6
4
|
export const __wbg_weeb3_free: (a: number, b: number) => void;
|
|
7
|
-
export const __wbg_weeb3no103_free: (a: number, b: number) => void;
|
|
8
5
|
export const __wbg_wings_free: (a: number, b: number) => void;
|
|
9
|
-
export const bootstrapnode_multiaddr: (a: number) => [number, number];
|
|
10
|
-
export const bootstrapnode_new: (a: number, b: number, c: number) => number;
|
|
11
|
-
export const bootstrapnode_usable: (a: number) => number;
|
|
12
6
|
export const weeb3_acquire: (a: number, b: number, c: number) => any;
|
|
13
7
|
export const weeb3_change_bootnode_address: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
14
8
|
export const weeb3_get_connections: (a: number) => any;
|
|
@@ -22,6 +16,12 @@ export const weeb3_reset_stamp: (a: number) => any;
|
|
|
22
16
|
export const weeb3_run: (a: number, b: number, c: number) => any;
|
|
23
17
|
export const weeb3_toggle_transfer_pause: (a: number) => any;
|
|
24
18
|
export const weeb3_transfer_paused: (a: number) => number;
|
|
19
|
+
export const interweeb: (a: number, b: number) => any;
|
|
20
|
+
export const __wbg_bootstrapnode_free: (a: number, b: number) => void;
|
|
21
|
+
export const __wbg_weeb3no103_free: (a: number, b: number) => void;
|
|
22
|
+
export const bootstrapnode_multiaddr: (a: number) => [number, number];
|
|
23
|
+
export const bootstrapnode_new: (a: number, b: number, c: number) => number;
|
|
24
|
+
export const bootstrapnode_usable: (a: number) => number;
|
|
25
25
|
export const weeb3no103_new: () => number;
|
|
26
26
|
export const weeb3no103_postPushChunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
27
27
|
export const weeb3no103_resetStamp: (a: number) => any;
|
|
@@ -32,17 +32,17 @@ export const __wbg_requestarguments_free: (a: number, b: number) => void;
|
|
|
32
32
|
export const requestarguments_method: (a: number) => [number, number];
|
|
33
33
|
export const requestarguments_params: (a: number) => any;
|
|
34
34
|
export const wasm_bindgen__convert__closures_____invoke__hca1f48f314f50f88: (a: number, b: number, c: any) => [number, number];
|
|
35
|
-
export const
|
|
35
|
+
export const wasm_bindgen__convert__closures_____invoke__he1aa87933f81edfc: (a: number, b: number, c: any) => [number, number];
|
|
36
36
|
export const wasm_bindgen__convert__closures_____invoke__h4a9e284f9a417a24: (a: number, b: number, c: any, d: any) => void;
|
|
37
|
-
export const
|
|
37
|
+
export const wasm_bindgen__convert__closures_____invoke__h220ac401891ff793: (a: number, b: number, c: any) => void;
|
|
38
38
|
export const wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77: (a: number, b: number, c: any) => void;
|
|
39
39
|
export const wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77_3: (a: number, b: number, c: any) => void;
|
|
40
|
-
export const
|
|
40
|
+
export const wasm_bindgen__convert__closures_____invoke__h4868fd954bff5615: (a: number, b: number, c: any) => void;
|
|
41
41
|
export const wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77_6: (a: number, b: number, c: any) => void;
|
|
42
|
+
export const wasm_bindgen__convert__closures_____invoke__h785cd1f07ed80c5e: (a: number, b: number) => void;
|
|
42
43
|
export const wasm_bindgen__convert__closures_____invoke__h8394f6097c51e073: (a: number, b: number) => void;
|
|
43
44
|
export const wasm_bindgen__convert__closures_____invoke__h9a11b4435343e479: (a: number, b: number) => void;
|
|
44
45
|
export const wasm_bindgen__convert__closures_____invoke__hd6cc413cebf075f9: (a: number, b: number) => void;
|
|
45
|
-
export const wasm_bindgen__convert__closures_____invoke__h1e17bd35613cfd30: (a: number, b: number) => void;
|
|
46
46
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
47
47
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
48
48
|
export const __wbindgen_exn_store: (a: number) => void;
|