@lat-murmeldjur/weeb_3 0.0.308001 → 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 +17 -12
- package/weeb_3.js +325 -295
- package/weeb_3_bg.wasm +0 -0
- package/weeb_3_bg.wasm.d.ts +15 -12
package/package.json
CHANGED
package/weeb_3.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ export class Weeb3 {
|
|
|
32
32
|
post_upload(file: File, encryption: boolean, index_string: string, add_to_feed: boolean, feed_topic: string): Promise<Uint8Array>;
|
|
33
33
|
reset_stamp(): Promise<Uint8Array>;
|
|
34
34
|
run(_st: string): Promise<void>;
|
|
35
|
+
toggle_transfer_pause(): Promise<boolean>;
|
|
36
|
+
transfer_paused(): boolean;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
export class Weeb3No103 {
|
|
@@ -59,7 +61,6 @@ export interface InitOutput {
|
|
|
59
61
|
readonly memory: WebAssembly.Memory;
|
|
60
62
|
readonly __wbg_weeb3_free: (a: number, b: number) => void;
|
|
61
63
|
readonly __wbg_wings_free: (a: number, b: number) => void;
|
|
62
|
-
readonly interweeb: (a: number, b: number) => any;
|
|
63
64
|
readonly weeb3_acquire: (a: number, b: number, c: number) => any;
|
|
64
65
|
readonly weeb3_change_bootnode_address: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
65
66
|
readonly weeb3_get_connections: (a: number) => any;
|
|
@@ -71,6 +72,9 @@ export interface InitOutput {
|
|
|
71
72
|
readonly weeb3_post_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
|
|
72
73
|
readonly weeb3_reset_stamp: (a: number) => any;
|
|
73
74
|
readonly weeb3_run: (a: number, b: number, c: number) => any;
|
|
75
|
+
readonly weeb3_toggle_transfer_pause: (a: number) => any;
|
|
76
|
+
readonly weeb3_transfer_paused: (a: number) => number;
|
|
77
|
+
readonly interweeb: (a: number, b: number) => any;
|
|
74
78
|
readonly __wbg_bootstrapnode_free: (a: number, b: number) => void;
|
|
75
79
|
readonly __wbg_weeb3no103_free: (a: number, b: number) => void;
|
|
76
80
|
readonly bootstrapnode_multiaddr: (a: number) => [number, number];
|
|
@@ -85,17 +89,18 @@ export interface InitOutput {
|
|
|
85
89
|
readonly __wbg_requestarguments_free: (a: number, b: number) => void;
|
|
86
90
|
readonly requestarguments_method: (a: number) => [number, number];
|
|
87
91
|
readonly requestarguments_params: (a: number) => any;
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly
|
|
91
|
-
readonly
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
92
|
+
readonly wasm_bindgen__convert__closures_____invoke__hca1f48f314f50f88: (a: number, b: number, c: any) => [number, number];
|
|
93
|
+
readonly wasm_bindgen__convert__closures_____invoke__he1aa87933f81edfc: (a: number, b: number, c: any) => [number, number];
|
|
94
|
+
readonly wasm_bindgen__convert__closures_____invoke__h4a9e284f9a417a24: (a: number, b: number, c: any, d: any) => void;
|
|
95
|
+
readonly wasm_bindgen__convert__closures_____invoke__h220ac401891ff793: (a: number, b: number, c: any) => void;
|
|
96
|
+
readonly wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77: (a: number, b: number, c: any) => void;
|
|
97
|
+
readonly wasm_bindgen__convert__closures_____invoke__h697ccd3cc11c9f77_3: (a: number, b: number, c: any) => void;
|
|
98
|
+
readonly wasm_bindgen__convert__closures_____invoke__h4868fd954bff5615: (a: number, b: number, c: any) => void;
|
|
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;
|
|
101
|
+
readonly wasm_bindgen__convert__closures_____invoke__h8394f6097c51e073: (a: number, b: number) => void;
|
|
102
|
+
readonly wasm_bindgen__convert__closures_____invoke__h9a11b4435343e479: (a: number, b: number) => void;
|
|
103
|
+
readonly wasm_bindgen__convert__closures_____invoke__hd6cc413cebf075f9: (a: number, b: number) => void;
|
|
99
104
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
100
105
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
101
106
|
readonly __wbindgen_exn_store: (a: number) => void;
|