@net-mesh/browser 0.39.0 → 0.40.0
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/dist/net_leaf.d.ts +25 -25
- package/dist/net_leaf.js +81 -81
- package/dist/net_leaf_bg.wasm +0 -0
- package/package.json +1 -1
package/dist/net_leaf.d.ts
CHANGED
|
@@ -72,13 +72,6 @@ export class LeafNode {
|
|
|
72
72
|
* a silent retry.
|
|
73
73
|
*/
|
|
74
74
|
call(service: string, payload: Uint8Array, timeout_ms?: number | null): Promise<Uint8Array>;
|
|
75
|
-
/**
|
|
76
|
-
* One org-scoped client-streaming call. `send` pushes items,
|
|
77
|
-
* `finish` half-closes and resolves the response body. See
|
|
78
|
-
* [`Self::call_org`] for the deadline, suspension and closure
|
|
79
|
-
* contract.
|
|
80
|
-
*/
|
|
81
|
-
call_org_client_stream(service: string, opts: any): Promise<OrgUploadCallHandle>;
|
|
82
75
|
/**
|
|
83
76
|
* One org-scoped unary call.
|
|
84
77
|
*
|
|
@@ -97,6 +90,13 @@ export class LeafNode {
|
|
|
97
90
|
* fail typed.
|
|
98
91
|
*/
|
|
99
92
|
call_org(service: string, payload: Uint8Array, opts: any): Promise<Uint8Array>;
|
|
93
|
+
/**
|
|
94
|
+
* One org-scoped client-streaming call. `send` pushes items,
|
|
95
|
+
* `finish` half-closes and resolves the response body. See
|
|
96
|
+
* [`Self::call_org`] for the deadline, suspension and closure
|
|
97
|
+
* contract.
|
|
98
|
+
*/
|
|
99
|
+
call_org_client_stream(service: string, opts: any): Promise<OrgUploadCallHandle>;
|
|
100
100
|
/**
|
|
101
101
|
* One org-scoped duplex call. See [`Self::call_org`] for the
|
|
102
102
|
* deadline, suspension and closure contract.
|
|
@@ -521,13 +521,6 @@ export class LeafNode {
|
|
|
521
521
|
* zeros.
|
|
522
522
|
*/
|
|
523
523
|
rtc_stats_json(): string;
|
|
524
|
-
/**
|
|
525
|
-
* Serve one org-scoped client-streaming service:
|
|
526
|
-
* `handler(caller, requests)` resolves the response body. See
|
|
527
|
-
* [`Self::serve_org`] for the handler-drop contract and the
|
|
528
|
-
* close semantics.
|
|
529
|
-
*/
|
|
530
|
-
serve_org_client_stream(service: string, access: string, handler: Function, opts: any): OrgServeHandle;
|
|
531
524
|
/**
|
|
532
525
|
* Serve one org-scoped unary service: `handler(caller, request)`
|
|
533
526
|
* resolves the response body.
|
|
@@ -548,6 +541,13 @@ export class LeafNode {
|
|
|
548
541
|
* openings (C9's protected split).
|
|
549
542
|
*/
|
|
550
543
|
serve_org(service: string, access: string, handler: Function, opts: any): OrgServeHandle;
|
|
544
|
+
/**
|
|
545
|
+
* Serve one org-scoped client-streaming service:
|
|
546
|
+
* `handler(caller, requests)` resolves the response body. See
|
|
547
|
+
* [`Self::serve_org`] for the handler-drop contract and the
|
|
548
|
+
* close semantics.
|
|
549
|
+
*/
|
|
550
|
+
serve_org_client_stream(service: string, access: string, handler: Function, opts: any): OrgServeHandle;
|
|
551
551
|
/**
|
|
552
552
|
* Serve one org-scoped duplex service:
|
|
553
553
|
* `handler(caller, requests, sink)` pulls requests and pushes
|
|
@@ -786,11 +786,6 @@ export class MeshSession {
|
|
|
786
786
|
* Call an nRPC service.
|
|
787
787
|
*/
|
|
788
788
|
call(service: string, payload: Uint8Array, timeout_ms?: number | null): Promise<Uint8Array>;
|
|
789
|
-
/**
|
|
790
|
-
* One org-scoped client-streaming call through the shared
|
|
791
|
-
* session. See [`Self::call_org`] for the contract.
|
|
792
|
-
*/
|
|
793
|
-
call_org_client_stream(service: string, opts: any): Promise<OrgUploadCallHandle>;
|
|
794
789
|
/**
|
|
795
790
|
* One org-scoped unary call through the shared session.
|
|
796
791
|
*
|
|
@@ -805,6 +800,11 @@ export class MeshSession {
|
|
|
805
800
|
* refuses rather than addressing a successor's call.
|
|
806
801
|
*/
|
|
807
802
|
call_org(service: string, payload: Uint8Array, opts: any): Promise<Uint8Array>;
|
|
803
|
+
/**
|
|
804
|
+
* One org-scoped client-streaming call through the shared
|
|
805
|
+
* session. See [`Self::call_org`] for the contract.
|
|
806
|
+
*/
|
|
807
|
+
call_org_client_stream(service: string, opts: any): Promise<OrgUploadCallHandle>;
|
|
808
808
|
/**
|
|
809
809
|
* One org-scoped duplex call through the shared session. See
|
|
810
810
|
* [`Self::call_org`] for the contract.
|
|
@@ -942,12 +942,6 @@ export class MeshSession {
|
|
|
942
942
|
* The lock and channel name.
|
|
943
943
|
*/
|
|
944
944
|
scope(): string;
|
|
945
|
-
/**
|
|
946
|
-
* Serve one org-scoped client-streaming service through the
|
|
947
|
-
* shared session. See [`Self::serve_org`] for the handler-drop
|
|
948
|
-
* contract and the close semantics.
|
|
949
|
-
*/
|
|
950
|
-
serve_org_client_stream(service: string, access: string, handler: Function, opts: any): OrgServeHandle;
|
|
951
945
|
/**
|
|
952
946
|
* Serve one org-scoped unary service through the shared
|
|
953
947
|
* session: `handler(caller, request)` resolves the response
|
|
@@ -968,6 +962,12 @@ export class MeshSession {
|
|
|
968
962
|
* new openings (C9's protected split).
|
|
969
963
|
*/
|
|
970
964
|
serve_org(service: string, access: string, handler: Function, opts: any): OrgServeHandle;
|
|
965
|
+
/**
|
|
966
|
+
* Serve one org-scoped client-streaming service through the
|
|
967
|
+
* shared session. See [`Self::serve_org`] for the handler-drop
|
|
968
|
+
* contract and the close semantics.
|
|
969
|
+
*/
|
|
970
|
+
serve_org_client_stream(service: string, access: string, handler: Function, opts: any): OrgServeHandle;
|
|
971
971
|
/**
|
|
972
972
|
* Serve one org-scoped duplex service through the shared
|
|
973
973
|
* session. See [`Self::serve_org`] for the handler-drop
|
package/dist/net_leaf.js
CHANGED
|
@@ -146,21 +146,6 @@ export class LeafNode {
|
|
|
146
146
|
const ret = wasm.leafnode_call(this.__wbg_ptr, ptr0, len0, addHeapObject(payload), !isLikeNone(timeout_ms), isLikeNone(timeout_ms) ? 0 : timeout_ms);
|
|
147
147
|
return takeObject(ret);
|
|
148
148
|
}
|
|
149
|
-
/**
|
|
150
|
-
* One org-scoped client-streaming call. `send` pushes items,
|
|
151
|
-
* `finish` half-closes and resolves the response body. See
|
|
152
|
-
* [`Self::call_org`] for the deadline, suspension and closure
|
|
153
|
-
* contract.
|
|
154
|
-
* @param {string} service
|
|
155
|
-
* @param {any} opts
|
|
156
|
-
* @returns {Promise<OrgUploadCallHandle>}
|
|
157
|
-
*/
|
|
158
|
-
call_org_client_stream(service, opts) {
|
|
159
|
-
const ptr0 = passStringToWasm0(service, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
160
|
-
const len0 = WASM_VECTOR_LEN;
|
|
161
|
-
const ret = wasm.leafnode_call_org_client_stream(this.__wbg_ptr, ptr0, len0, addHeapObject(opts));
|
|
162
|
-
return takeObject(ret);
|
|
163
|
-
}
|
|
164
149
|
/**
|
|
165
150
|
* One org-scoped unary call.
|
|
166
151
|
*
|
|
@@ -188,6 +173,21 @@ export class LeafNode {
|
|
|
188
173
|
const ret = wasm.leafnode_call_org(this.__wbg_ptr, ptr0, len0, addHeapObject(payload), addHeapObject(opts));
|
|
189
174
|
return takeObject(ret);
|
|
190
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* One org-scoped client-streaming call. `send` pushes items,
|
|
178
|
+
* `finish` half-closes and resolves the response body. See
|
|
179
|
+
* [`Self::call_org`] for the deadline, suspension and closure
|
|
180
|
+
* contract.
|
|
181
|
+
* @param {string} service
|
|
182
|
+
* @param {any} opts
|
|
183
|
+
* @returns {Promise<OrgUploadCallHandle>}
|
|
184
|
+
*/
|
|
185
|
+
call_org_client_stream(service, opts) {
|
|
186
|
+
const ptr0 = passStringToWasm0(service, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
187
|
+
const len0 = WASM_VECTOR_LEN;
|
|
188
|
+
const ret = wasm.leafnode_call_org_client_stream(this.__wbg_ptr, ptr0, len0, addHeapObject(opts));
|
|
189
|
+
return takeObject(ret);
|
|
190
|
+
}
|
|
191
191
|
/**
|
|
192
192
|
* One org-scoped duplex call. See [`Self::call_org`] for the
|
|
193
193
|
* deadline, suspension and closure contract.
|
|
@@ -915,24 +915,37 @@ export class LeafNode {
|
|
|
915
915
|
}
|
|
916
916
|
}
|
|
917
917
|
/**
|
|
918
|
-
* Serve one org-scoped
|
|
919
|
-
*
|
|
920
|
-
*
|
|
921
|
-
*
|
|
918
|
+
* Serve one org-scoped unary service: `handler(caller, request)`
|
|
919
|
+
* resolves the response body.
|
|
920
|
+
*
|
|
921
|
+
* # The handler-drop contract (F-S3.1-2)
|
|
922
|
+
*
|
|
923
|
+
* The retire supervisor may drop the handler future without a
|
|
924
|
+
* final poll — cancellation is observed through the retirement
|
|
925
|
+
* observables (the terminal item, the sink's typed closed
|
|
926
|
+
* refusal, and `retired`), never assumed as a handler-side
|
|
927
|
+
* event; a detached observer holding `retired` observes the
|
|
928
|
+
* signal. After retirement the handler sees typed refusals and
|
|
929
|
+
* its return value is discarded — the terminal was already
|
|
930
|
+
* sent.
|
|
931
|
+
*
|
|
932
|
+
* Closing the returned handle retires this registration's live
|
|
933
|
+
* protected calls with their exact terminals and refuses new
|
|
934
|
+
* openings (C9's protected split).
|
|
922
935
|
* @param {string} service
|
|
923
936
|
* @param {string} access
|
|
924
937
|
* @param {Function} handler
|
|
925
938
|
* @param {any} opts
|
|
926
939
|
* @returns {OrgServeHandle}
|
|
927
940
|
*/
|
|
928
|
-
|
|
941
|
+
serve_org(service, access, handler, opts) {
|
|
929
942
|
try {
|
|
930
943
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
931
944
|
const ptr0 = passStringToWasm0(service, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
932
945
|
const len0 = WASM_VECTOR_LEN;
|
|
933
946
|
const ptr1 = passStringToWasm0(access, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
934
947
|
const len1 = WASM_VECTOR_LEN;
|
|
935
|
-
wasm.
|
|
948
|
+
wasm.leafnode_serve_org(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(handler), addHeapObject(opts));
|
|
936
949
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
937
950
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
938
951
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -945,37 +958,24 @@ export class LeafNode {
|
|
|
945
958
|
}
|
|
946
959
|
}
|
|
947
960
|
/**
|
|
948
|
-
* Serve one org-scoped
|
|
949
|
-
* resolves the response body.
|
|
950
|
-
*
|
|
951
|
-
*
|
|
952
|
-
*
|
|
953
|
-
* The retire supervisor may drop the handler future without a
|
|
954
|
-
* final poll — cancellation is observed through the retirement
|
|
955
|
-
* observables (the terminal item, the sink's typed closed
|
|
956
|
-
* refusal, and `retired`), never assumed as a handler-side
|
|
957
|
-
* event; a detached observer holding `retired` observes the
|
|
958
|
-
* signal. After retirement the handler sees typed refusals and
|
|
959
|
-
* its return value is discarded — the terminal was already
|
|
960
|
-
* sent.
|
|
961
|
-
*
|
|
962
|
-
* Closing the returned handle retires this registration's live
|
|
963
|
-
* protected calls with their exact terminals and refuses new
|
|
964
|
-
* openings (C9's protected split).
|
|
961
|
+
* Serve one org-scoped client-streaming service:
|
|
962
|
+
* `handler(caller, requests)` resolves the response body. See
|
|
963
|
+
* [`Self::serve_org`] for the handler-drop contract and the
|
|
964
|
+
* close semantics.
|
|
965
965
|
* @param {string} service
|
|
966
966
|
* @param {string} access
|
|
967
967
|
* @param {Function} handler
|
|
968
968
|
* @param {any} opts
|
|
969
969
|
* @returns {OrgServeHandle}
|
|
970
970
|
*/
|
|
971
|
-
|
|
971
|
+
serve_org_client_stream(service, access, handler, opts) {
|
|
972
972
|
try {
|
|
973
973
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
974
974
|
const ptr0 = passStringToWasm0(service, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
975
975
|
const len0 = WASM_VECTOR_LEN;
|
|
976
976
|
const ptr1 = passStringToWasm0(access, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
977
977
|
const len1 = WASM_VECTOR_LEN;
|
|
978
|
-
wasm.
|
|
978
|
+
wasm.leafnode_serve_org_client_stream(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(handler), addHeapObject(opts));
|
|
979
979
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
980
980
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
981
981
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -1434,19 +1434,6 @@ export class MeshSession {
|
|
|
1434
1434
|
const ret = wasm.meshsession_call(this.__wbg_ptr, ptr0, len0, addHeapObject(payload), !isLikeNone(timeout_ms), isLikeNone(timeout_ms) ? 0 : timeout_ms);
|
|
1435
1435
|
return takeObject(ret);
|
|
1436
1436
|
}
|
|
1437
|
-
/**
|
|
1438
|
-
* One org-scoped client-streaming call through the shared
|
|
1439
|
-
* session. See [`Self::call_org`] for the contract.
|
|
1440
|
-
* @param {string} service
|
|
1441
|
-
* @param {any} opts
|
|
1442
|
-
* @returns {Promise<OrgUploadCallHandle>}
|
|
1443
|
-
*/
|
|
1444
|
-
call_org_client_stream(service, opts) {
|
|
1445
|
-
const ptr0 = passStringToWasm0(service, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1446
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1447
|
-
const ret = wasm.meshsession_call_org_client_stream(this.__wbg_ptr, ptr0, len0, addHeapObject(opts));
|
|
1448
|
-
return takeObject(ret);
|
|
1449
|
-
}
|
|
1450
1437
|
/**
|
|
1451
1438
|
* One org-scoped unary call through the shared session.
|
|
1452
1439
|
*
|
|
@@ -1470,6 +1457,19 @@ export class MeshSession {
|
|
|
1470
1457
|
const ret = wasm.meshsession_call_org(this.__wbg_ptr, ptr0, len0, addHeapObject(payload), addHeapObject(opts));
|
|
1471
1458
|
return takeObject(ret);
|
|
1472
1459
|
}
|
|
1460
|
+
/**
|
|
1461
|
+
* One org-scoped client-streaming call through the shared
|
|
1462
|
+
* session. See [`Self::call_org`] for the contract.
|
|
1463
|
+
* @param {string} service
|
|
1464
|
+
* @param {any} opts
|
|
1465
|
+
* @returns {Promise<OrgUploadCallHandle>}
|
|
1466
|
+
*/
|
|
1467
|
+
call_org_client_stream(service, opts) {
|
|
1468
|
+
const ptr0 = passStringToWasm0(service, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1469
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1470
|
+
const ret = wasm.meshsession_call_org_client_stream(this.__wbg_ptr, ptr0, len0, addHeapObject(opts));
|
|
1471
|
+
return takeObject(ret);
|
|
1472
|
+
}
|
|
1473
1473
|
/**
|
|
1474
1474
|
* One org-scoped duplex call through the shared session. See
|
|
1475
1475
|
* [`Self::call_org`] for the contract.
|
|
@@ -1799,23 +1799,37 @@ export class MeshSession {
|
|
|
1799
1799
|
}
|
|
1800
1800
|
}
|
|
1801
1801
|
/**
|
|
1802
|
-
* Serve one org-scoped
|
|
1803
|
-
*
|
|
1804
|
-
*
|
|
1802
|
+
* Serve one org-scoped unary service through the shared
|
|
1803
|
+
* session: `handler(caller, request)` resolves the response
|
|
1804
|
+
* body. The registration rides the proxy registry and its
|
|
1805
|
+
* inbound calls dispatch to THIS follower's handle and no other.
|
|
1806
|
+
*
|
|
1807
|
+
* # The handler-drop contract (F-S3.1-2)
|
|
1808
|
+
*
|
|
1809
|
+
* The retire supervisor may drop the handler future without a
|
|
1810
|
+
* final poll — cancellation is observed through the retirement
|
|
1811
|
+
* observables (the terminal item, the sink's typed closed
|
|
1812
|
+
* refusal, and `retired`), never assumed as a handler-side
|
|
1813
|
+
* event; a detached observer holding `retired` observes the
|
|
1814
|
+
* signal. After retirement the handler sees typed refusals and
|
|
1815
|
+
* its return value is discarded — the terminal was already
|
|
1816
|
+
* sent. Closing the returned handle retires this registration's
|
|
1817
|
+
* live protected calls with their exact terminals and refuses
|
|
1818
|
+
* new openings (C9's protected split).
|
|
1805
1819
|
* @param {string} service
|
|
1806
1820
|
* @param {string} access
|
|
1807
1821
|
* @param {Function} handler
|
|
1808
1822
|
* @param {any} opts
|
|
1809
1823
|
* @returns {OrgServeHandle}
|
|
1810
1824
|
*/
|
|
1811
|
-
|
|
1825
|
+
serve_org(service, access, handler, opts) {
|
|
1812
1826
|
try {
|
|
1813
1827
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1814
1828
|
const ptr0 = passStringToWasm0(service, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1815
1829
|
const len0 = WASM_VECTOR_LEN;
|
|
1816
1830
|
const ptr1 = passStringToWasm0(access, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1817
1831
|
const len1 = WASM_VECTOR_LEN;
|
|
1818
|
-
wasm.
|
|
1832
|
+
wasm.meshsession_serve_org(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(handler), addHeapObject(opts));
|
|
1819
1833
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1820
1834
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1821
1835
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -1828,37 +1842,23 @@ export class MeshSession {
|
|
|
1828
1842
|
}
|
|
1829
1843
|
}
|
|
1830
1844
|
/**
|
|
1831
|
-
* Serve one org-scoped
|
|
1832
|
-
* session
|
|
1833
|
-
*
|
|
1834
|
-
* inbound calls dispatch to THIS follower's handle and no other.
|
|
1835
|
-
*
|
|
1836
|
-
* # The handler-drop contract (F-S3.1-2)
|
|
1837
|
-
*
|
|
1838
|
-
* The retire supervisor may drop the handler future without a
|
|
1839
|
-
* final poll — cancellation is observed through the retirement
|
|
1840
|
-
* observables (the terminal item, the sink's typed closed
|
|
1841
|
-
* refusal, and `retired`), never assumed as a handler-side
|
|
1842
|
-
* event; a detached observer holding `retired` observes the
|
|
1843
|
-
* signal. After retirement the handler sees typed refusals and
|
|
1844
|
-
* its return value is discarded — the terminal was already
|
|
1845
|
-
* sent. Closing the returned handle retires this registration's
|
|
1846
|
-
* live protected calls with their exact terminals and refuses
|
|
1847
|
-
* new openings (C9's protected split).
|
|
1845
|
+
* Serve one org-scoped client-streaming service through the
|
|
1846
|
+
* shared session. See [`Self::serve_org`] for the handler-drop
|
|
1847
|
+
* contract and the close semantics.
|
|
1848
1848
|
* @param {string} service
|
|
1849
1849
|
* @param {string} access
|
|
1850
1850
|
* @param {Function} handler
|
|
1851
1851
|
* @param {any} opts
|
|
1852
1852
|
* @returns {OrgServeHandle}
|
|
1853
1853
|
*/
|
|
1854
|
-
|
|
1854
|
+
serve_org_client_stream(service, access, handler, opts) {
|
|
1855
1855
|
try {
|
|
1856
1856
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1857
1857
|
const ptr0 = passStringToWasm0(service, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1858
1858
|
const len0 = WASM_VECTOR_LEN;
|
|
1859
1859
|
const ptr1 = passStringToWasm0(access, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1860
1860
|
const len1 = WASM_VECTOR_LEN;
|
|
1861
|
-
wasm.
|
|
1861
|
+
wasm.meshsession_serve_org_client_stream(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(handler), addHeapObject(opts));
|
|
1862
1862
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1863
1863
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1864
1864
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -2718,13 +2718,13 @@ function __wbg_get_imports() {
|
|
|
2718
2718
|
const ret = getObject(arg0).error;
|
|
2719
2719
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2720
2720
|
},
|
|
2721
|
-
__wbg_error_68609ef5ca157ced: function(arg0, arg1) {
|
|
2722
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
2723
|
-
},
|
|
2724
2721
|
__wbg_error_6a23b57453026a47: function() { return handleError(function (arg0) {
|
|
2725
2722
|
const ret = getObject(arg0).error;
|
|
2726
2723
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2727
2724
|
}, arguments); },
|
|
2725
|
+
__wbg_error_c7a46bea9bd49ca0: function(arg0, arg1) {
|
|
2726
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
2727
|
+
},
|
|
2728
2728
|
__wbg_fetch_4178962c570137ca: function(arg0, arg1, arg2) {
|
|
2729
2729
|
const ret = getObject(arg0).fetch(getStringFromWasm0(arg1, arg2));
|
|
2730
2730
|
return addHeapObject(ret);
|
|
@@ -3275,7 +3275,7 @@ function __wbg_get_imports() {
|
|
|
3275
3275
|
return addHeapObject(ret);
|
|
3276
3276
|
},
|
|
3277
3277
|
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
3278
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3278
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 868, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3279
3279
|
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_6509);
|
|
3280
3280
|
return addHeapObject(ret);
|
|
3281
3281
|
},
|
package/dist/net_leaf_bg.wasm
CHANGED
|
Binary file
|