@lat-murmeldjur/weeb_3 0.0.301001 → 0.0.302001
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 +9 -9
- package/weeb_3.js +10 -10
- package/weeb_3_bg.wasm +0 -0
- package/weeb_3_bg.wasm.d.ts +9 -9
package/package.json
CHANGED
package/weeb_3.d.ts
CHANGED
|
@@ -58,19 +58,12 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
58
58
|
export interface InitOutput {
|
|
59
59
|
readonly memory: WebAssembly.Memory;
|
|
60
60
|
readonly __wbg_bootstrapnode_free: (a: number, b: number) => void;
|
|
61
|
+
readonly __wbg_weeb3_free: (a: number, b: number) => void;
|
|
61
62
|
readonly __wbg_weeb3no103_free: (a: number, b: number) => void;
|
|
63
|
+
readonly __wbg_wings_free: (a: number, b: number) => void;
|
|
62
64
|
readonly bootstrapnode_multiaddr: (a: number) => [number, number];
|
|
63
65
|
readonly bootstrapnode_new: (a: number, b: number, c: number) => number;
|
|
64
66
|
readonly bootstrapnode_usable: (a: number) => number;
|
|
65
|
-
readonly interweeb: (a: number, b: number) => any;
|
|
66
|
-
readonly weeb3no103_new: () => number;
|
|
67
|
-
readonly weeb3no103_postPushChunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
68
|
-
readonly weeb3no103_resetStamp: (a: number) => any;
|
|
69
|
-
readonly weeb3no103_retrieve: (a: number, b: number, c: number) => any;
|
|
70
|
-
readonly weeb3no103_start: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
71
|
-
readonly weeb3no103_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
72
|
-
readonly __wbg_weeb3_free: (a: number, b: number) => void;
|
|
73
|
-
readonly __wbg_wings_free: (a: number, b: number) => void;
|
|
74
67
|
readonly weeb3_acquire: (a: number, b: number, c: number) => any;
|
|
75
68
|
readonly weeb3_change_bootnode_address: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
76
69
|
readonly weeb3_get_connections: (a: number) => any;
|
|
@@ -82,6 +75,13 @@ export interface InitOutput {
|
|
|
82
75
|
readonly weeb3_post_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
83
76
|
readonly weeb3_reset_stamp: (a: number) => any;
|
|
84
77
|
readonly weeb3_run: (a: number, b: number, c: number) => any;
|
|
78
|
+
readonly weeb3no103_new: () => number;
|
|
79
|
+
readonly weeb3no103_postPushChunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
80
|
+
readonly weeb3no103_resetStamp: (a: number) => any;
|
|
81
|
+
readonly weeb3no103_retrieve: (a: number, b: number, c: number) => any;
|
|
82
|
+
readonly weeb3no103_start: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
83
|
+
readonly weeb3no103_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
84
|
+
readonly interweeb: (a: number, b: number) => any;
|
|
85
85
|
readonly __wbg_requestarguments_free: (a: number, b: number) => void;
|
|
86
86
|
readonly requestarguments_method: (a: number) => [number, number];
|
|
87
87
|
readonly requestarguments_params: (a: number) => any;
|
package/weeb_3.js
CHANGED
|
@@ -1399,52 +1399,52 @@ function __wbg_get_imports() {
|
|
|
1399
1399
|
console.warn(arg0);
|
|
1400
1400
|
},
|
|
1401
1401
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1402
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1402
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2029, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1403
1403
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h90f4fdab4fb62b79);
|
|
1404
1404
|
return ret;
|
|
1405
1405
|
},
|
|
1406
1406
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1407
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1407
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2259, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1408
1408
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__ha8d2d1080dfced07);
|
|
1409
1409
|
return ret;
|
|
1410
1410
|
},
|
|
1411
1411
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1412
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
1412
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1185, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1413
1413
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h30e61c9ca8960e43);
|
|
1414
1414
|
return ret;
|
|
1415
1415
|
},
|
|
1416
1416
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1417
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
1417
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1185, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1418
1418
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h30e61c9ca8960e43_3);
|
|
1419
1419
|
return ret;
|
|
1420
1420
|
},
|
|
1421
1421
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1422
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
1422
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 905, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1423
1423
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h81db9267f605fdba);
|
|
1424
1424
|
return ret;
|
|
1425
1425
|
},
|
|
1426
1426
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1427
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx:
|
|
1427
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 656, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1428
1428
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hd7b6b9f4e9e1edfe);
|
|
1429
1429
|
return ret;
|
|
1430
1430
|
},
|
|
1431
1431
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
1432
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
1432
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1185, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1433
1433
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h30e61c9ca8960e43_6);
|
|
1434
1434
|
return ret;
|
|
1435
1435
|
},
|
|
1436
1436
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
1437
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1437
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2034, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1438
1438
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__haf7d15743025e297);
|
|
1439
1439
|
return ret;
|
|
1440
1440
|
},
|
|
1441
1441
|
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
1442
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1442
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2250, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1443
1443
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h604a1484aada8204);
|
|
1444
1444
|
return ret;
|
|
1445
1445
|
},
|
|
1446
1446
|
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
1447
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1447
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 903, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1448
1448
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hc5c330aa3249ad54);
|
|
1449
1449
|
return ret;
|
|
1450
1450
|
},
|
package/weeb_3_bg.wasm
CHANGED
|
Binary file
|
package/weeb_3_bg.wasm.d.ts
CHANGED
|
@@ -2,19 +2,12 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
4
|
export const __wbg_bootstrapnode_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_weeb3_free: (a: number, b: number) => void;
|
|
5
6
|
export const __wbg_weeb3no103_free: (a: number, b: number) => void;
|
|
7
|
+
export const __wbg_wings_free: (a: number, b: number) => void;
|
|
6
8
|
export const bootstrapnode_multiaddr: (a: number) => [number, number];
|
|
7
9
|
export const bootstrapnode_new: (a: number, b: number, c: number) => number;
|
|
8
10
|
export const bootstrapnode_usable: (a: number) => number;
|
|
9
|
-
export const interweeb: (a: number, b: number) => any;
|
|
10
|
-
export const weeb3no103_new: () => number;
|
|
11
|
-
export const weeb3no103_postPushChunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
12
|
-
export const weeb3no103_resetStamp: (a: number) => any;
|
|
13
|
-
export const weeb3no103_retrieve: (a: number, b: number, c: number) => any;
|
|
14
|
-
export const weeb3no103_start: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
15
|
-
export const weeb3no103_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
16
|
-
export const __wbg_weeb3_free: (a: number, b: number) => void;
|
|
17
|
-
export const __wbg_wings_free: (a: number, b: number) => void;
|
|
18
11
|
export const weeb3_acquire: (a: number, b: number, c: number) => any;
|
|
19
12
|
export const weeb3_change_bootnode_address: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
20
13
|
export const weeb3_get_connections: (a: number) => any;
|
|
@@ -26,6 +19,13 @@ export const weeb3_post_push_chunk: (a: number, b: number, c: number, d: number,
|
|
|
26
19
|
export const weeb3_post_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
27
20
|
export const weeb3_reset_stamp: (a: number) => any;
|
|
28
21
|
export const weeb3_run: (a: number, b: number, c: number) => any;
|
|
22
|
+
export const weeb3no103_new: () => number;
|
|
23
|
+
export const weeb3no103_postPushChunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
24
|
+
export const weeb3no103_resetStamp: (a: number) => any;
|
|
25
|
+
export const weeb3no103_retrieve: (a: number, b: number, c: number) => any;
|
|
26
|
+
export const weeb3no103_start: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
27
|
+
export const weeb3no103_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
28
|
+
export const interweeb: (a: number, b: number) => any;
|
|
29
29
|
export const __wbg_requestarguments_free: (a: number, b: number) => void;
|
|
30
30
|
export const requestarguments_method: (a: number) => [number, number];
|
|
31
31
|
export const requestarguments_params: (a: number) => any;
|