@lat-murmeldjur/weeb_3 0.0.322001 → 0.0.324001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -1
- package/package.json +1 -1
- package/service.js +5 -4
- package/weeb_3.d.ts +13 -10
- package/weeb_3.js +61 -30
- package/weeb_3_bg.wasm +0 -0
- package/weeb_3_bg.wasm.d.ts +11 -10
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
`weeb-3` is a browser-side Swarm client built in Rust and compiled to WebAssembly.
|
|
4
4
|
The main `weeb-3` project is the full released browser client, published at [lat-murmeldjur.github.io/weeb-3](https://lat-murmeldjur.github.io/weeb-3), where the client is used together with its own interface.
|
|
5
5
|
|
|
6
|
-
This npm package is the library edition of that same client. Projects can use the API directly or mount the bundled browser interface with `renderInterface(container)`.
|
|
6
|
+
This npm package is the library edition of that same client. Projects can use the API directly, attach Swarm HLS playback to their own media element, or mount the bundled browser interface with `renderInterface(container)`.
|
|
7
7
|
|
|
8
8
|
Project repository: [github.com/lat-murmeldjur/weeb-3](https://github.com/lat-murmeldjur/weeb-3)
|
|
9
9
|
|
|
@@ -32,6 +32,7 @@ The higher-level `Weeb3No103` interface provides the main methods used by the em
|
|
|
32
32
|
- `upload(file, encryption, index_string, add_to_feed, feed_topic)`
|
|
33
33
|
- `uploadWithRedundancy(file, encryption, redundancy_level, index_string, add_to_feed, feed_topic)`
|
|
34
34
|
- `postUploadBytesWithRedundancy(bytes, mime, filename, encryption, redundancy_level, add_to_feed, feed_topic)`
|
|
35
|
+
- `attachStream(media, owner, topic, start)`
|
|
35
36
|
- `renderInterface(container)`
|
|
36
37
|
- `resetStamp()`
|
|
37
38
|
- `postPushChunk(data, soc, chunk_address, stamp)`
|
|
@@ -71,6 +72,29 @@ weeb3node.start({
|
|
|
71
72
|
weeb3node.start({ testnet: true });
|
|
72
73
|
```
|
|
73
74
|
|
|
75
|
+
## Stream playback
|
|
76
|
+
|
|
77
|
+
The application creates and owns the media element. `"beginning"` reconstructs the earliest available feed timeline, while `"live"` opens the current authenticated feed head and starts at the player's safe live-sync position. Calling `attachStream` again switches the same element between them.
|
|
78
|
+
|
|
79
|
+
```js
|
|
80
|
+
import init, { Weeb3No103 } from "@lat-murmeldjur/weeb_3";
|
|
81
|
+
|
|
82
|
+
await init();
|
|
83
|
+
|
|
84
|
+
const node = new Weeb3No103();
|
|
85
|
+
const video = document.querySelector("video");
|
|
86
|
+
const owner = "6F2728386F8a47ef5EBe323721188e630Ff0FdE9";
|
|
87
|
+
const topic = "b347b89b-933c-424f-a3d1-403bdd270b25";
|
|
88
|
+
|
|
89
|
+
node.start();
|
|
90
|
+
await node.attachStream(video, owner, topic, "beginning");
|
|
91
|
+
|
|
92
|
+
// Later, for example from the application's own Live button:
|
|
93
|
+
await node.attachStream(video, owner, topic, "live");
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Public HLS feeds use mainnet. The embedding page must be below the `/weeb-3/` scope and serve the packaged worker at `/weeb-3/service.js`, or already be controlled by a worker implementing the same forwarding protocol.
|
|
97
|
+
|
|
74
98
|
## Example corresponding to `example.html`
|
|
75
99
|
|
|
76
100
|
This is a compact npm-import form of the same usage pattern shown in the project's `example.html`:
|
|
@@ -117,5 +141,6 @@ Retrieval reads the level encoded in the Swarm tree and uses parity when data sh
|
|
|
117
141
|
## Notes
|
|
118
142
|
|
|
119
143
|
- This package is meant for browser applications, not a plain Node.js runtime.
|
|
144
|
+
- `attachStream` uses the same runtime, connection buildup, retrieval, prefetch, accounting, hls.js or native-HLS player, and recovery logic as the built-in interface.
|
|
120
145
|
- The package does not publish the standalone site HTML, but `renderInterface(container)` embeds the same interface shell—including its erasure-coding selector—from the Wasm bundle.
|
|
121
146
|
- The full released browser client remains available in the main project repository and on the project site.
|
package/package.json
CHANGED
package/service.js
CHANGED
|
@@ -77,10 +77,11 @@ function isDirectShareShellPath(pathname) {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
const parts = pathname.substring(SCOPE_PATH.length).split("/");
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
const streamOffset = parts[0] === "live" ? 1 : 0;
|
|
81
|
+
return parts.length === streamOffset + 3 &&
|
|
82
|
+
parts[streamOffset] === "stream" &&
|
|
83
|
+
/^[a-fA-F0-9]{40}$/.test(parts[streamOffset + 1]) &&
|
|
84
|
+
isCanonicalStreamTopic(parts[streamOffset + 2]);
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
function isBzzUploadPath(pathname) {
|
package/weeb_3.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
/** Bee-compatible erasure-coding level used for uploads. */
|
|
5
5
|
export type UploadRedundancyLevel = 0 | 1 | 2 | 3 | 4;
|
|
6
|
+
export type HlsStart = "beginning" | "live";
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
@@ -18,6 +19,7 @@ export class Weeb3No103 {
|
|
|
18
19
|
free(): void;
|
|
19
20
|
[Symbol.dispose](): void;
|
|
20
21
|
acquireFeedBytes(owner: string, topic: string): Promise<object>;
|
|
22
|
+
attachStream(media: HTMLMediaElement, owner: string, topic: string, start: HlsStart): Promise<void>;
|
|
21
23
|
batchState(depth: number, validity_days: number): Promise<object>;
|
|
22
24
|
buyBatch(depth: number, validity_days: number): Promise<object>;
|
|
23
25
|
deployChequebook(): Promise<object>;
|
|
@@ -55,6 +57,7 @@ export interface InitOutput {
|
|
|
55
57
|
readonly init_wasm_runtime: () => void;
|
|
56
58
|
readonly interweeb: (a: number, b: number) => number;
|
|
57
59
|
readonly weeb3no103_acquireFeedBytes: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
60
|
+
readonly weeb3no103_attachStream: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
58
61
|
readonly weeb3no103_batchState: (a: number, b: number, c: number) => number;
|
|
59
62
|
readonly weeb3no103_buyBatch: (a: number, b: number, c: number) => number;
|
|
60
63
|
readonly weeb3no103_deployChequebook: (a: number) => number;
|
|
@@ -81,16 +84,16 @@ export interface InitOutput {
|
|
|
81
84
|
readonly __wbg_requestarguments_free: (a: number, b: number) => void;
|
|
82
85
|
readonly requestarguments_method: (a: number, b: number) => void;
|
|
83
86
|
readonly requestarguments_params: (a: number) => number;
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly
|
|
91
|
-
readonly
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
87
|
+
readonly __wasm_bindgen_func_elem_1535: (a: number, b: number, c: number, d: number) => void;
|
|
88
|
+
readonly __wasm_bindgen_func_elem_1537: (a: number, b: number, c: number, d: number) => void;
|
|
89
|
+
readonly __wasm_bindgen_func_elem_1537_5: (a: number, b: number, c: number, d: number) => void;
|
|
90
|
+
readonly __wasm_bindgen_func_elem_1535_35: (a: number, b: number, c: number, d: number) => void;
|
|
91
|
+
readonly __wasm_bindgen_func_elem_1535_36: (a: number, b: number, c: number, d: number) => void;
|
|
92
|
+
readonly __wasm_bindgen_func_elem_3634: (a: number, b: number, c: number) => void;
|
|
93
|
+
readonly __wasm_bindgen_func_elem_3634_3: (a: number, b: number, c: number) => void;
|
|
94
|
+
readonly __wasm_bindgen_func_elem_3634_4: (a: number, b: number, c: number) => void;
|
|
95
|
+
readonly __wasm_bindgen_func_elem_3634_6: (a: number, b: number, c: number) => void;
|
|
96
|
+
readonly __wasm_bindgen_func_elem_3560: (a: number, b: number) => void;
|
|
94
97
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
95
98
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
96
99
|
readonly __wbindgen_export3: (a: number) => void;
|
package/weeb_3.js
CHANGED
|
@@ -73,6 +73,23 @@ export class Weeb3No103 {
|
|
|
73
73
|
const ret = wasm.weeb3no103_acquireFeedBytes(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
74
74
|
return takeObject(ret);
|
|
75
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* @param {HTMLMediaElement} media
|
|
78
|
+
* @param {string} owner
|
|
79
|
+
* @param {string} topic
|
|
80
|
+
* @param {HlsStart} start
|
|
81
|
+
* @returns {Promise<void>}
|
|
82
|
+
*/
|
|
83
|
+
attachStream(media, owner, topic, start) {
|
|
84
|
+
const ptr0 = passStringToWasm0(owner, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
85
|
+
const len0 = WASM_VECTOR_LEN;
|
|
86
|
+
const ptr1 = passStringToWasm0(topic, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
87
|
+
const len1 = WASM_VECTOR_LEN;
|
|
88
|
+
const ptr2 = passStringToWasm0(start, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
89
|
+
const len2 = WASM_VECTOR_LEN;
|
|
90
|
+
const ret = wasm.weeb3no103_attachStream(this.__wbg_ptr, addHeapObject(media), ptr0, len0, ptr1, len1, ptr2, len2);
|
|
91
|
+
return takeObject(ret);
|
|
92
|
+
}
|
|
76
93
|
/**
|
|
77
94
|
* @param {number} depth
|
|
78
95
|
* @param {number} validity_days
|
|
@@ -748,10 +765,21 @@ function __wbg_get_imports() {
|
|
|
748
765
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
749
766
|
return ret;
|
|
750
767
|
}, arguments); },
|
|
768
|
+
__wbg_hash_508149c4291ec8c2: function() { return handleError(function (arg0, arg1) {
|
|
769
|
+
const ret = getObject(arg1).hash;
|
|
770
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
771
|
+
const len1 = WASM_VECTOR_LEN;
|
|
772
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
773
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
774
|
+
}, arguments); },
|
|
751
775
|
__wbg_headers_cf9c80f30e2a4eff: function(arg0) {
|
|
752
776
|
const ret = getObject(arg0).headers;
|
|
753
777
|
return addHeapObject(ret);
|
|
754
778
|
},
|
|
779
|
+
__wbg_history_e648b4314d9b256e: function() { return handleError(function (arg0) {
|
|
780
|
+
const ret = getObject(arg0).history;
|
|
781
|
+
return addHeapObject(ret);
|
|
782
|
+
}, arguments); },
|
|
755
783
|
__wbg_href_0259f7f614252f13: function() { return handleError(function (arg0, arg1) {
|
|
756
784
|
const ret = getObject(arg1).href;
|
|
757
785
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -1149,7 +1177,7 @@ function __wbg_get_imports() {
|
|
|
1149
1177
|
const a = state0.a;
|
|
1150
1178
|
state0.a = 0;
|
|
1151
1179
|
try {
|
|
1152
|
-
return
|
|
1180
|
+
return __wasm_bindgen_func_elem_1535_35(a, state0.b, arg0, arg1);
|
|
1153
1181
|
} finally {
|
|
1154
1182
|
state0.a = a;
|
|
1155
1183
|
}
|
|
@@ -1195,7 +1223,7 @@ function __wbg_get_imports() {
|
|
|
1195
1223
|
const a = state0.a;
|
|
1196
1224
|
state0.a = 0;
|
|
1197
1225
|
try {
|
|
1198
|
-
return
|
|
1226
|
+
return __wasm_bindgen_func_elem_1535_36(a, state0.b, arg0, arg1);
|
|
1199
1227
|
} finally {
|
|
1200
1228
|
state0.a = a;
|
|
1201
1229
|
}
|
|
@@ -1411,6 +1439,9 @@ function __wbg_get_imports() {
|
|
|
1411
1439
|
__wbg_remove_ce1b54059317fe8a: function(arg0) {
|
|
1412
1440
|
getObject(arg0).remove();
|
|
1413
1441
|
},
|
|
1442
|
+
__wbg_replaceState_9a0a4a53d3bf3439: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1443
|
+
getObject(arg0).replaceState(getObject(arg1), getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5));
|
|
1444
|
+
}, arguments); },
|
|
1414
1445
|
__wbg_request_23303be4687a2540: function() { return handleError(function (arg0, arg1) {
|
|
1415
1446
|
const ret = getObject(arg0).request(RequestArguments.__wrap(arg1));
|
|
1416
1447
|
return addHeapObject(ret);
|
|
@@ -1722,42 +1753,42 @@ function __wbg_get_imports() {
|
|
|
1722
1753
|
},
|
|
1723
1754
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1724
1755
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref, Externref], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1725
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1756
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1535);
|
|
1726
1757
|
return addHeapObject(ret);
|
|
1727
1758
|
},
|
|
1728
1759
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1729
1760
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 10, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1730
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1761
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3634);
|
|
1731
1762
|
return addHeapObject(ret);
|
|
1732
1763
|
},
|
|
1733
1764
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1734
1765
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 21, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1735
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1766
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1537);
|
|
1736
1767
|
return addHeapObject(ret);
|
|
1737
1768
|
},
|
|
1738
1769
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1739
1770
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 10, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1740
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1771
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3634_3);
|
|
1741
1772
|
return addHeapObject(ret);
|
|
1742
1773
|
},
|
|
1743
1774
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1744
1775
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 10, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1745
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1776
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3634_4);
|
|
1746
1777
|
return addHeapObject(ret);
|
|
1747
1778
|
},
|
|
1748
1779
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1749
1780
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 21, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1750
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1781
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1537_5);
|
|
1751
1782
|
return addHeapObject(ret);
|
|
1752
1783
|
},
|
|
1753
1784
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
1754
1785
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 10, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1755
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1786
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3634_6);
|
|
1756
1787
|
return addHeapObject(ret);
|
|
1757
1788
|
},
|
|
1758
1789
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
1759
1790
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 94, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1760
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1791
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3560);
|
|
1761
1792
|
return addHeapObject(ret);
|
|
1762
1793
|
},
|
|
1763
1794
|
__wbindgen_cast_0000000000000009: function(arg0) {
|
|
@@ -1806,34 +1837,34 @@ function __wbg_get_imports() {
|
|
|
1806
1837
|
};
|
|
1807
1838
|
}
|
|
1808
1839
|
|
|
1809
|
-
function
|
|
1810
|
-
wasm.
|
|
1840
|
+
function __wasm_bindgen_func_elem_3560(arg0, arg1) {
|
|
1841
|
+
wasm.__wasm_bindgen_func_elem_3560(arg0, arg1);
|
|
1811
1842
|
}
|
|
1812
1843
|
|
|
1813
|
-
function
|
|
1814
|
-
wasm.
|
|
1844
|
+
function __wasm_bindgen_func_elem_3634(arg0, arg1, arg2) {
|
|
1845
|
+
wasm.__wasm_bindgen_func_elem_3634(arg0, arg1, addHeapObject(arg2));
|
|
1815
1846
|
}
|
|
1816
1847
|
|
|
1817
|
-
function
|
|
1818
|
-
wasm.
|
|
1848
|
+
function __wasm_bindgen_func_elem_3634_3(arg0, arg1, arg2) {
|
|
1849
|
+
wasm.__wasm_bindgen_func_elem_3634_3(arg0, arg1, addHeapObject(arg2));
|
|
1819
1850
|
}
|
|
1820
1851
|
|
|
1821
|
-
function
|
|
1822
|
-
wasm.
|
|
1852
|
+
function __wasm_bindgen_func_elem_3634_4(arg0, arg1, arg2) {
|
|
1853
|
+
wasm.__wasm_bindgen_func_elem_3634_4(arg0, arg1, addHeapObject(arg2));
|
|
1823
1854
|
}
|
|
1824
1855
|
|
|
1825
|
-
function
|
|
1826
|
-
wasm.
|
|
1856
|
+
function __wasm_bindgen_func_elem_3634_6(arg0, arg1, arg2) {
|
|
1857
|
+
wasm.__wasm_bindgen_func_elem_3634_6(arg0, arg1, addHeapObject(arg2));
|
|
1827
1858
|
}
|
|
1828
1859
|
|
|
1829
|
-
function
|
|
1830
|
-
wasm.
|
|
1860
|
+
function __wasm_bindgen_func_elem_1535(arg0, arg1, arg2, arg3) {
|
|
1861
|
+
wasm.__wasm_bindgen_func_elem_1535(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1831
1862
|
}
|
|
1832
1863
|
|
|
1833
|
-
function
|
|
1864
|
+
function __wasm_bindgen_func_elem_1537(arg0, arg1, arg2) {
|
|
1834
1865
|
try {
|
|
1835
1866
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1836
|
-
wasm.
|
|
1867
|
+
wasm.__wasm_bindgen_func_elem_1537(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1837
1868
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1838
1869
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1839
1870
|
if (r1) {
|
|
@@ -1844,10 +1875,10 @@ function __wasm_bindgen_func_elem_1486(arg0, arg1, arg2) {
|
|
|
1844
1875
|
}
|
|
1845
1876
|
}
|
|
1846
1877
|
|
|
1847
|
-
function
|
|
1878
|
+
function __wasm_bindgen_func_elem_1537_5(arg0, arg1, arg2) {
|
|
1848
1879
|
try {
|
|
1849
1880
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1850
|
-
wasm.
|
|
1881
|
+
wasm.__wasm_bindgen_func_elem_1537_5(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1851
1882
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1852
1883
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1853
1884
|
if (r1) {
|
|
@@ -1858,12 +1889,12 @@ function __wasm_bindgen_func_elem_1486_5(arg0, arg1, arg2) {
|
|
|
1858
1889
|
}
|
|
1859
1890
|
}
|
|
1860
1891
|
|
|
1861
|
-
function
|
|
1862
|
-
wasm.
|
|
1892
|
+
function __wasm_bindgen_func_elem_1535_35(arg0, arg1, arg2, arg3) {
|
|
1893
|
+
wasm.__wasm_bindgen_func_elem_1535_35(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1863
1894
|
}
|
|
1864
1895
|
|
|
1865
|
-
function
|
|
1866
|
-
wasm.
|
|
1896
|
+
function __wasm_bindgen_func_elem_1535_36(arg0, arg1, arg2, arg3) {
|
|
1897
|
+
wasm.__wasm_bindgen_func_elem_1535_36(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1867
1898
|
}
|
|
1868
1899
|
|
|
1869
1900
|
|
package/weeb_3_bg.wasm
CHANGED
|
Binary file
|
package/weeb_3_bg.wasm.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export const __wbg_weeb3no103_free: (a: number, b: number) => void;
|
|
|
5
5
|
export const init_wasm_runtime: () => void;
|
|
6
6
|
export const interweeb: (a: number, b: number) => number;
|
|
7
7
|
export const weeb3no103_acquireFeedBytes: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
8
|
+
export const weeb3no103_attachStream: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
8
9
|
export const weeb3no103_batchState: (a: number, b: number, c: number) => number;
|
|
9
10
|
export const weeb3no103_buyBatch: (a: number, b: number, c: number) => number;
|
|
10
11
|
export const weeb3no103_deployChequebook: (a: number) => number;
|
|
@@ -31,16 +32,16 @@ export const weeb3no103_uploadWithRedundancy: (a: number, b: number, c: number,
|
|
|
31
32
|
export const __wbg_requestarguments_free: (a: number, b: number) => void;
|
|
32
33
|
export const requestarguments_method: (a: number, b: number) => void;
|
|
33
34
|
export const requestarguments_params: (a: number) => number;
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
35
|
+
export const __wasm_bindgen_func_elem_1535: (a: number, b: number, c: number, d: number) => void;
|
|
36
|
+
export const __wasm_bindgen_func_elem_1537: (a: number, b: number, c: number, d: number) => void;
|
|
37
|
+
export const __wasm_bindgen_func_elem_1537_5: (a: number, b: number, c: number, d: number) => void;
|
|
38
|
+
export const __wasm_bindgen_func_elem_1535_35: (a: number, b: number, c: number, d: number) => void;
|
|
39
|
+
export const __wasm_bindgen_func_elem_1535_36: (a: number, b: number, c: number, d: number) => void;
|
|
40
|
+
export const __wasm_bindgen_func_elem_3634: (a: number, b: number, c: number) => void;
|
|
41
|
+
export const __wasm_bindgen_func_elem_3634_3: (a: number, b: number, c: number) => void;
|
|
42
|
+
export const __wasm_bindgen_func_elem_3634_4: (a: number, b: number, c: number) => void;
|
|
43
|
+
export const __wasm_bindgen_func_elem_3634_6: (a: number, b: number, c: number) => void;
|
|
44
|
+
export const __wasm_bindgen_func_elem_3560: (a: number, b: number) => void;
|
|
44
45
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
45
46
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
46
47
|
export const __wbindgen_export3: (a: number) => void;
|