@lat-murmeldjur/weeb_3 0.0.313001 → 0.0.314001

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
@@ -2,7 +2,7 @@
2
2
  "name": "@lat-murmeldjur/weeb_3",
3
3
  "type": "module",
4
4
  "description": "A Swarm client for browsers",
5
- "version": "0.0.313001",
5
+ "version": "0.0.314001",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
package/weeb_3.d.ts CHANGED
@@ -22,16 +22,21 @@ export class Weeb3 {
22
22
  free(): void;
23
23
  [Symbol.dispose](): void;
24
24
  acquire(address: string): Promise<Uint8Array>;
25
+ acquire_feed(owner: string, topic: string): Promise<Uint8Array>;
25
26
  change_bootnode_address(address: string, _id: string, usable_in_protocols: boolean): Promise<Uint8Array>;
26
27
  get_connections(): Promise<bigint>;
27
28
  get_current_logs(): Promise<string[]>;
29
+ get_network_id(): Promise<bigint>;
28
30
  get_ongoing_connections(): Promise<bigint>;
29
31
  interface_log(log0: string): void;
30
32
  static new(_st: string): Weeb3;
31
33
  post_push_chunk(d: Uint8Array, soc: boolean, chunk_address: Uint8Array, stamp: Uint8Array): Promise<Uint8Array>;
32
34
  post_upload(file: File, encryption: boolean, index_string: string, add_to_feed: boolean, feed_topic: string): Promise<Uint8Array>;
33
35
  reset_stamp(): Promise<Uint8Array>;
36
+ retrieve_bytes(address: string): Promise<Uint8Array>;
37
+ retrieve_chunk_bytes(address: string): Promise<Uint8Array>;
34
38
  run(_st: string): Promise<void>;
39
+ set_network_id(id: string): Promise<boolean>;
35
40
  toggle_transfer_pause(): Promise<boolean>;
36
41
  transfer_paused(): boolean;
37
42
  }
