@automerge/subduction 0.7.0-alpha.1 → 0.8.1
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/cjs/wasm-base64.cjs +1 -1
- package/dist/cjs/web-bindings.cjs +584 -701
- package/dist/cjs/web.cjs +585 -702
- package/dist/esm/wasm-base64.js +1 -1
- package/dist/iife/index.js +580 -695
- package/dist/index.d.ts +269 -283
- package/dist/subduction.wasm +0 -0
- package/dist/wasm_bindgen/bundler/subduction_wasm.d.ts +269 -283
- package/dist/wasm_bindgen/bundler/subduction_wasm.js +1 -1
- package/dist/wasm_bindgen/bundler/subduction_wasm_bg.js +689 -809
- package/dist/wasm_bindgen/bundler/subduction_wasm_bg.wasm +0 -0
- package/dist/wasm_bindgen/bundler/subduction_wasm_bg.wasm.d.ts +83 -93
- package/dist/wasm_bindgen/nodejs/subduction_wasm.cjs +689 -811
- package/dist/wasm_bindgen/nodejs/subduction_wasm.d.ts +269 -283
- package/dist/wasm_bindgen/nodejs/subduction_wasm_bg.wasm +0 -0
- package/dist/wasm_bindgen/nodejs/subduction_wasm_bg.wasm.d.ts +83 -93
- package/dist/wasm_bindgen/web/subduction_wasm.d.ts +352 -376
- package/dist/wasm_bindgen/web/subduction_wasm.js +689 -809
- package/dist/wasm_bindgen/web/subduction_wasm_bg.wasm +0 -0
- package/dist/wasm_bindgen/web/subduction_wasm_bg.wasm.d.ts +83 -93
- package/package.json +1 -1
|
Binary file
|
|
@@ -2,80 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
4
|
export const start: () => void;
|
|
5
|
-
export const __wbg_subductionlongpollconnection_free: (a: number, b: number) => void;
|
|
6
|
-
export const subductionlongpollconnection_disconnect: (a: number) => any;
|
|
7
|
-
export const subductionlongpollconnection_send: (a: number, b: number) => any;
|
|
8
|
-
export const subductionlongpollconnection_recv: (a: number) => any;
|
|
9
|
-
export const subductionlongpollconnection_nextRequestId: (a: number) => any;
|
|
10
|
-
export const subductionlongpollconnection_call: (a: number, b: number, c: number, d: number) => any;
|
|
11
|
-
export const __wbg_authenticatedlongpoll_free: (a: number, b: number) => void;
|
|
12
|
-
export const authenticatedlongpoll_peerId: (a: number) => number;
|
|
13
|
-
export const authenticatedlongpoll_sessionId: (a: number) => [number, number];
|
|
14
|
-
export const authenticatedlongpoll_toConnection: (a: number) => number;
|
|
15
|
-
export const __wbg_subductionlongpoll_free: (a: number, b: number) => void;
|
|
16
|
-
export const subductionlongpoll_tryConnect: (a: number, b: number, c: any, d: number, e: number) => any;
|
|
17
|
-
export const subductionlongpoll_tryDiscover: (a: number, b: number, c: any, d: number, e: number, f: number) => any;
|
|
18
|
-
export const __wbg_message_free: (a: number, b: number) => void;
|
|
19
|
-
export const message_toBytes: (a: number) => [number, number];
|
|
20
|
-
export const message_fromBytes: (a: number, b: number) => [number, number, number];
|
|
21
|
-
export const message_blobsRequest: (a: number, b: number, c: number) => number;
|
|
22
|
-
export const message_blobsResponse: (a: number, b: number, c: number) => number;
|
|
23
|
-
export const message_batchSyncRequest: (a: number) => number;
|
|
24
|
-
export const message_batchSyncResponse: (a: number) => number;
|
|
25
|
-
export const message_type: (a: number) => [number, number];
|
|
26
|
-
export const message_sedimentreeId: (a: number) => number;
|
|
27
|
-
export const message_commit: (a: number) => number;
|
|
28
|
-
export const message_fragment: (a: number) => number;
|
|
29
|
-
export const message_blob: (a: number) => any;
|
|
30
|
-
export const message_digests: (a: number) => [number, number];
|
|
31
|
-
export const message_blobs: (a: number) => [number, number];
|
|
32
|
-
export const message_request: (a: number) => number;
|
|
33
|
-
export const message_response: (a: number) => number;
|
|
34
|
-
export const message___wasm_refgen_toWasmMessage: (a: number) => number;
|
|
35
|
-
export const __wbg_messageportconnection_free: (a: number, b: number) => void;
|
|
36
|
-
export const messageportconnection_sendBytes: (a: number, b: number, c: number) => any;
|
|
37
|
-
export const messageportconnection_recvBytes: (a: number) => any;
|
|
38
|
-
export const messageportconnection_disconnect: (a: number) => any;
|
|
39
|
-
export const messageportconnection_send: (a: number, b: any) => any;
|
|
40
|
-
export const messageportconnection_recv: (a: number) => any;
|
|
41
|
-
export const messageportconnection_nextRequestId: (a: number) => any;
|
|
42
|
-
export const messageportconnection_call: (a: number, b: any, c: number, d: number) => any;
|
|
43
|
-
export const makeMessagePortConnection: (a: any) => number;
|
|
44
|
-
export const __wbg_nonce_free: (a: number, b: number) => void;
|
|
45
|
-
export const nonce_new: (a: number, b: number) => [number, number, number];
|
|
46
|
-
export const nonce_random: () => number;
|
|
47
|
-
export const nonce_bytes: (a: number) => [number, number];
|
|
48
|
-
export const __wbg_subductionwebsocket_free: (a: number, b: number) => void;
|
|
49
|
-
export const subductionwebsocket_setup: (a: any, b: any, c: number, d: number) => any;
|
|
50
|
-
export const subductionwebsocket_tryConnect: (a: any, b: any, c: number, d: number) => any;
|
|
51
|
-
export const subductionwebsocket_tryDiscover: (a: any, b: any, c: number, d: number, e: number) => any;
|
|
52
|
-
export const subductionwebsocket_peerId: (a: number) => number;
|
|
53
|
-
export const subductionwebsocket_disconnect: (a: number) => any;
|
|
54
|
-
export const subductionwebsocket_send: (a: number, b: number) => any;
|
|
55
|
-
export const subductionwebsocket_recv: (a: number) => any;
|
|
56
|
-
export const subductionwebsocket_nextRequestId: (a: number) => any;
|
|
57
|
-
export const subductionwebsocket_call: (a: number, b: number, c: number, d: number) => any;
|
|
58
|
-
export const __wbg_authenticatedwebsocket_free: (a: number, b: number) => void;
|
|
59
|
-
export const authenticatedwebsocket_peerId: (a: number) => number;
|
|
60
|
-
export const authenticatedwebsocket_toConnection: (a: number) => number;
|
|
61
|
-
export const __wbg_requestid_free: (a: number, b: number) => void;
|
|
62
|
-
export const requestid_new: (a: number, b: number) => number;
|
|
63
|
-
export const requestid_requestor: (a: number) => number;
|
|
64
|
-
export const requestid_nonce: (a: number) => number;
|
|
65
|
-
export const requestid___wasm_refgen_toWasmRequestId: (a: number) => number;
|
|
66
|
-
export const __wbg_batchsyncrequest_free: (a: number, b: number) => void;
|
|
67
|
-
export const batchsyncrequest_id: (a: number) => number;
|
|
68
|
-
export const batchsyncrequest_request_id: (a: number) => number;
|
|
69
|
-
export const batchsyncrequest_subscribe: (a: number) => number;
|
|
70
|
-
export const __wbg_batchsyncresponse_free: (a: number, b: number) => void;
|
|
71
|
-
export const batchsyncresponse_id: (a: number) => number;
|
|
72
|
-
export const batchsyncresponse_request_id: (a: number) => number;
|
|
73
|
-
export const batchsyncresponse___wasm_refgen_toWasmBatchSyncResponse: (a: number) => number;
|
|
74
|
-
export const __wbg_authenticatedconnection_free: (a: number, b: number) => void;
|
|
75
|
-
export const authenticatedconnection_setup: (a: any, b: any, c: number) => any;
|
|
76
|
-
export const authenticatedconnection_accept: (a: any, b: any, c: number) => any;
|
|
77
|
-
export const authenticatedconnection_peerId: (a: number) => number;
|
|
78
|
-
export const __wbg_connectionid_free: (a: number, b: number) => void;
|
|
79
5
|
export const __wbg_fragmentrequested_free: (a: number, b: number) => void;
|
|
80
6
|
export const fragmentrequested_new: (a: number, b: number) => number;
|
|
81
7
|
export const fragmentrequested_head: (a: number) => number;
|
|
@@ -99,13 +25,16 @@ export const subduction_new: (a: any, b: any, c: number, d: number, e: number, f
|
|
|
99
25
|
export const subduction_hydrate: (a: any, b: any, c: number, d: number, e: number, f: number) => any;
|
|
100
26
|
export const subduction_addSedimentree: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
101
27
|
export const subduction_removeSedimentree: (a: number, b: number) => any;
|
|
102
|
-
export const subduction_connect: (a: number, b: any, c: number
|
|
103
|
-
export const subduction_connectDiscover: (a: number, b: any, c: number, d: number
|
|
104
|
-
export const subduction_connectLongPoll: (a: number, b: number, c: number, d: number
|
|
105
|
-
export const subduction_connectDiscoverLongPoll: (a: number, b: number, c: number, d: number, e: number
|
|
28
|
+
export const subduction_connect: (a: number, b: any, c: number) => any;
|
|
29
|
+
export const subduction_connectDiscover: (a: number, b: any, c: number, d: number) => any;
|
|
30
|
+
export const subduction_connectLongPoll: (a: number, b: number, c: number, d: number) => any;
|
|
31
|
+
export const subduction_connectDiscoverLongPoll: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
106
32
|
export const subduction_disconnectAll: (a: number) => any;
|
|
107
33
|
export const subduction_disconnectFromPeer: (a: number, b: number) => any;
|
|
108
34
|
export const subduction_addConnection: (a: number, b: number) => any;
|
|
35
|
+
export const subduction_connectTransport: (a: number, b: any, c: number, d: number) => any;
|
|
36
|
+
export const subduction_acceptTransport: (a: number, b: any, c: number, d: number) => any;
|
|
37
|
+
export const subduction_link: (a: number, b: number) => any;
|
|
109
38
|
export const subduction_getBlob: (a: number, b: number, c: number) => any;
|
|
110
39
|
export const subduction_getBlobs: (a: number, b: number) => any;
|
|
111
40
|
export const subduction_fetchBlobs: (a: number, b: number, c: number, d: bigint) => any;
|
|
@@ -124,10 +53,7 @@ export const subduction_storage: (a: number) => any;
|
|
|
124
53
|
export const __wbg_peerbatchsyncresult_free: (a: number, b: number) => void;
|
|
125
54
|
export const peerbatchsyncresult_success: (a: number) => number;
|
|
126
55
|
export const peerbatchsyncresult_stats: (a: number) => number;
|
|
127
|
-
export const
|
|
128
|
-
export const __wbg_connerrorpair_free: (a: number, b: number) => void;
|
|
129
|
-
export const connerrorpair_conn: (a: number) => any;
|
|
130
|
-
export const connerrorpair_err: (a: number) => any;
|
|
56
|
+
export const peerbatchsyncresult_transportErrors: (a: number) => [number, number];
|
|
131
57
|
export const __wbg_peerresultmap_free: (a: number, b: number) => void;
|
|
132
58
|
export const peerresultmap_getResult: (a: number, b: number) => number;
|
|
133
59
|
export const peerresultmap_entries: (a: number) => [number, number];
|
|
@@ -142,8 +68,73 @@ export const syncstats_fragmentsSent: (a: number) => number;
|
|
|
142
68
|
export const syncstats_totalReceived: (a: number) => number;
|
|
143
69
|
export const syncstats_totalSent: (a: number) => number;
|
|
144
70
|
export const syncstats_isEmpty: (a: number) => number;
|
|
71
|
+
export const __wbg_subductionhttplongpoll_free: (a: number, b: number) => void;
|
|
72
|
+
export const subductionhttplongpoll_sendBytes: (a: number, b: number, c: number) => any;
|
|
73
|
+
export const subductionhttplongpoll_recvBytes: (a: number) => any;
|
|
74
|
+
export const subductionhttplongpoll_disconnect: (a: number) => any;
|
|
75
|
+
export const __wbg_authenticatedlongpoll_free: (a: number, b: number) => void;
|
|
76
|
+
export const authenticatedlongpoll_peerId: (a: number) => number;
|
|
77
|
+
export const authenticatedlongpoll_sessionId: (a: number) => [number, number];
|
|
78
|
+
export const authenticatedlongpoll_toTransport: (a: number) => number;
|
|
79
|
+
export const __wbg_subductionlongpoll_free: (a: number, b: number) => void;
|
|
80
|
+
export const subductionlongpoll_tryConnect: (a: number, b: number, c: any, d: number) => any;
|
|
81
|
+
export const subductionlongpoll_tryDiscover: (a: number, b: number, c: any, d: number, e: number) => any;
|
|
82
|
+
export const __wbg_syncmessage_free: (a: number, b: number) => void;
|
|
83
|
+
export const syncmessage_toBytes: (a: number) => [number, number];
|
|
84
|
+
export const syncmessage_fromBytes: (a: number, b: number) => [number, number, number];
|
|
85
|
+
export const syncmessage_blobsRequest: (a: number, b: number, c: number) => number;
|
|
86
|
+
export const syncmessage_blobsResponse: (a: number, b: number, c: number) => number;
|
|
87
|
+
export const syncmessage_batchSyncRequest: (a: number) => number;
|
|
88
|
+
export const syncmessage_batchSyncResponse: (a: number) => number;
|
|
89
|
+
export const syncmessage_type: (a: number) => [number, number];
|
|
90
|
+
export const syncmessage_sedimentreeId: (a: number) => number;
|
|
91
|
+
export const syncmessage_commit: (a: number) => number;
|
|
92
|
+
export const syncmessage_fragment: (a: number) => number;
|
|
93
|
+
export const syncmessage_blob: (a: number) => any;
|
|
94
|
+
export const syncmessage_digests: (a: number) => [number, number];
|
|
95
|
+
export const syncmessage_blobs: (a: number) => [number, number];
|
|
96
|
+
export const syncmessage_request: (a: number) => number;
|
|
97
|
+
export const syncmessage_response: (a: number) => number;
|
|
98
|
+
export const syncmessage___wasm_refgen_toWasmMessage: (a: number) => number;
|
|
99
|
+
export const __wbg_messageporttransport_free: (a: number, b: number) => void;
|
|
100
|
+
export const messageporttransport_sendBytes: (a: number, b: number, c: number) => any;
|
|
101
|
+
export const messageporttransport_recvBytes: (a: number) => any;
|
|
102
|
+
export const messageporttransport_disconnect: (a: number) => any;
|
|
103
|
+
export const makeMessagePortTransport: (a: any) => number;
|
|
104
|
+
export const __wbg_nonce_free: (a: number, b: number) => void;
|
|
105
|
+
export const nonce_new: (a: number, b: number) => [number, number, number];
|
|
106
|
+
export const nonce_random: () => number;
|
|
107
|
+
export const nonce_bytes: (a: number) => [number, number];
|
|
108
|
+
export const __wbg_subductionwebsocket_free: (a: number, b: number) => void;
|
|
109
|
+
export const subductionwebsocket_setup: (a: any, b: any, c: number) => any;
|
|
110
|
+
export const subductionwebsocket_tryConnect: (a: any, b: any, c: number) => any;
|
|
111
|
+
export const subductionwebsocket_tryDiscover: (a: any, b: any, c: number, d: number) => any;
|
|
112
|
+
export const subductionwebsocket_sendBytes: (a: number, b: number, c: number) => any;
|
|
113
|
+
export const subductionwebsocket_recvBytes: (a: number) => any;
|
|
114
|
+
export const subductionwebsocket_disconnect: (a: number) => any;
|
|
115
|
+
export const __wbg_authenticatedwebsocket_free: (a: number, b: number) => void;
|
|
116
|
+
export const authenticatedwebsocket_peerId: (a: number) => number;
|
|
117
|
+
export const authenticatedwebsocket_toTransport: (a: number) => number;
|
|
118
|
+
export const __wbg_requestid_free: (a: number, b: number) => void;
|
|
119
|
+
export const requestid_new: (a: number, b: number) => number;
|
|
120
|
+
export const requestid_requestor: (a: number) => number;
|
|
121
|
+
export const requestid_nonce: (a: number) => number;
|
|
122
|
+
export const requestid___wasm_refgen_toWasmRequestId: (a: number) => number;
|
|
123
|
+
export const __wbg_batchsyncrequest_free: (a: number, b: number) => void;
|
|
124
|
+
export const batchsyncrequest_id: (a: number) => number;
|
|
125
|
+
export const batchsyncrequest_request_id: (a: number) => number;
|
|
126
|
+
export const batchsyncrequest_subscribe: (a: number) => number;
|
|
127
|
+
export const __wbg_batchsyncresponse_free: (a: number, b: number) => void;
|
|
128
|
+
export const batchsyncresponse_id: (a: number) => number;
|
|
129
|
+
export const batchsyncresponse_request_id: (a: number) => number;
|
|
130
|
+
export const batchsyncresponse___wasm_refgen_toWasmBatchSyncResponse: (a: number) => number;
|
|
131
|
+
export const __wbg_authenticatedtransport_free: (a: number, b: number) => void;
|
|
132
|
+
export const authenticatedtransport_setup: (a: any, b: any, c: number) => any;
|
|
133
|
+
export const authenticatedtransport_setupDiscover: (a: any, b: any, c: number, d: number) => any;
|
|
134
|
+
export const authenticatedtransport_accept: (a: any, b: any, c: number) => any;
|
|
135
|
+
export const authenticatedtransport_peerId: (a: number) => number;
|
|
145
136
|
export const memorysigner_new: () => number;
|
|
146
|
-
export const
|
|
137
|
+
export const messageporttransport_new: (a: any) => number;
|
|
147
138
|
export const __wbg_webcryptosigner_free: (a: number, b: number) => void;
|
|
148
139
|
export const __wbg_depth_free: (a: number, b: number) => void;
|
|
149
140
|
export const depth_new: (a: any) => [number, number, number];
|
|
@@ -221,18 +212,17 @@ export const fragmentwithblob_new: (a: number, b: any) => number;
|
|
|
221
212
|
export const __wbg_sedimentreeid_free: (a: number, b: number) => void;
|
|
222
213
|
export const __wbg_fragmentwithblob_free: (a: number, b: number) => void;
|
|
223
214
|
export const __wbg_signedloosecommit_free: (a: number, b: number) => void;
|
|
224
|
-
export const sedimentreeid_toBytes: (a: number) => [number, number];
|
|
225
215
|
export const sedimentreeid___wasm_refgen_toWasmSedimentreeId: (a: number) => number;
|
|
216
|
+
export const sedimentreeid_toBytes: (a: number) => [number, number];
|
|
226
217
|
export const fragmentwithblob_blob: (a: number) => any;
|
|
227
|
-
export const
|
|
228
|
-
export const
|
|
229
|
-
export const
|
|
230
|
-
export const
|
|
231
|
-
export const
|
|
232
|
-
export const
|
|
233
|
-
export const
|
|
234
|
-
export const
|
|
235
|
-
export const __wasm_bindgen_func_elem_528: (a: number, b: number) => void;
|
|
218
|
+
export const __wasm_bindgen_func_elem_255: (a: number, b: number) => void;
|
|
219
|
+
export const __wasm_bindgen_func_elem_1476: (a: number, b: number, c: any) => [number, number];
|
|
220
|
+
export const __wasm_bindgen_func_elem_1476_183: (a: number, b: number, c: any, d: any) => void;
|
|
221
|
+
export const __wasm_bindgen_func_elem_1476_184: (a: number, b: number, c: any, d: any) => void;
|
|
222
|
+
export const __wasm_bindgen_func_elem_552: (a: number, b: number, c: any) => void;
|
|
223
|
+
export const __wasm_bindgen_func_elem_552_1: (a: number, b: number, c: any) => void;
|
|
224
|
+
export const __wasm_bindgen_func_elem_552_2: (a: number, b: number, c: any) => void;
|
|
225
|
+
export const __wasm_bindgen_func_elem_552_3: (a: number, b: number, c: any) => void;
|
|
236
226
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
237
227
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
238
228
|
export const __wbindgen_export3: (a: number) => void;
|