@@ -39,12 +44,58 @@ export class Weeb3 {
39
44
  export class Weeb3No103 {
40
45
  free(): void;
41
46
  [Symbol.dispose](): void;
47
+ acquireFeed(owner: string, topic: string): Promise<object>;
48
+ acquireFeedBytes(owner: string, topic: string): Promise<object>;
49
+ acquire_feed(owner: string, topic: string): Promise<object>;
50
+ acquire_feed_bytes(owner: string, topic: string): Promise<object>;
51
+ batchState(depth: number, validity_days: number): Promise<object>;
52
+ batch_state(depth: number, validity_days: number): Promise<object>;
53
+ buyBatch(depth: number, validity_days: number): Promise<object>;
54
+ buy_batch(depth: number, validity_days: number): Promise<object>;
55
+ connect(): Promise<object>;
56
+ connectProfile(mode: string): Promise<object>;
57
+ connect_profile(mode: string): Promise<object>;
58
+ deployChequebook(): Promise<object>;
59
+ deploy_chequebook(): Promise<object>;
60
+ depositChequebook(amount: string): Promise<object>;
61
+ deposit_chequebook(amount: string): Promise<object>;
62
+ feedIdentity(topic: string): Promise<object>;
63
+ feedOwner(): Promise<object>;
64
+ feedTopic(topic: string): object;
65
+ feed_identity(topic: string): Promise<object>;
66
+ feed_owner(): Promise<object>;
67
+ feed_topic(topic: string): object;
68
+ logs(): Promise<Array<any>>;
69
+ networkState(): Promise<object>;
70
+ network_state(): Promise<object>;
42
71
  constructor();
72
+ postFeedBytes(topic: string, bytes: Uint8Array, mime: string, filename: string, encryption: boolean): Promise<object>;
43
73
  postPushChunk(data: Uint8Array, soc: boolean, chunk_address: Uint8Array, stamp: Uint8Array): Promise<string>;
74
+ postUploadBytes(bytes: Uint8Array, mime: string, filename: string, encryption: boolean, add_to_feed: boolean, feed_topic: string): Promise<object>;
75
+ post_feed_bytes(topic: string, bytes: Uint8Array, mime: string, filename: string, encryption: boolean): Promise<object>;
76
+ post_push_chunk(data: Uint8Array, soc: boolean, chunk_address: Uint8Array, stamp: Uint8Array): Promise<string>;
77
+ post_upload(file: File, encryption: boolean, index_string: string, add_to_feed: boolean, feed_topic: string): Promise<object>;
78
+ post_upload_bytes(bytes: Uint8Array, mime: string, filename: string, encryption: boolean, add_to_feed: boolean, feed_topic: string): Promise<object>;
79
+ progressSnapshot(seen_revision: number): Promise<object>;
80
+ progress_snapshot(seen_revision: number): Promise<object>;
81
+ ready(min_connections: number, timeout_ms: number): Promise<boolean>;
82
+ readyState(min_connections: number, timeout_ms: number): Promise<object>;
83
+ ready_state(min_connections: number, timeout_ms: number): Promise<object>;
84
+ renderInterface(container: Element): object;
85
+ render_interface(container: Element): object;
44
86
  resetStamp(): Promise<object>;
87
+ reset_stamp(): Promise<object>;
45
88
  retrieve(address: string): Promise<Array<any>>;
89
+ retrieveBytes(address: string): Promise<Uint8Array>;
90
+ retrieveChunk(address: string): Promise<Uint8Array>;
91
+ retrieve_bytes(address: string): Promise<Uint8Array>;
92
+ retrieve_chunk(address: string): Promise<Uint8Array>;
46
93
  start(bootstrap_nodes: BootstrapNode[], network_id: string): void;
94
+ switchNetwork(mode: string): Promise<object>;
95
+ switch_network(mode: string): Promise<object>;
47
96
  upload(file: File, encryption: boolean, index_string: string, add_to_feed: boolean, feed_topic: string): Promise<object>;
97
+ uploadPrerequisites(depth: number, validity_days: number): Promise<object>;
98
+ upload_prerequisites(depth: number, validity_days: number): Promise<object>;
48
99
  }
49
100
 
50
101
  export class Wings {
@@ -67,39 +118,90 @@ export interface InitOutput {
67
118
  readonly bootstrapnode_new: (a: number, b: number, c: number) => number;
68
119
  readonly bootstrapnode_usable: (a: number) => number;
69
120
  readonly weeb3_acquire: (a: number, b: number, c: number) => any;
121
+ readonly weeb3_acquire_feed: (a: number, b: number, c: number, d: number, e: number) => any;
70
122
  readonly weeb3_change_bootnode_address: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
71
123
  readonly weeb3_get_connections: (a: number) => any;
72
124
  readonly weeb3_get_current_logs: (a: number) => any;
125
+ readonly weeb3_get_network_id: (a: number) => any;
73
126
  readonly weeb3_get_ongoing_connections: (a: number) => any;
74
127
  readonly weeb3_interface_log: (a: number, b: number, c: number) => void;
75
128
  readonly weeb3_new: (a: number, b: number) => number;
76
129
  readonly weeb3_post_push_chunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
77
130
  readonly weeb3_post_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
78
131
  readonly weeb3_reset_stamp: (a: number) => any;
132
+ readonly weeb3_retrieve_bytes: (a: number, b: number, c: number) => any;
133
+ readonly weeb3_retrieve_chunk_bytes: (a: number, b: number, c: number) => any;
79
134
  readonly weeb3_run: (a: number, b: number, c: number) => any;
135
+ readonly weeb3_set_network_id: (a: number, b: number, c: number) => any;
80
136
  readonly weeb3_toggle_transfer_pause: (a: number) => any;
81
137
  readonly weeb3_transfer_paused: (a: number) => number;
138
+ readonly weeb3no103_acquireFeed: (a: number, b: number, c: number, d: number, e: number) => any;
139
+ readonly weeb3no103_acquireFeedBytes: (a: number, b: number, c: number, d: number, e: number) => any;
140
+ readonly weeb3no103_acquire_feed: (a: number, b: number, c: number, d: number, e: number) => any;
141
+ readonly weeb3no103_acquire_feed_bytes: (a: number, b: number, c: number, d: number, e: number) => any;
142
+ readonly weeb3no103_batchState: (a: number, b: number, c: number) => any;
143
+ readonly weeb3no103_batch_state: (a: number, b: number, c: number) => any;
144
+ readonly weeb3no103_buyBatch: (a: number, b: number, c: number) => any;
145
+ readonly weeb3no103_buy_batch: (a: number, b: number, c: number) => any;
146
+ readonly weeb3no103_connect: (a: number) => any;
147
+ readonly weeb3no103_connectProfile: (a: number, b: number, c: number) => any;
148
+ readonly weeb3no103_connect_profile: (a: number, b: number, c: number) => any;
149
+ readonly weeb3no103_deployChequebook: (a: number) => any;
150
+ readonly weeb3no103_deploy_chequebook: (a: number) => any;
151
+ readonly weeb3no103_depositChequebook: (a: number, b: number, c: number) => any;
152
+ readonly weeb3no103_deposit_chequebook: (a: number, b: number, c: number) => any;
153
+ readonly weeb3no103_feedIdentity: (a: number, b: number, c: number) => any;
154
+ readonly weeb3no103_feedOwner: (a: number) => any;
155
+ readonly weeb3no103_feedTopic: (a: number, b: number, c: number) => any;
156
+ readonly weeb3no103_feed_identity: (a: number, b: number, c: number) => any;
157
+ readonly weeb3no103_feed_owner: (a: number) => any;
158
+ readonly weeb3no103_logs: (a: number) => any;
159
+ readonly weeb3no103_networkState: (a: number) => any;
160
+ readonly weeb3no103_network_state: (a: number) => any;
82
161
  readonly weeb3no103_new: () => number;
162
+ readonly weeb3no103_postFeedBytes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => any;
83
163
  readonly weeb3no103_postPushChunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
164
+ readonly weeb3no103_postUploadBytes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
165
+ readonly weeb3no103_post_feed_bytes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => any;
166
+ readonly weeb3no103_post_push_chunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
167
+ readonly weeb3no103_post_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
168
+ readonly weeb3no103_post_upload_bytes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
169
+ readonly weeb3no103_progressSnapshot: (a: number, b: number) => any;
170
+ readonly weeb3no103_progress_snapshot: (a: number, b: number) => any;
171
+ readonly weeb3no103_ready: (a: number, b: number, c: number) => any;
172
+ readonly weeb3no103_readyState: (a: number, b: number, c: number) => any;
173
+ readonly weeb3no103_ready_state: (a: number, b: number, c: number) => any;
174
+ readonly weeb3no103_renderInterface: (a: number, b: any) => any;
84
175
  readonly weeb3no103_resetStamp: (a: number) => any;
176
+ readonly weeb3no103_reset_stamp: (a: number) => any;
85
177
  readonly weeb3no103_retrieve: (a: number, b: number, c: number) => any;
178
+ readonly weeb3no103_retrieveBytes: (a: number, b: number, c: number) => any;
179
+ readonly weeb3no103_retrieveChunk: (a: number, b: number, c: number) => any;
180
+ readonly weeb3no103_retrieve_bytes: (a: number, b: number, c: number) => any;
181
+ readonly weeb3no103_retrieve_chunk: (a: number, b: number, c: number) => any;
86
182
  readonly weeb3no103_start: (a: number, b: number, c: number, d: number, e: number) => void;
183
+ readonly weeb3no103_switchNetwork: (a: number, b: number, c: number) => any;
184
+ readonly weeb3no103_switch_network: (a: number, b: number, c: number) => any;
87
185
  readonly weeb3no103_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
186
+ readonly weeb3no103_uploadPrerequisites: (a: number, b: number, c: number) => any;
187
+ readonly weeb3no103_upload_prerequisites: (a: number, b: number, c: number) => any;
188
+ readonly weeb3no103_feed_topic: (a: number, b: number, c: number) => any;
189
+ readonly weeb3no103_render_interface: (a: number, b: any) => any;
88
190
  readonly interweeb: (a: number, b: number) => any;
89
191
  readonly __wbg_requestarguments_free: (a: number, b: number) => void;
90
192
  readonly requestarguments_method: (a: number) => [number, number];
91
193
  readonly requestarguments_params: (a: number) => any;
92
- readonly wasm_bindgen__convert__closures_____invoke__hd82595f4c48afdc7: (a: number, b: number, c: any) => [number, number];
93
- readonly wasm_bindgen__convert__closures_____invoke__hf403b08213ba7389: (a: number, b: number, c: any) => [number, number];
94
- readonly wasm_bindgen__convert__closures_____invoke__h4f88e1c07117e8f4: (a: number, b: number, c: any, d: any) => void;
95
- readonly wasm_bindgen__convert__closures_____invoke__h84e2162617b1b93e: (a: number, b: number, c: any) => void;
96
- readonly wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c: (a: number, b: number, c: any) => void;
97
- readonly wasm_bindgen__convert__closures_____invoke__h99a0680556c8e399: (a: number, b: number, c: any) => void;
98
- readonly wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c_4: (a: number, b: number, c: any) => void;
99
- readonly wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c_6: (a: number, b: number, c: any) => void;
100
- readonly wasm_bindgen__convert__closures_____invoke__hb24b589f77a60686: (a: number, b: number) => void;
101
- readonly wasm_bindgen__convert__closures_____invoke__h041cbe7ee63fea15: (a: number, b: number) => void;
102
- readonly wasm_bindgen__convert__closures_____invoke__h398c19fd12b98915: (a: number, b: number) => void;
194
+ readonly wasm_bindgen__convert__closures_____invoke__h39453673aeb618ab: (a: number, b: number, c: any) => [number, number];
195
+ readonly wasm_bindgen__convert__closures_____invoke__h53c06beeaa986888: (a: number, b: number, c: any) => [number, number];
196
+ readonly wasm_bindgen__convert__closures_____invoke__h38bb2d7626f4cfa1: (a: number, b: number, c: any, d: any) => void;
197
+ readonly wasm_bindgen__convert__closures_____invoke__h3a390d488cf131e0: (a: number, b: number, c: any) => void;
198
+ readonly wasm_bindgen__convert__closures_____invoke__h131b691509b372cd: (a: number, b: number, c: any) => void;
199
+ readonly wasm_bindgen__convert__closures_____invoke__hd4aa016cef2e7803: (a: number, b: number, c: any) => void;
200
+ readonly wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_4: (a: number, b: number, c: any) => void;
201
+ readonly wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_6: (a: number, b: number, c: any) => void;
202
+ readonly wasm_bindgen__convert__closures_____invoke__haa3261c3001c7603: (a: number, b: number) => void;
203
+ readonly wasm_bindgen__convert__closures_____invoke__h6f4ab657709ae694: (a: number, b: number) => void;
204
+ readonly wasm_bindgen__convert__closures_____invoke__hbc64d0ffa7547e63: (a: number, b: number) => void;
103
205
  readonly __wbindgen_malloc: (a: number, b: number) => number;
104
206
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
105
207
  readonly __wbindgen_exn_store: (a: number) => void;
package/weeb_3.js CHANGED
@@ -125,6 +125,19 @@ export class Weeb3 {
125
125
  const ret = wasm.weeb3_acquire(this.__wbg_ptr, ptr0, len0);
126
126
  return ret;
127
127
  }
128
+ /**
129
+ * @param {string} owner
130
+ * @param {string} topic
131
+ * @returns {Promise<Uint8Array>}
132
+ */
133
+ acquire_feed(owner, topic) {
134
+ const ptr0 = passStringToWasm0(owner, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
135
+ const len0 = WASM_VECTOR_LEN;
136
+ const ptr1 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
137
+ const len1 = WASM_VECTOR_LEN;
138
+ const ret = wasm.weeb3_acquire_feed(this.__wbg_ptr, ptr0, len0, ptr1, len1);
139
+ return ret;
140
+ }
128
141
  /**
129
142
  * @param {string} address
130
143
  * @param {string} _id
@@ -153,6 +166,13 @@ export class Weeb3 {
153
166
  const ret = wasm.weeb3_get_current_logs(this.__wbg_ptr);
154
167
  return ret;
155
168
  }
169
+ /**
170
+ * @returns {Promise<bigint>}
171
+ */
172
+ get_network_id() {
173
+ const ret = wasm.weeb3_get_network_id(this.__wbg_ptr);
174
+ return ret;
175
+ }
156
176
  /**
157
177
  * @returns {Promise<bigint>}
158
178
  */
@@ -218,6 +238,26 @@ export class Weeb3 {
218
238
  const ret = wasm.weeb3_reset_stamp(this.__wbg_ptr);
219
239
  return ret;
220
240
  }
241
+ /**
242
+ * @param {string} address
243
+ * @returns {Promise<Uint8Array>}
244
+ */
245
+ retrieve_bytes(address) {
246
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
247
+ const len0 = WASM_VECTOR_LEN;
248
+ const ret = wasm.weeb3_retrieve_bytes(this.__wbg_ptr, ptr0, len0);
249
+ return ret;
250
+ }
251
+ /**
252
+ * @param {string} address
253
+ * @returns {Promise<Uint8Array>}
254
+ */
255
+ retrieve_chunk_bytes(address) {
256
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
257
+ const len0 = WASM_VECTOR_LEN;
258
+ const ret = wasm.weeb3_retrieve_chunk_bytes(this.__wbg_ptr, ptr0, len0);
259
+ return ret;
260
+ }
221
261
  /**
222
262
  * @param {string} _st
223
263
  * @returns {Promise<void>}
@@ -228,6 +268,16 @@ export class Weeb3 {
228
268
  const ret = wasm.weeb3_run(this.__wbg_ptr, ptr0, len0);
229
269
  return ret;
230
270
  }
271
+ /**
272
+ * @param {string} id
273
+ * @returns {Promise<boolean>}
274
+ */
275
+ set_network_id(id) {
276
+ const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
277
+ const len0 = WASM_VECTOR_LEN;
278
+ const ret = wasm.weeb3_set_network_id(this.__wbg_ptr, ptr0, len0);
279
+ return ret;
280
+ }
231
281
  /**
232
282
  * @returns {Promise<boolean>}
233
283
  */
@@ -256,12 +306,256 @@ export class Weeb3No103 {
256
306
  const ptr = this.__destroy_into_raw();
257
307
  wasm.__wbg_weeb3no103_free(ptr, 0);
258
308
  }
309
+ /**
310
+ * @param {string} owner
311
+ * @param {string} topic
312
+ * @returns {Promise<object>}
313
+ */
314
+ acquireFeed(owner, topic) {
315
+ const ptr0 = passStringToWasm0(owner, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
316
+ const len0 = WASM_VECTOR_LEN;
317
+ const ptr1 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
318
+ const len1 = WASM_VECTOR_LEN;
319
+ const ret = wasm.weeb3no103_acquireFeed(this.__wbg_ptr, ptr0, len0, ptr1, len1);
320
+ return ret;
321
+ }
322
+ /**
323
+ * @param {string} owner
324
+ * @param {string} topic
325
+ * @returns {Promise<object>}
326
+ */
327
+ acquireFeedBytes(owner, topic) {
328
+ const ptr0 = passStringToWasm0(owner, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
329
+ const len0 = WASM_VECTOR_LEN;
330
+ const ptr1 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
331
+ const len1 = WASM_VECTOR_LEN;
332
+ const ret = wasm.weeb3no103_acquireFeedBytes(this.__wbg_ptr, ptr0, len0, ptr1, len1);
333
+ return ret;
334
+ }
335
+ /**
336
+ * @param {string} owner
337
+ * @param {string} topic
338
+ * @returns {Promise<object>}
339
+ */
340
+ acquire_feed(owner, topic) {
341
+ const ptr0 = passStringToWasm0(owner, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
342
+ const len0 = WASM_VECTOR_LEN;
343
+ const ptr1 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
344
+ const len1 = WASM_VECTOR_LEN;
345
+ const ret = wasm.weeb3no103_acquire_feed(this.__wbg_ptr, ptr0, len0, ptr1, len1);
346
+ return ret;
347
+ }
348
+ /**
349
+ * @param {string} owner
350
+ * @param {string} topic
351
+ * @returns {Promise<object>}
352
+ */
353
+ acquire_feed_bytes(owner, topic) {
354
+ const ptr0 = passStringToWasm0(owner, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
355
+ const len0 = WASM_VECTOR_LEN;
356
+ const ptr1 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
357
+ const len1 = WASM_VECTOR_LEN;
358
+ const ret = wasm.weeb3no103_acquire_feed_bytes(this.__wbg_ptr, ptr0, len0, ptr1, len1);
359
+ return ret;
360
+ }
361
+ /**
362
+ * @param {number} depth
363
+ * @param {number} validity_days
364
+ * @returns {Promise<object>}
365
+ */
366
+ batchState(depth, validity_days) {
367
+ const ret = wasm.weeb3no103_batchState(this.__wbg_ptr, depth, validity_days);
368
+ return ret;
369
+ }
370
+ /**
371
+ * @param {number} depth
372
+ * @param {number} validity_days
373
+ * @returns {Promise<object>}
374
+ */
375
+ batch_state(depth, validity_days) {
376
+ const ret = wasm.weeb3no103_batch_state(this.__wbg_ptr, depth, validity_days);
377
+ return ret;
378
+ }
379
+ /**
380
+ * @param {number} depth
381
+ * @param {number} validity_days
382
+ * @returns {Promise<object>}
383
+ */
384
+ buyBatch(depth, validity_days) {
385
+ const ret = wasm.weeb3no103_buyBatch(this.__wbg_ptr, depth, validity_days);
386
+ return ret;
387
+ }
388
+ /**
389
+ * @param {number} depth
390
+ * @param {number} validity_days
391
+ * @returns {Promise<object>}
392
+ */
393
+ buy_batch(depth, validity_days) {
394
+ const ret = wasm.weeb3no103_buy_batch(this.__wbg_ptr, depth, validity_days);
395
+ return ret;
396
+ }
397
+ /**
398
+ * @returns {Promise<object>}
399
+ */
400
+ connect() {
401
+ const ret = wasm.weeb3no103_connect(this.__wbg_ptr);
402
+ return ret;
403
+ }
404
+ /**
405
+ * @param {string} mode
406
+ * @returns {Promise<object>}
407
+ */
408
+ connectProfile(mode) {
409
+ const ptr0 = passStringToWasm0(mode, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
410
+ const len0 = WASM_VECTOR_LEN;
411
+ const ret = wasm.weeb3no103_connectProfile(this.__wbg_ptr, ptr0, len0);
412
+ return ret;
413
+ }
414
+ /**
415
+ * @param {string} mode
416
+ * @returns {Promise<object>}
417
+ */
418
+ connect_profile(mode) {
419
+ const ptr0 = passStringToWasm0(mode, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
420
+ const len0 = WASM_VECTOR_LEN;
421
+ const ret = wasm.weeb3no103_connect_profile(this.__wbg_ptr, ptr0, len0);
422
+ return ret;
423
+ }
424
+ /**
425
+ * @returns {Promise<object>}
426
+ */
427
+ deployChequebook() {
428
+ const ret = wasm.weeb3no103_deployChequebook(this.__wbg_ptr);
429
+ return ret;
430
+ }
431
+ /**
432
+ * @returns {Promise<object>}
433
+ */
434
+ deploy_chequebook() {
435
+ const ret = wasm.weeb3no103_deploy_chequebook(this.__wbg_ptr);
436
+ return ret;
437
+ }
438
+ /**
439
+ * @param {string} amount
440
+ * @returns {Promise<object>}
441
+ */
442
+ depositChequebook(amount) {
443
+ const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
444
+ const len0 = WASM_VECTOR_LEN;
445
+ const ret = wasm.weeb3no103_depositChequebook(this.__wbg_ptr, ptr0, len0);
446
+ return ret;
447
+ }
448
+ /**
449
+ * @param {string} amount
450
+ * @returns {Promise<object>}
451
+ */
452
+ deposit_chequebook(amount) {
453
+ const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
454
+ const len0 = WASM_VECTOR_LEN;
455
+ const ret = wasm.weeb3no103_deposit_chequebook(this.__wbg_ptr, ptr0, len0);
456
+ return ret;
457
+ }
458
+ /**
459
+ * @param {string} topic
460
+ * @returns {Promise<object>}
461
+ */
462
+ feedIdentity(topic) {
463
+ const ptr0 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
464
+ const len0 = WASM_VECTOR_LEN;
465
+ const ret = wasm.weeb3no103_feedIdentity(this.__wbg_ptr, ptr0, len0);
466
+ return ret;
467
+ }
468
+ /**
469
+ * @returns {Promise<object>}
470
+ */
471
+ feedOwner() {
472
+ const ret = wasm.weeb3no103_feedOwner(this.__wbg_ptr);
473
+ return ret;
474
+ }
475
+ /**
476
+ * @param {string} topic
477
+ * @returns {object}
478
+ */
479
+ feedTopic(topic) {
480
+ const ptr0 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
481
+ const len0 = WASM_VECTOR_LEN;
482
+ const ret = wasm.weeb3no103_feedTopic(this.__wbg_ptr, ptr0, len0);
483
+ return ret;
484
+ }
485
+ /**
486
+ * @param {string} topic
487
+ * @returns {Promise<object>}
488
+ */
489
+ feed_identity(topic) {
490
+ const ptr0 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
491
+ const len0 = WASM_VECTOR_LEN;
492
+ const ret = wasm.weeb3no103_feed_identity(this.__wbg_ptr, ptr0, len0);
493
+ return ret;
494
+ }
495
+ /**
496
+ * @returns {Promise<object>}
497
+ */
498
+ feed_owner() {
499
+ const ret = wasm.weeb3no103_feed_owner(this.__wbg_ptr);
500
+ return ret;
501
+ }
502
+ /**
503
+ * @param {string} topic
504
+ * @returns {object}
505
+ */
506
+ feed_topic(topic) {
507
+ const ptr0 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
508
+ const len0 = WASM_VECTOR_LEN;
509
+ const ret = wasm.weeb3no103_feed_topic(this.__wbg_ptr, ptr0, len0);
510
+ return ret;
511
+ }
512
+ /**
513
+ * @returns {Promise<Array<any>>}
514
+ */
515
+ logs() {
516
+ const ret = wasm.weeb3no103_logs(this.__wbg_ptr);
517
+ return ret;
518
+ }
519
+ /**
520
+ * @returns {Promise<object>}
521
+ */
522
+ networkState() {
523
+ const ret = wasm.weeb3no103_networkState(this.__wbg_ptr);
524
+ return ret;
525
+ }
526
+ /**
527
+ * @returns {Promise<object>}
528
+ */
529
+ network_state() {
530
+ const ret = wasm.weeb3no103_network_state(this.__wbg_ptr);
531
+ return ret;
532
+ }
259
533
  constructor() {
260
534
  const ret = wasm.weeb3no103_new();
261
535
  this.__wbg_ptr = ret;
262
536
  Weeb3No103Finalization.register(this, this.__wbg_ptr, this);
263
537
  return this;
264
538
  }
539
+ /**
540
+ * @param {string} topic
541
+ * @param {Uint8Array} bytes
542
+ * @param {string} mime
543
+ * @param {string} filename
544
+ * @param {boolean} encryption
545
+ * @returns {Promise<object>}
546
+ */
547
+ postFeedBytes(topic, bytes, mime, filename, encryption) {
548
+ const ptr0 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
549
+ const len0 = WASM_VECTOR_LEN;
550
+ const ptr1 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
551
+ const len1 = WASM_VECTOR_LEN;
552
+ const ptr2 = passStringToWasm0(mime, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
553
+ const len2 = WASM_VECTOR_LEN;
554
+ const ptr3 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
555
+ const len3 = WASM_VECTOR_LEN;
556
+ const ret = wasm.weeb3no103_postFeedBytes(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, encryption);
557
+ return ret;
558
+ }
265
559
  /**
266
560
  * @param {Uint8Array} data
267
561
  * @param {boolean} soc
@@ -279,6 +573,160 @@ export class Weeb3No103 {
279
573
  const ret = wasm.weeb3no103_postPushChunk(this.__wbg_ptr, ptr0, len0, soc, ptr1, len1, ptr2, len2);
280
574
  return ret;
281
575
  }
576
+ /**
577
+ * @param {Uint8Array} bytes
578
+ * @param {string} mime
579
+ * @param {string} filename
580
+ * @param {boolean} encryption
581
+ * @param {boolean} add_to_feed
582
+ * @param {string} feed_topic
583
+ * @returns {Promise<object>}
584
+ */
585
+ postUploadBytes(bytes, mime, filename, encryption, add_to_feed, feed_topic) {
586
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
587
+ const len0 = WASM_VECTOR_LEN;
588
+ const ptr1 = passStringToWasm0(mime, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
589
+ const len1 = WASM_VECTOR_LEN;
590
+ const ptr2 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
591
+ const len2 = WASM_VECTOR_LEN;
592
+ const ptr3 = passStringToWasm0(feed_topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
593
+ const len3 = WASM_VECTOR_LEN;
594
+ const ret = wasm.weeb3no103_postUploadBytes(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, encryption, add_to_feed, ptr3, len3);
595
+ return ret;
596
+ }
597
+ /**
598
+ * @param {string} topic
599
+ * @param {Uint8Array} bytes
600
+ * @param {string} mime
601
+ * @param {string} filename
602
+ * @param {boolean} encryption
603
+ * @returns {Promise<object>}
604
+ */
605
+ post_feed_bytes(topic, bytes, mime, filename, encryption) {
606
+ const ptr0 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
607
+ const len0 = WASM_VECTOR_LEN;
608
+ const ptr1 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
609
+ const len1 = WASM_VECTOR_LEN;
610
+ const ptr2 = passStringToWasm0(mime, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
611
+ const len2 = WASM_VECTOR_LEN;
612
+ const ptr3 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
613
+ const len3 = WASM_VECTOR_LEN;
614
+ const ret = wasm.weeb3no103_post_feed_bytes(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, encryption);
615
+ return ret;
616
+ }
617
+ /**
618
+ * @param {Uint8Array} data
619
+ * @param {boolean} soc
620
+ * @param {Uint8Array} chunk_address
621
+ * @param {Uint8Array} stamp
622
+ * @returns {Promise<string>}
623
+ */
624
+ post_push_chunk(data, soc, chunk_address, stamp) {
625
+ const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
626
+ const len0 = WASM_VECTOR_LEN;
627
+ const ptr1 = passArray8ToWasm0(chunk_address, wasm.__wbindgen_malloc);
628
+ const len1 = WASM_VECTOR_LEN;
629
+ const ptr2 = passArray8ToWasm0(stamp, wasm.__wbindgen_malloc);
630
+ const len2 = WASM_VECTOR_LEN;
631
+ const ret = wasm.weeb3no103_post_push_chunk(this.__wbg_ptr, ptr0, len0, soc, ptr1, len1, ptr2, len2);
632
+ return ret;
633
+ }
634
+ /**
635
+ * @param {File} file
636
+ * @param {boolean} encryption
637
+ * @param {string} index_string
638
+ * @param {boolean} add_to_feed
639
+ * @param {string} feed_topic
640
+ * @returns {Promise<object>}
641
+ */
642
+ post_upload(file, encryption, index_string, add_to_feed, feed_topic) {
643
+ const ptr0 = passStringToWasm0(index_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
644
+ const len0 = WASM_VECTOR_LEN;
645
+ const ptr1 = passStringToWasm0(feed_topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
646
+ const len1 = WASM_VECTOR_LEN;
647
+ const ret = wasm.weeb3no103_post_upload(this.__wbg_ptr, file, encryption, ptr0, len0, add_to_feed, ptr1, len1);
648
+ return ret;
649
+ }
650
+ /**
651
+ * @param {Uint8Array} bytes
652
+ * @param {string} mime
653
+ * @param {string} filename
654
+ * @param {boolean} encryption
655
+ * @param {boolean} add_to_feed
656
+ * @param {string} feed_topic
657
+ * @returns {Promise<object>}
658
+ */
659
+ post_upload_bytes(bytes, mime, filename, encryption, add_to_feed, feed_topic) {
660
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
661
+ const len0 = WASM_VECTOR_LEN;
662
+ const ptr1 = passStringToWasm0(mime, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
663
+ const len1 = WASM_VECTOR_LEN;
664
+ const ptr2 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
665
+ const len2 = WASM_VECTOR_LEN;
666
+ const ptr3 = passStringToWasm0(feed_topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
667
+ const len3 = WASM_VECTOR_LEN;
668
+ const ret = wasm.weeb3no103_post_upload_bytes(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, encryption, add_to_feed, ptr3, len3);
669
+ return ret;
670
+ }
671
+ /**
672
+ * @param {number} seen_revision
673
+ * @returns {Promise<object>}
674
+ */
675
+ progressSnapshot(seen_revision) {
676
+ const ret = wasm.weeb3no103_progressSnapshot(this.__wbg_ptr, seen_revision);
677
+ return ret;
678
+ }
679
+ /**
680
+ * @param {number} seen_revision
681
+ * @returns {Promise<object>}
682
+ */
683
+ progress_snapshot(seen_revision) {
684
+ const ret = wasm.weeb3no103_progress_snapshot(this.__wbg_ptr, seen_revision);
685
+ return ret;
686
+ }
687
+ /**
688
+ * @param {number} min_connections
689
+ * @param {number} timeout_ms
690
+ * @returns {Promise<boolean>}
691
+ */
692
+ ready(min_connections, timeout_ms) {
693
+ const ret = wasm.weeb3no103_ready(this.__wbg_ptr, min_connections, timeout_ms);
694
+ return ret;
695
+ }
696
+ /**
697
+ * @param {number} min_connections
698
+ * @param {number} timeout_ms
699
+ * @returns {Promise<object>}
700
+ */
701
+ readyState(min_connections, timeout_ms) {
702
+ const ret = wasm.weeb3no103_readyState(this.__wbg_ptr, min_connections, timeout_ms);
703
+ return ret;
704
+ }
705
+ /**
706
+ * @param {number} min_connections
707
+ * @param {number} timeout_ms
708
+ * @returns {Promise<object>}
709
+ */
710
+ ready_state(min_connections, timeout_ms) {
711
+ const ret = wasm.weeb3no103_ready_state(this.__wbg_ptr, min_connections, timeout_ms);
712
+ return ret;
713
+ }
714
+ /**
715
+ * @param {Element} container
716
+ * @returns {object}
717
+ */
718
+ renderInterface(container) {
719
+ const ret = wasm.weeb3no103_renderInterface(this.__wbg_ptr, container);
720
+ return ret;
721
+ }
722
+ /**
723
+ * @param {Element} container
724
+ * @returns {object}
725
+ */
726
+ render_interface(container) {
727
+ const ret = wasm.weeb3no103_render_interface(this.__wbg_ptr, container);
728
+ return ret;
729
+ }
282
730
  /**
283
731
  * @returns {Promise<object>}
284
732
  */
@@ -286,6 +734,13 @@ export class Weeb3No103 {
286
734
  const ret = wasm.weeb3no103_resetStamp(this.__wbg_ptr);
287
735
  return ret;
288
736
  }
737
+ /**
738
+ * @returns {Promise<object>}
739
+ */
740
+ reset_stamp() {
741
+ const ret = wasm.weeb3no103_reset_stamp(this.__wbg_ptr);
742
+ return ret;
743
+ }
289
744
  /**
290
745
  * @param {string} address
291
746
  * @returns {Promise<Array<any>>}
@@ -296,6 +751,46 @@ export class Weeb3No103 {
296
751
  const ret = wasm.weeb3no103_retrieve(this.__wbg_ptr, ptr0, len0);
297
752
  return ret;
298
753
  }
754
+ /**
755
+ * @param {string} address
756
+ * @returns {Promise<Uint8Array>}
757
+ */
758
+ retrieveBytes(address) {
759
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
760
+ const len0 = WASM_VECTOR_LEN;
761
+ const ret = wasm.weeb3no103_retrieveBytes(this.__wbg_ptr, ptr0, len0);
762
+ return ret;
763
+ }
764
+ /**
765
+ * @param {string} address
766
+ * @returns {Promise<Uint8Array>}
767
+ */
768
+ retrieveChunk(address) {
769
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
770
+ const len0 = WASM_VECTOR_LEN;
771
+ const ret = wasm.weeb3no103_retrieveChunk(this.__wbg_ptr, ptr0, len0);
772
+ return ret;
773
+ }
774
+ /**
775
+ * @param {string} address
776
+ * @returns {Promise<Uint8Array>}
777
+ */
778
+ retrieve_bytes(address) {
779
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
780
+ const len0 = WASM_VECTOR_LEN;
781
+ const ret = wasm.weeb3no103_retrieve_bytes(this.__wbg_ptr, ptr0, len0);
782
+ return ret;
783
+ }
784
+ /**
785
+ * @param {string} address
786
+ * @returns {Promise<Uint8Array>}
787
+ */
788
+ retrieve_chunk(address) {
789
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
790
+ const len0 = WASM_VECTOR_LEN;
791
+ const ret = wasm.weeb3no103_retrieve_chunk(this.__wbg_ptr, ptr0, len0);
792
+ return ret;
793
+ }
299
794
  /**
300
795
  * @param {BootstrapNode[]} bootstrap_nodes
301
796
  * @param {string} network_id
@@ -307,6 +802,26 @@ export class Weeb3No103 {
307
802
  const len1 = WASM_VECTOR_LEN;
308
803
  wasm.weeb3no103_start(this.__wbg_ptr, ptr0, len0, ptr1, len1);
309
804
  }
805
+ /**
806
+ * @param {string} mode
807
+ * @returns {Promise<object>}
808
+ */
809
+ switchNetwork(mode) {
810
+ const ptr0 = passStringToWasm0(mode, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
811
+ const len0 = WASM_VECTOR_LEN;
812
+ const ret = wasm.weeb3no103_switchNetwork(this.__wbg_ptr, ptr0, len0);
813
+ return ret;
814
+ }
815
+ /**
816
+ * @param {string} mode
817
+ * @returns {Promise<object>}
818
+ */
819
+ switch_network(mode) {
820
+ const ptr0 = passStringToWasm0(mode, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
821
+ const len0 = WASM_VECTOR_LEN;
822
+ const ret = wasm.weeb3no103_switch_network(this.__wbg_ptr, ptr0, len0);
823
+ return ret;
824
+ }
310
825
  /**
311
826
  * @param {File} file
312
827
  * @param {boolean} encryption
@@ -323,6 +838,24 @@ export class Weeb3No103 {
323
838
  const ret = wasm.weeb3no103_upload(this.__wbg_ptr, file, encryption, ptr0, len0, add_to_feed, ptr1, len1);
324
839
  return ret;
325
840
  }
841
+ /**
842
+ * @param {number} depth
843
+ * @param {number} validity_days
844
+ * @returns {Promise<object>}
845
+ */
846
+ uploadPrerequisites(depth, validity_days) {
847
+ const ret = wasm.weeb3no103_uploadPrerequisites(this.__wbg_ptr, depth, validity_days);
848
+ return ret;
849
+ }
850
+ /**
851
+ * @param {number} depth
852
+ * @param {number} validity_days
853
+ * @returns {Promise<object>}
854
+ */
855
+ upload_prerequisites(depth, validity_days) {
856
+ const ret = wasm.weeb3no103_upload_prerequisites(this.__wbg_ptr, depth, validity_days);
857
+ return ret;
858
+ }
326
859
  }
327
860
  if (Symbol.dispose) Weeb3No103.prototype[Symbol.dispose] = Weeb3No103.prototype.free;
328
861
 
@@ -478,6 +1011,10 @@ function __wbg_get_imports() {
478
1011
  __wbg_append_e1746995edcb0170: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
479
1012
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
480
1013
  }, arguments); },
1014
+ __wbg_apply_292b6d94e4f92b15: function() { return handleError(function (arg0, arg1, arg2) {
1015
+ const ret = arg0.apply(arg1, arg2);
1016
+ return ret;
1017
+ }, arguments); },
481
1018
  __wbg_arrayBuffer_05927079aabe6d46: function() { return handleError(function (arg0) {
482
1019
  const ret = arg0.arrayBuffer();
483
1020
  return ret;
@@ -528,6 +1065,9 @@ function __wbg_get_imports() {
528
1065
  const ret = clearTimeout(arg0);
529
1066
  return ret;
530
1067
  },
1068
+ __wbg_click_f4ad50d5e13b83d8: function(arg0) {
1069
+ arg0.click();
1070
+ },
531
1071
  __wbg_close_76e5bacb62c204a0: function() { return handleError(function (arg0, arg1, arg2, arg3) {
532
1072
  arg0.close(arg1, getStringFromWasm0(arg2, arg3));
533
1073
  }, arguments); },
@@ -581,9 +1121,6 @@ function __wbg_get_imports() {
581
1121
  const ret = arg0.entries();
582
1122
  return ret;
583
1123
  },
584
- __wbg_error_78ff5b3a29b770e0: function(arg0) {
585
- console.error(arg0);
586
- },
587
1124
  __wbg_error_c6b70769322af78e: function() { return handleError(function (arg0) {
588
1125
  const ret = arg0.error;
589
1126
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
@@ -607,6 +1144,13 @@ function __wbg_get_imports() {
607
1144
  const ret = Array.from(arg0);
608
1145
  return ret;
609
1146
  },
1147
+ __wbg_getAttribute_27f7a0d74339fd41: function(arg0, arg1, arg2, arg3) {
1148
+ const ret = arg1.getAttribute(getStringFromWasm0(arg2, arg3));
1149
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1150
+ var len1 = WASM_VECTOR_LEN;
1151
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1152
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1153
+ },
610
1154
  __wbg_getElementById_c35b4b7d270d161d: function(arg0, arg1, arg2) {
611
1155
  const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
612
1156
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
@@ -657,6 +1201,10 @@ function __wbg_get_imports() {
657
1201
  const ret = arg0.global;
658
1202
  return ret;
659
1203
  },
1204
+ __wbg_hasAttribute_8a0e80dea64a024f: function(arg0, arg1, arg2) {
1205
+ const ret = arg0.hasAttribute(getStringFromWasm0(arg1, arg2));
1206
+ return ret;
1207
+ },
660
1208
  __wbg_has_73740b27f436fed3: function() { return handleError(function (arg0, arg1) {
661
1209
  const ret = Reflect.has(arg0, arg1);
662
1210
  return ret;
@@ -718,6 +1266,16 @@ function __wbg_get_imports() {
718
1266
  const ret = result;
719
1267
  return ret;
720
1268
  },
1269
+ __wbg_instanceof_EventTarget_86847d800cdb77d2: function(arg0) {
1270
+ let result;
1271
+ try {
1272
+ result = arg0 instanceof EventTarget;
1273
+ } catch (_) {
1274
+ result = false;
1275
+ }
1276
+ const ret = result;
1277
+ return ret;
1278
+ },
721
1279
  __wbg_instanceof_File_4389d03fd2e0b69e: function(arg0) {
722
1280
  let result;
723
1281
  try {
@@ -917,6 +1475,14 @@ function __wbg_get_imports() {
917
1475
  const ret = IDBKeyRange.lowerBound(arg0, arg1 !== 0);
918
1476
  return ret;
919
1477
  }, arguments); },
1478
+ __wbg_matchMedia_072e51dea8ac78bd: function() { return handleError(function (arg0, arg1, arg2) {
1479
+ const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
1480
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1481
+ }, arguments); },
1482
+ __wbg_matches_2f598e82be2a8afc: function(arg0) {
1483
+ const ret = arg0.matches;
1484
+ return ret;
1485
+ },
920
1486
  __wbg_message_40300ed2d1f8bdc6: function(arg0) {
921
1487
  const ret = arg0.message;
922
1488
  return ret;
@@ -971,10 +1537,6 @@ function __wbg_get_imports() {
971
1537
  const ret = new Map();
972
1538
  return ret;
973
1539
  },
974
- __wbg_new_7a6040edbd106a8d: function() { return handleError(function () {
975
- const ret = new MessageChannel();
976
- return ret;
977
- }, arguments); },
978
1540
  __wbg_new_b682b81e8eaaf027: function(arg0, arg1) {
979
1541
  try {
980
1542
  var state0 = {a: arg0, b: arg1};
@@ -982,7 +1544,7 @@ function __wbg_get_imports() {
982
1544
  const a = state0.a;
983
1545
  state0.a = 0;
984
1546
  try {
985
- return wasm_bindgen__convert__closures_____invoke__h4f88e1c07117e8f4(a, state0.b, arg0, arg1);
1547
+ return wasm_bindgen__convert__closures_____invoke__h38bb2d7626f4cfa1(a, state0.b, arg0, arg1);
986
1548
  } finally {
987
1549
  state0.a = a;
988
1550
  }
@@ -1013,6 +1575,10 @@ function __wbg_get_imports() {
1013
1575
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1014
1576
  return ret;
1015
1577
  },
1578
+ __wbg_new_no_args_67747f9e48367a42: function(arg0, arg1) {
1579
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
1580
+ return ret;
1581
+ },
1016
1582
  __wbg_new_typed_bf31d18f92484486: function(arg0, arg1) {
1017
1583
  try {
1018
1584
  var state0 = {a: arg0, b: arg1};
@@ -1020,7 +1586,7 @@ function __wbg_get_imports() {
1020
1586
  const a = state0.a;
1021
1587
  state0.a = 0;
1022
1588
  try {
1023
- return wasm_bindgen__convert__closures_____invoke__h4f88e1c07117e8f4(a, state0.b, arg0, arg1);
1589
+ return wasm_bindgen__convert__closures_____invoke__h38bb2d7626f4cfa1(a, state0.b, arg0, arg1);
1024
1590
  } finally {
1025
1591
  state0.a = a;
1026
1592
  }
@@ -1075,10 +1641,6 @@ function __wbg_get_imports() {
1075
1641
  const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
1076
1642
  return ret;
1077
1643
  }, arguments); },
1078
- __wbg_of_57145fdec12d159f: function(arg0) {
1079
- const ret = Array.of(arg0);
1080
- return ret;
1081
- },
1082
1644
  __wbg_oldVersion_a1391e4372e57270: function(arg0) {
1083
1645
  const ret = arg0.oldVersion;
1084
1646
  return ret;
@@ -1116,21 +1678,10 @@ function __wbg_get_imports() {
1116
1678
  const ret = arg0.performance;
1117
1679
  return ret;
1118
1680
  },
1119
- __wbg_port1_df46ee0756d43d62: function(arg0) {
1120
- const ret = arg0.port1;
1121
- return ret;
1122
- },
1123
- __wbg_port2_667554ea60dd39ff: function(arg0) {
1124
- const ret = arg0.port2;
1125
- return ret;
1126
- },
1127
1681
  __wbg_ports_91ab97df99186bdf: function(arg0) {
1128
1682
  const ret = arg0.ports;
1129
1683
  return ret;
1130
1684
  },
1131
- __wbg_postMessage_80a11c0e5400fa62: function() { return handleError(function (arg0, arg1, arg2) {
1132
- arg0.postMessage(arg1, arg2);
1133
- }, arguments); },
1134
1685
  __wbg_postMessage_c96dbad6d3f70aaf: function() { return handleError(function (arg0, arg1) {
1135
1686
  arg0.postMessage(arg1);
1136
1687
  }, arguments); },
@@ -1188,6 +1739,9 @@ function __wbg_get_imports() {
1188
1739
  __wbg_removeListener_250a33965641c61b: function(arg0, arg1, arg2, arg3) {
1189
1740
  arg0.removeListener(getStringFromWasm0(arg1, arg2), arg3);
1190
1741
  },
1742
+ __wbg_remove_f3fdf26d49490e53: function(arg0) {
1743
+ arg0.remove();
1744
+ },
1191
1745
  __wbg_replaceState_827056d3e0653693: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
1192
1746
  arg0.replaceState(arg1, getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5));
1193
1747
  }, arguments); },
@@ -1278,9 +1832,6 @@ function __wbg_get_imports() {
1278
1832
  __wbg_set_innerHTML_6bcbbce0a3626998: function(arg0, arg1, arg2) {
1279
1833
  arg0.innerHTML = getStringFromWasm0(arg1, arg2);
1280
1834
  },
1281
- __wbg_set_innerText_2126c17ae88dc653: function(arg0, arg1, arg2) {
1282
- arg0.innerText = getStringFromWasm0(arg1, arg2);
1283
- },
1284
1835
  __wbg_set_last_modified_21c4e6e7d9187296: function(arg0, arg1) {
1285
1836
  arg0.lastModified = arg1;
1286
1837
  },
@@ -1317,9 +1868,6 @@ function __wbg_get_imports() {
1317
1868
  __wbg_set_onmessage_9c6b4cb14e244b7f: function(arg0, arg1) {
1318
1869
  arg0.onmessage = arg1;
1319
1870
  },
1320
- __wbg_set_onmessage_ecb04a178e505b27: function(arg0, arg1) {
1321
- arg0.onmessage = arg1;
1322
- },
1323
1871
  __wbg_set_onopen_db452f4233e99d7d: function(arg0, arg1) {
1324
1872
  arg0.onopen = arg1;
1325
1873
  },
@@ -1341,6 +1889,9 @@ function __wbg_get_imports() {
1341
1889
  __wbg_set_type_f2ba381718ed1039: function(arg0, arg1, arg2) {
1342
1890
  arg0.type = getStringFromWasm0(arg1, arg2);
1343
1891
  },
1892
+ __wbg_set_value_fc1a37d10af775a0: function(arg0, arg1, arg2) {
1893
+ arg0.value = getStringFromWasm0(arg1, arg2);
1894
+ },
1344
1895
  __wbg_signal_e03304a84df9ed09: function(arg0) {
1345
1896
  const ret = arg0.signal;
1346
1897
  return ret;
@@ -1453,53 +2004,53 @@ function __wbg_get_imports() {
1453
2004
  console.warn(arg0);
1454
2005
  },
1455
2006
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1456
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1192, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1457
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h84e2162617b1b93e);
2007
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1445, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2008
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3a390d488cf131e0);
1458
2009
  return ret;
1459
2010
  },
1460
2011
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1461
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2351, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1462
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hd82595f4c48afdc7);
2012
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2605, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2013
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h39453673aeb618ab);
1463
2014
  return ret;
1464
2015
  },
1465
2016
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1466
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1385, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1467
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c);
2017
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1643, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2018
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h131b691509b372cd);
1468
2019
  return ret;
1469
2020
  },
1470
2021
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1471
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1005, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1472
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h99a0680556c8e399);
2022
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1263, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2023
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hd4aa016cef2e7803);
1473
2024
  return ret;
1474
2025
  },
1475
2026
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
1476
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1385, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1477
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c_4);
2027
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1643, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2028
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_4);
1478
2029
  return ret;
1479
2030
  },
1480
2031
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
1481
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 663, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1482
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hf403b08213ba7389);
2032
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 846, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2033
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h53c06beeaa986888);
1483
2034
  return ret;
1484
2035
  },
1485
2036
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
1486
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1385, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1487
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c_6);
2037
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1643, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2038
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_6);
1488
2039
  return ret;
1489
2040
  },
1490
2041
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
1491
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1003, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1492
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb24b589f77a60686);
2042
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1261, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2043
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__haa3261c3001c7603);
1493
2044
  return ret;
1494
2045
  },
1495
2046
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
1496
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1922, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1497
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h041cbe7ee63fea15);
2047
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2181, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2048
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h6f4ab657709ae694);
1498
2049
  return ret;
1499
2050
  },
1500
2051
  __wbindgen_cast_000000000000000a: function(arg0, arg1) {
1501
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2328, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1502
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h398c19fd12b98915);
2052
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2582, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2053
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hbc64d0ffa7547e63);
1503
2054
  return ret;
1504
2055
  },
1505
2056
  __wbindgen_cast_000000000000000b: function(arg0) {
@@ -1557,54 +2108,54 @@ function __wbg_get_imports() {
1557
2108
  };
1558
2109
  }
1559
2110
 
1560
- function wasm_bindgen__convert__closures_____invoke__hb24b589f77a60686(arg0, arg1) {
1561
- wasm.wasm_bindgen__convert__closures_____invoke__hb24b589f77a60686(arg0, arg1);
2111
+ function wasm_bindgen__convert__closures_____invoke__haa3261c3001c7603(arg0, arg1) {
2112
+ wasm.wasm_bindgen__convert__closures_____invoke__haa3261c3001c7603(arg0, arg1);
1562
2113
  }
1563
2114
 
1564
- function wasm_bindgen__convert__closures_____invoke__h041cbe7ee63fea15(arg0, arg1) {
1565
- wasm.wasm_bindgen__convert__closures_____invoke__h041cbe7ee63fea15(arg0, arg1);
2115
+ function wasm_bindgen__convert__closures_____invoke__h6f4ab657709ae694(arg0, arg1) {
2116
+ wasm.wasm_bindgen__convert__closures_____invoke__h6f4ab657709ae694(arg0, arg1);
1566
2117
  }
1567
2118
 
1568
- function wasm_bindgen__convert__closures_____invoke__h398c19fd12b98915(arg0, arg1) {
1569
- wasm.wasm_bindgen__convert__closures_____invoke__h398c19fd12b98915(arg0, arg1);
2119
+ function wasm_bindgen__convert__closures_____invoke__hbc64d0ffa7547e63(arg0, arg1) {
2120
+ wasm.wasm_bindgen__convert__closures_____invoke__hbc64d0ffa7547e63(arg0, arg1);
1570
2121
  }
1571
2122
 
1572
- function wasm_bindgen__convert__closures_____invoke__h84e2162617b1b93e(arg0, arg1, arg2) {
1573
- wasm.wasm_bindgen__convert__closures_____invoke__h84e2162617b1b93e(arg0, arg1, arg2);
2123
+ function wasm_bindgen__convert__closures_____invoke__h3a390d488cf131e0(arg0, arg1, arg2) {
2124
+ wasm.wasm_bindgen__convert__closures_____invoke__h3a390d488cf131e0(arg0, arg1, arg2);
1574
2125
  }
1575
2126
 
1576
- function wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c(arg0, arg1, arg2) {
1577
- wasm.wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c(arg0, arg1, arg2);
2127
+ function wasm_bindgen__convert__closures_____invoke__h131b691509b372cd(arg0, arg1, arg2) {
2128
+ wasm.wasm_bindgen__convert__closures_____invoke__h131b691509b372cd(arg0, arg1, arg2);
1578
2129
  }
1579
2130
 
1580
- function wasm_bindgen__convert__closures_____invoke__h99a0680556c8e399(arg0, arg1, arg2) {
1581
- wasm.wasm_bindgen__convert__closures_____invoke__h99a0680556c8e399(arg0, arg1, arg2);
2131
+ function wasm_bindgen__convert__closures_____invoke__hd4aa016cef2e7803(arg0, arg1, arg2) {
2132
+ wasm.wasm_bindgen__convert__closures_____invoke__hd4aa016cef2e7803(arg0, arg1, arg2);
1582
2133
  }
1583
2134
 
1584
- function wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c_4(arg0, arg1, arg2) {
1585
- wasm.wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c_4(arg0, arg1, arg2);
2135
+ function wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_4(arg0, arg1, arg2) {
2136
+ wasm.wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_4(arg0, arg1, arg2);
1586
2137
  }
1587
2138
 
1588
- function wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c_6(arg0, arg1, arg2) {
1589
- wasm.wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c_6(arg0, arg1, arg2);
2139
+ function wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_6(arg0, arg1, arg2) {
2140
+ wasm.wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_6(arg0, arg1, arg2);
1590
2141
  }
1591
2142
 
1592
- function wasm_bindgen__convert__closures_____invoke__hd82595f4c48afdc7(arg0, arg1, arg2) {
1593
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__hd82595f4c48afdc7(arg0, arg1, arg2);
2143
+ function wasm_bindgen__convert__closures_____invoke__h39453673aeb618ab(arg0, arg1, arg2) {
2144
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h39453673aeb618ab(arg0, arg1, arg2);
1594
2145
  if (ret[1]) {
1595
2146
  throw takeFromExternrefTable0(ret[0]);
1596
2147
  }
1597
2148
  }
1598
2149
 
1599
- function wasm_bindgen__convert__closures_____invoke__hf403b08213ba7389(arg0, arg1, arg2) {
1600
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__hf403b08213ba7389(arg0, arg1, arg2);
2150
+ function wasm_bindgen__convert__closures_____invoke__h53c06beeaa986888(arg0, arg1, arg2) {
2151
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h53c06beeaa986888(arg0, arg1, arg2);
1601
2152
  if (ret[1]) {
1602
2153
  throw takeFromExternrefTable0(ret[0]);
1603
2154
  }
1604
2155
  }
1605
2156
 
1606
- function wasm_bindgen__convert__closures_____invoke__h4f88e1c07117e8f4(arg0, arg1, arg2, arg3) {
1607
- wasm.wasm_bindgen__convert__closures_____invoke__h4f88e1c07117e8f4(arg0, arg1, arg2, arg3);
2157
+ function wasm_bindgen__convert__closures_____invoke__h38bb2d7626f4cfa1(arg0, arg1, arg2, arg3) {
2158
+ wasm.wasm_bindgen__convert__closures_____invoke__h38bb2d7626f4cfa1(arg0, arg1, arg2, arg3);
1608
2159
  }
1609
2160
 
1610
2161
 
package/weeb_3_bg.wasm CHANGED
Binary file
@@ -9,39 +9,90 @@ export const bootstrapnode_multiaddr: (a: number) => [number, number];
9
9
  export const bootstrapnode_new: (a: number, b: number, c: number) => number;
10
10
  export const bootstrapnode_usable: (a: number) => number;
11
11
  export const weeb3_acquire: (a: number, b: number, c: number) => any;
12
+ export const weeb3_acquire_feed: (a: number, b: number, c: number, d: number, e: number) => any;
12
13
  export const weeb3_change_bootnode_address: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
13
14
  export const weeb3_get_connections: (a: number) => any;
14
15
  export const weeb3_get_current_logs: (a: number) => any;
16
+ export const weeb3_get_network_id: (a: number) => any;
15
17
  export const weeb3_get_ongoing_connections: (a: number) => any;
16
18
  export const weeb3_interface_log: (a: number, b: number, c: number) => void;
17
19
  export const weeb3_new: (a: number, b: number) => number;
18
20
  export const weeb3_post_push_chunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
19
21
  export const weeb3_post_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
20
22
  export const weeb3_reset_stamp: (a: number) => any;
23
+ export const weeb3_retrieve_bytes: (a: number, b: number, c: number) => any;
24
+ export const weeb3_retrieve_chunk_bytes: (a: number, b: number, c: number) => any;
21
25
  export const weeb3_run: (a: number, b: number, c: number) => any;
26
+ export const weeb3_set_network_id: (a: number, b: number, c: number) => any;
22
27
  export const weeb3_toggle_transfer_pause: (a: number) => any;
23
28
  export const weeb3_transfer_paused: (a: number) => number;
29
+ export const weeb3no103_acquireFeed: (a: number, b: number, c: number, d: number, e: number) => any;
30
+ export const weeb3no103_acquireFeedBytes: (a: number, b: number, c: number, d: number, e: number) => any;
31
+ export const weeb3no103_acquire_feed: (a: number, b: number, c: number, d: number, e: number) => any;
32
+ export const weeb3no103_acquire_feed_bytes: (a: number, b: number, c: number, d: number, e: number) => any;
33
+ export const weeb3no103_batchState: (a: number, b: number, c: number) => any;
34
+ export const weeb3no103_batch_state: (a: number, b: number, c: number) => any;
35
+ export const weeb3no103_buyBatch: (a: number, b: number, c: number) => any;
36
+ export const weeb3no103_buy_batch: (a: number, b: number, c: number) => any;
37
+ export const weeb3no103_connect: (a: number) => any;
38
+ export const weeb3no103_connectProfile: (a: number, b: number, c: number) => any;
39
+ export const weeb3no103_connect_profile: (a: number, b: number, c: number) => any;
40
+ export const weeb3no103_deployChequebook: (a: number) => any;
41
+ export const weeb3no103_deploy_chequebook: (a: number) => any;
42
+ export const weeb3no103_depositChequebook: (a: number, b: number, c: number) => any;
43
+ export const weeb3no103_deposit_chequebook: (a: number, b: number, c: number) => any;
44
+ export const weeb3no103_feedIdentity: (a: number, b: number, c: number) => any;
45
+ export const weeb3no103_feedOwner: (a: number) => any;
46
+ export const weeb3no103_feedTopic: (a: number, b: number, c: number) => any;
47
+ export const weeb3no103_feed_identity: (a: number, b: number, c: number) => any;
48
+ export const weeb3no103_feed_owner: (a: number) => any;
49
+ export const weeb3no103_logs: (a: number) => any;
50
+ export const weeb3no103_networkState: (a: number) => any;
51
+ export const weeb3no103_network_state: (a: number) => any;
24
52
  export const weeb3no103_new: () => number;
53
+ export const weeb3no103_postFeedBytes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => any;
25
54
  export const weeb3no103_postPushChunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
55
+ export const weeb3no103_postUploadBytes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
56
+ export const weeb3no103_post_feed_bytes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => any;
57
+ export const weeb3no103_post_push_chunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
58
+ export const weeb3no103_post_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
59
+ export const weeb3no103_post_upload_bytes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
60
+ export const weeb3no103_progressSnapshot: (a: number, b: number) => any;
61
+ export const weeb3no103_progress_snapshot: (a: number, b: number) => any;
62
+ export const weeb3no103_ready: (a: number, b: number, c: number) => any;
63
+ export const weeb3no103_readyState: (a: number, b: number, c: number) => any;
64
+ export const weeb3no103_ready_state: (a: number, b: number, c: number) => any;
65
+ export const weeb3no103_renderInterface: (a: number, b: any) => any;
26
66
  export const weeb3no103_resetStamp: (a: number) => any;
67
+ export const weeb3no103_reset_stamp: (a: number) => any;
27
68
  export const weeb3no103_retrieve: (a: number, b: number, c: number) => any;
69
+ export const weeb3no103_retrieveBytes: (a: number, b: number, c: number) => any;
70
+ export const weeb3no103_retrieveChunk: (a: number, b: number, c: number) => any;
71
+ export const weeb3no103_retrieve_bytes: (a: number, b: number, c: number) => any;
72
+ export const weeb3no103_retrieve_chunk: (a: number, b: number, c: number) => any;
28
73
  export const weeb3no103_start: (a: number, b: number, c: number, d: number, e: number) => void;
74
+ export const weeb3no103_switchNetwork: (a: number, b: number, c: number) => any;
75
+ export const weeb3no103_switch_network: (a: number, b: number, c: number) => any;
29
76
  export const weeb3no103_upload: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => any;
77
+ export const weeb3no103_uploadPrerequisites: (a: number, b: number, c: number) => any;
78
+ export const weeb3no103_upload_prerequisites: (a: number, b: number, c: number) => any;
79
+ export const weeb3no103_feed_topic: (a: number, b: number, c: number) => any;
80
+ export const weeb3no103_render_interface: (a: number, b: any) => any;
30
81
  export const interweeb: (a: number, b: number) => any;
31
82
  export const __wbg_requestarguments_free: (a: number, b: number) => void;
32
83
  export const requestarguments_method: (a: number) => [number, number];
33
84
  export const requestarguments_params: (a: number) => any;
34
- export const wasm_bindgen__convert__closures_____invoke__hd82595f4c48afdc7: (a: number, b: number, c: any) => [number, number];
35
- export const wasm_bindgen__convert__closures_____invoke__hf403b08213ba7389: (a: number, b: number, c: any) => [number, number];
36
- export const wasm_bindgen__convert__closures_____invoke__h4f88e1c07117e8f4: (a: number, b: number, c: any, d: any) => void;
37
- export const wasm_bindgen__convert__closures_____invoke__h84e2162617b1b93e: (a: number, b: number, c: any) => void;
38
- export const wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c: (a: number, b: number, c: any) => void;
39
- export const wasm_bindgen__convert__closures_____invoke__h99a0680556c8e399: (a: number, b: number, c: any) => void;
40
- export const wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c_4: (a: number, b: number, c: any) => void;
41
- export const wasm_bindgen__convert__closures_____invoke__h0081445fefd19e6c_6: (a: number, b: number, c: any) => void;
42
- export const wasm_bindgen__convert__closures_____invoke__hb24b589f77a60686: (a: number, b: number) => void;
43
- export const wasm_bindgen__convert__closures_____invoke__h041cbe7ee63fea15: (a: number, b: number) => void;
44
- export const wasm_bindgen__convert__closures_____invoke__h398c19fd12b98915: (a: number, b: number) => void;
85
+ export const wasm_bindgen__convert__closures_____invoke__h39453673aeb618ab: (a: number, b: number, c: any) => [number, number];
86
+ export const wasm_bindgen__convert__closures_____invoke__h53c06beeaa986888: (a: number, b: number, c: any) => [number, number];
87
+ export const wasm_bindgen__convert__closures_____invoke__h38bb2d7626f4cfa1: (a: number, b: number, c: any, d: any) => void;
88
+ export const wasm_bindgen__convert__closures_____invoke__h3a390d488cf131e0: (a: number, b: number, c: any) => void;
89
+ export const wasm_bindgen__convert__closures_____invoke__h131b691509b372cd: (a: number, b: number, c: any) => void;
90
+ export const wasm_bindgen__convert__closures_____invoke__hd4aa016cef2e7803: (a: number, b: number, c: any) => void;
91
+ export const wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_4: (a: number, b: number, c: any) => void;
92
+ export const wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_6: (a: number, b: number, c: any) => void;
93
+ export const wasm_bindgen__convert__closures_____invoke__haa3261c3001c7603: (a: number, b: number) => void;
94
+ export const wasm_bindgen__convert__closures_____invoke__h6f4ab657709ae694: (a: number, b: number) => void;
95
+ export const wasm_bindgen__convert__closures_____invoke__hbc64d0ffa7547e63: (a: number, b: number) => void;
45
96
  export const __wbindgen_malloc: (a: number, b: number) => number;
46
97
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
47
98
  export const __wbindgen_exn_store: (a: number) => void;