@automerge/subduction 0.10.1 → 0.10.2
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 +73 -41
- package/dist/cjs/web.cjs +74 -42
- package/dist/esm/wasm-base64.js +1 -1
- package/dist/iife/index.js +74 -42
- package/dist/index.d.ts +4 -0
- package/dist/subduction.wasm +0 -0
- package/dist/wasm_bindgen/bundler/subduction_wasm.d.ts +4 -0
- package/dist/wasm_bindgen/bundler/subduction_wasm_bg.js +74 -42
- package/dist/wasm_bindgen/bundler/subduction_wasm_bg.wasm +0 -0
- package/dist/wasm_bindgen/bundler/subduction_wasm_bg.wasm.d.ts +10 -9
- package/dist/wasm_bindgen/nodejs/subduction_wasm.cjs +74 -42
- package/dist/wasm_bindgen/nodejs/subduction_wasm.d.ts +4 -0
- package/dist/wasm_bindgen/nodejs/subduction_wasm_bg.wasm +0 -0
- package/dist/wasm_bindgen/nodejs/subduction_wasm_bg.wasm.d.ts +10 -9
- package/dist/wasm_bindgen/web/subduction_wasm.d.ts +14 -9
- package/dist/wasm_bindgen/web/subduction_wasm.js +74 -42
- package/dist/wasm_bindgen/web/subduction_wasm_bg.wasm +0 -0
- package/dist/wasm_bindgen/web/subduction_wasm_bg.wasm.d.ts +10 -9
- package/package.json +1 -1
- /package/dist/wasm_bindgen/bundler/snippets/{sedimentree_wasm-75027ecce41278de → sedimentree_wasm-c507f5285f2927a0}/inline0.js +0 -0
- /package/dist/wasm_bindgen/bundler/snippets/{sedimentree_wasm-75027ecce41278de → sedimentree_wasm-c507f5285f2927a0}/inline1.js +0 -0
- /package/dist/wasm_bindgen/bundler/snippets/{sedimentree_wasm-75027ecce41278de → sedimentree_wasm-c507f5285f2927a0}/inline2.js +0 -0
- /package/dist/wasm_bindgen/nodejs/snippets/{sedimentree_wasm-75027ecce41278de → sedimentree_wasm-c507f5285f2927a0}/inline0.js +0 -0
- /package/dist/wasm_bindgen/nodejs/snippets/{sedimentree_wasm-75027ecce41278de → sedimentree_wasm-c507f5285f2927a0}/inline1.js +0 -0
- /package/dist/wasm_bindgen/nodejs/snippets/{sedimentree_wasm-75027ecce41278de → sedimentree_wasm-c507f5285f2927a0}/inline2.js +0 -0
- /package/dist/wasm_bindgen/web/snippets/{sedimentree_wasm-75027ecce41278de → sedimentree_wasm-c507f5285f2927a0}/inline0.js +0 -0
- /package/dist/wasm_bindgen/web/snippets/{sedimentree_wasm-75027ecce41278de → sedimentree_wasm-c507f5285f2927a0}/inline1.js +0 -0
- /package/dist/wasm_bindgen/web/snippets/{sedimentree_wasm-75027ecce41278de → sedimentree_wasm-c507f5285f2927a0}/inline2.js +0 -0
|
@@ -218,6 +218,7 @@ export const memorystorage_listFragmentDigests: (a: number, b: number) => any;
|
|
|
218
218
|
export const memorystorage_loadAllFragments: (a: number, b: number) => any;
|
|
219
219
|
export const memorystorage_deleteFragment: (a: number, b: number, c: number) => any;
|
|
220
220
|
export const memorystorage_deleteAllFragments: (a: number, b: number) => any;
|
|
221
|
+
export const memorystorage_saveBatchAll: (a: number, b: number, c: any, d: any) => any;
|
|
221
222
|
export const depth___wasm_refgen_toWasmDepth: (a: number) => number;
|
|
222
223
|
export const fragmentwithblob_new: (a: number, b: any) => number;
|
|
223
224
|
export const __wbg_sedimentreeid_free: (a: number, b: number) => void;
|
|
@@ -226,15 +227,15 @@ export const __wbg_fragmentwithblob_free: (a: number, b: number) => void;
|
|
|
226
227
|
export const sedimentreeid_toBytes: (a: number) => [number, number];
|
|
227
228
|
export const sedimentreeid___wasm_refgen_toWasmSedimentreeId: (a: number) => number;
|
|
228
229
|
export const fragmentwithblob_blob: (a: number) => any;
|
|
229
|
-
export const
|
|
230
|
-
export const
|
|
231
|
-
export const
|
|
232
|
-
export const
|
|
233
|
-
export const
|
|
234
|
-
export const
|
|
235
|
-
export const
|
|
236
|
-
export const
|
|
237
|
-
export const
|
|
230
|
+
export const __wasm_bindgen_func_elem_287: (a: number, b: number) => void;
|
|
231
|
+
export const __wasm_bindgen_func_elem_1652: (a: number, b: number, c: any) => [number, number];
|
|
232
|
+
export const __wasm_bindgen_func_elem_1652_195: (a: number, b: number, c: any, d: any) => void;
|
|
233
|
+
export const __wasm_bindgen_func_elem_1652_196: (a: number, b: number, c: any, d: any) => void;
|
|
234
|
+
export const __wasm_bindgen_func_elem_639: (a: number, b: number, c: any) => void;
|
|
235
|
+
export const __wasm_bindgen_func_elem_639_1: (a: number, b: number, c: any) => void;
|
|
236
|
+
export const __wasm_bindgen_func_elem_639_2: (a: number, b: number, c: any) => void;
|
|
237
|
+
export const __wasm_bindgen_func_elem_639_3: (a: number, b: number, c: any) => void;
|
|
238
|
+
export const __wasm_bindgen_func_elem_638: (a: number, b: number) => void;
|
|
238
239
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
239
240
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
240
241
|
export const __wbindgen_export3: (a: number) => void;
|
|
@@ -653,6 +653,10 @@ export class MemoryStorage {
|
|
|
653
653
|
* Create a new in-memory storage instance.
|
|
654
654
|
*/
|
|
655
655
|
constructor();
|
|
656
|
+
/**
|
|
657
|
+
* Save commits and fragments in a single batch.
|
|
658
|
+
*/
|
|
659
|
+
saveBatchAll(sedimentree_id: SedimentreeId, commits: Array<any>, fragments: Array<any>): Promise<any>;
|
|
656
660
|
/**
|
|
657
661
|
* Save a commit with its blob.
|
|
658
662
|
*/
|
|
@@ -1926,6 +1930,7 @@ export interface InitOutput {
|
|
|
1926
1930
|
readonly memorystorage_loadAllFragments: (a: number, b: number) => any;
|
|
1927
1931
|
readonly memorystorage_deleteFragment: (a: number, b: number, c: number) => any;
|
|
1928
1932
|
readonly memorystorage_deleteAllFragments: (a: number, b: number) => any;
|
|
1933
|
+
readonly memorystorage_saveBatchAll: (a: number, b: number, c: any, d: any) => any;
|
|
1929
1934
|
readonly depth___wasm_refgen_toWasmDepth: (a: number) => number;
|
|
1930
1935
|
readonly fragmentwithblob_new: (a: number, b: any) => number;
|
|
1931
1936
|
readonly __wbg_sedimentreeid_free: (a: number, b: number) => void;
|
|
@@ -1934,15 +1939,15 @@ export interface InitOutput {
|
|
|
1934
1939
|
readonly sedimentreeid_toBytes: (a: number) => [number, number];
|
|
1935
1940
|
readonly sedimentreeid___wasm_refgen_toWasmSedimentreeId: (a: number) => number;
|
|
1936
1941
|
readonly fragmentwithblob_blob: (a: number) => any;
|
|
1937
|
-
readonly
|
|
1938
|
-
readonly
|
|
1939
|
-
readonly
|
|
1940
|
-
readonly
|
|
1941
|
-
readonly
|
|
1942
|
-
readonly
|
|
1943
|
-
readonly
|
|
1944
|
-
readonly
|
|
1945
|
-
readonly
|
|
1942
|
+
readonly __wasm_bindgen_func_elem_287: (a: number, b: number) => void;
|
|
1943
|
+
readonly __wasm_bindgen_func_elem_1652: (a: number, b: number, c: any) => [number, number];
|
|
1944
|
+
readonly __wasm_bindgen_func_elem_1652_195: (a: number, b: number, c: any, d: any) => void;
|
|
1945
|
+
readonly __wasm_bindgen_func_elem_1652_196: (a: number, b: number, c: any, d: any) => void;
|
|
1946
|
+
readonly __wasm_bindgen_func_elem_639: (a: number, b: number, c: any) => void;
|
|
1947
|
+
readonly __wasm_bindgen_func_elem_639_1: (a: number, b: number, c: any) => void;
|
|
1948
|
+
readonly __wasm_bindgen_func_elem_639_2: (a: number, b: number, c: any) => void;
|
|
1949
|
+
readonly __wasm_bindgen_func_elem_639_3: (a: number, b: number, c: any) => void;
|
|
1950
|
+
readonly __wasm_bindgen_func_elem_638: (a: number, b: number) => void;
|
|
1946
1951
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
1947
1952
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
1948
1953
|
readonly __wbindgen_export3: (a: number) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* @ts-self-types="./subduction_wasm.d.ts" */
|
|
2
|
-
import { tryIntoJsSedimentreeIdsArray } from './snippets/sedimentree_wasm-
|
|
2
|
+
import { tryIntoJsSedimentreeIdsArray } from './snippets/sedimentree_wasm-c507f5285f2927a0/inline2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* An authenticated HTTP long-poll transport.
|
|
@@ -1300,6 +1300,18 @@ export class MemoryStorage {
|
|
|
1300
1300
|
MemoryStorageFinalization.register(this, this.__wbg_ptr, this);
|
|
1301
1301
|
return this;
|
|
1302
1302
|
}
|
|
1303
|
+
/**
|
|
1304
|
+
* Save commits and fragments in a single batch.
|
|
1305
|
+
* @param {SedimentreeId} sedimentree_id
|
|
1306
|
+
* @param {Array<any>} commits
|
|
1307
|
+
* @param {Array<any>} fragments
|
|
1308
|
+
* @returns {Promise<any>}
|
|
1309
|
+
*/
|
|
1310
|
+
saveBatchAll(sedimentree_id, commits, fragments) {
|
|
1311
|
+
_assertClass(sedimentree_id, SedimentreeId);
|
|
1312
|
+
const ret = wasm.memorystorage_saveBatchAll(this.__wbg_ptr, sedimentree_id.__wbg_ptr, commits, fragments);
|
|
1313
|
+
return ret;
|
|
1314
|
+
}
|
|
1303
1315
|
/**
|
|
1304
1316
|
* Save a commit with its blob.
|
|
1305
1317
|
* @param {SedimentreeId} sedimentree_id
|
|
@@ -1877,6 +1889,12 @@ export class SignedFragment {
|
|
|
1877
1889
|
SignedFragmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1878
1890
|
return obj;
|
|
1879
1891
|
}
|
|
1892
|
+
static __unwrap(jsValue) {
|
|
1893
|
+
if (!(jsValue instanceof SignedFragment)) {
|
|
1894
|
+
return 0;
|
|
1895
|
+
}
|
|
1896
|
+
return jsValue.__destroy_into_raw();
|
|
1897
|
+
}
|
|
1880
1898
|
__destroy_into_raw() {
|
|
1881
1899
|
const ptr = this.__wbg_ptr;
|
|
1882
1900
|
this.__wbg_ptr = 0;
|
|
@@ -1948,6 +1966,12 @@ export class SignedLooseCommit {
|
|
|
1948
1966
|
SignedLooseCommitFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1949
1967
|
return obj;
|
|
1950
1968
|
}
|
|
1969
|
+
static __unwrap(jsValue) {
|
|
1970
|
+
if (!(jsValue instanceof SignedLooseCommit)) {
|
|
1971
|
+
return 0;
|
|
1972
|
+
}
|
|
1973
|
+
return jsValue.__destroy_into_raw();
|
|
1974
|
+
}
|
|
1951
1975
|
__destroy_into_raw() {
|
|
1952
1976
|
const ptr = this.__wbg_ptr;
|
|
1953
1977
|
this.__wbg_ptr = 0;
|
|
@@ -3434,37 +3458,37 @@ import * as import2 from "./snippets/subduction_wasm-ec51bcf335db35bd/inline1.js
|
|
|
3434
3458
|
function __wbg_get_imports() {
|
|
3435
3459
|
const import0 = {
|
|
3436
3460
|
__proto__: null,
|
|
3437
|
-
|
|
3461
|
+
__wbg___wasm_refgen_toWasmCommitWithBlob_bcab5aaed3558280: function(arg0) {
|
|
3438
3462
|
const ret = arg0.__wasm_refgen_toWasmCommitWithBlob();
|
|
3439
3463
|
_assertClass(ret, CommitWithBlob);
|
|
3440
3464
|
var ptr1 = ret.__destroy_into_raw();
|
|
3441
3465
|
return ptr1;
|
|
3442
3466
|
},
|
|
3443
|
-
|
|
3467
|
+
__wbg___wasm_refgen_toWasmDepth_5124f666e343ff0c: function(arg0) {
|
|
3444
3468
|
const ret = arg0.__wasm_refgen_toWasmDepth();
|
|
3445
3469
|
_assertClass(ret, Depth);
|
|
3446
3470
|
var ptr1 = ret.__destroy_into_raw();
|
|
3447
3471
|
return ptr1;
|
|
3448
3472
|
},
|
|
3449
|
-
|
|
3473
|
+
__wbg___wasm_refgen_toWasmDigest_476b24805f220005: function(arg0) {
|
|
3450
3474
|
const ret = arg0.__wasm_refgen_toWasmDigest();
|
|
3451
3475
|
_assertClass(ret, Digest);
|
|
3452
3476
|
var ptr1 = ret.__destroy_into_raw();
|
|
3453
3477
|
return ptr1;
|
|
3454
3478
|
},
|
|
3455
|
-
|
|
3479
|
+
__wbg___wasm_refgen_toWasmFragmentWithBlob_ed713e5c5f4cc52e: function(arg0) {
|
|
3456
3480
|
const ret = arg0.__wasm_refgen_toWasmFragmentWithBlob();
|
|
3457
3481
|
_assertClass(ret, FragmentWithBlob);
|
|
3458
3482
|
var ptr1 = ret.__destroy_into_raw();
|
|
3459
3483
|
return ptr1;
|
|
3460
3484
|
},
|
|
3461
|
-
|
|
3485
|
+
__wbg___wasm_refgen_toWasmFragment_10dd1ff9b3934840: function(arg0) {
|
|
3462
3486
|
const ret = arg0.__wasm_refgen_toWasmFragment();
|
|
3463
3487
|
_assertClass(ret, Fragment);
|
|
3464
3488
|
var ptr1 = ret.__destroy_into_raw();
|
|
3465
3489
|
return ptr1;
|
|
3466
3490
|
},
|
|
3467
|
-
|
|
3491
|
+
__wbg___wasm_refgen_toWasmLooseCommit_f36ad6a9389cee03: function(arg0) {
|
|
3468
3492
|
const ret = arg0.__wasm_refgen_toWasmLooseCommit();
|
|
3469
3493
|
_assertClass(ret, LooseCommit);
|
|
3470
3494
|
var ptr1 = ret.__destroy_into_raw();
|
|
@@ -3603,11 +3627,11 @@ function __wbg_get_imports() {
|
|
|
3603
3627
|
const ret = arg0.data;
|
|
3604
3628
|
return ret;
|
|
3605
3629
|
},
|
|
3606
|
-
|
|
3630
|
+
__wbg_deleteAllCommits_026a63e00bba2a2c: function(arg0, arg1) {
|
|
3607
3631
|
const ret = arg0.deleteAllCommits(arg1);
|
|
3608
3632
|
return ret;
|
|
3609
3633
|
},
|
|
3610
|
-
|
|
3634
|
+
__wbg_deleteAllFragments_857ddb74b3342f83: function(arg0, arg1) {
|
|
3611
3635
|
const ret = arg0.deleteAllFragments(arg1);
|
|
3612
3636
|
return ret;
|
|
3613
3637
|
},
|
|
@@ -3846,15 +3870,15 @@ function __wbg_get_imports() {
|
|
|
3846
3870
|
const ret = arg0.length;
|
|
3847
3871
|
return ret;
|
|
3848
3872
|
},
|
|
3849
|
-
|
|
3873
|
+
__wbg_loadAllCommits_c18e977eb552890c: function(arg0, arg1) {
|
|
3850
3874
|
const ret = arg0.loadAllCommits(arg1);
|
|
3851
3875
|
return ret;
|
|
3852
3876
|
},
|
|
3853
|
-
|
|
3877
|
+
__wbg_loadAllFragments_499f304a483c7f7f: function(arg0, arg1) {
|
|
3854
3878
|
const ret = arg0.loadAllFragments(arg1);
|
|
3855
3879
|
return ret;
|
|
3856
3880
|
},
|
|
3857
|
-
|
|
3881
|
+
__wbg_loadAllSedimentreeIds_da48711155f73930: function(arg0) {
|
|
3858
3882
|
const ret = arg0.loadAllSedimentreeIds();
|
|
3859
3883
|
return ret;
|
|
3860
3884
|
},
|
|
@@ -3897,7 +3921,7 @@ function __wbg_get_imports() {
|
|
|
3897
3921
|
const a = state0.a;
|
|
3898
3922
|
state0.a = 0;
|
|
3899
3923
|
try {
|
|
3900
|
-
return
|
|
3924
|
+
return __wasm_bindgen_func_elem_1652_195(a, state0.b, arg0, arg1);
|
|
3901
3925
|
} finally {
|
|
3902
3926
|
state0.a = a;
|
|
3903
3927
|
}
|
|
@@ -3931,7 +3955,7 @@ function __wbg_get_imports() {
|
|
|
3931
3955
|
const a = state0.a;
|
|
3932
3956
|
state0.a = 0;
|
|
3933
3957
|
try {
|
|
3934
|
-
return
|
|
3958
|
+
return __wasm_bindgen_func_elem_1652_196(a, state0.b, arg0, arg1);
|
|
3935
3959
|
} finally {
|
|
3936
3960
|
state0.a = a;
|
|
3937
3961
|
}
|
|
@@ -4057,19 +4081,19 @@ function __wbg_get_imports() {
|
|
|
4057
4081
|
const ret = arg0.result;
|
|
4058
4082
|
return ret;
|
|
4059
4083
|
}, arguments); },
|
|
4060
|
-
|
|
4084
|
+
__wbg_saveBatchAll_7c5c5f486aefa571: function(arg0, arg1, arg2, arg3) {
|
|
4061
4085
|
const ret = arg0.saveBatchAll(arg1, arg2, arg3);
|
|
4062
4086
|
return ret;
|
|
4063
4087
|
},
|
|
4064
|
-
|
|
4088
|
+
__wbg_saveCommit_fb38edd913837eb2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4065
4089
|
const ret = arg0.saveCommit(arg1, arg2, arg3, arg4);
|
|
4066
4090
|
return ret;
|
|
4067
4091
|
},
|
|
4068
|
-
|
|
4092
|
+
__wbg_saveFragment_8682cc697a38dbad: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4069
4093
|
const ret = arg0.saveFragment(arg1, arg2, arg3, arg4);
|
|
4070
4094
|
return ret;
|
|
4071
4095
|
},
|
|
4072
|
-
|
|
4096
|
+
__wbg_saveSedimentreeId_ec8145842e87e53b: function(arg0, arg1) {
|
|
4073
4097
|
const ret = arg0.saveSedimentreeId(arg1);
|
|
4074
4098
|
return ret;
|
|
4075
4099
|
},
|
|
@@ -4156,10 +4180,18 @@ function __wbg_get_imports() {
|
|
|
4156
4180
|
const ret = SignedFragment.__wrap(arg0);
|
|
4157
4181
|
return ret;
|
|
4158
4182
|
},
|
|
4183
|
+
__wbg_signedfragment_unwrap: function(arg0) {
|
|
4184
|
+
const ret = SignedFragment.__unwrap(arg0);
|
|
4185
|
+
return ret;
|
|
4186
|
+
},
|
|
4159
4187
|
__wbg_signedloosecommit_new: function(arg0) {
|
|
4160
4188
|
const ret = SignedLooseCommit.__wrap(arg0);
|
|
4161
4189
|
return ret;
|
|
4162
4190
|
},
|
|
4191
|
+
__wbg_signedloosecommit_unwrap: function(arg0) {
|
|
4192
|
+
const ret = SignedLooseCommit.__unwrap(arg0);
|
|
4193
|
+
return ret;
|
|
4194
|
+
},
|
|
4163
4195
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
4164
4196
|
const ret = arg1.stack;
|
|
4165
4197
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -4238,7 +4270,7 @@ function __wbg_get_imports() {
|
|
|
4238
4270
|
const ret = arg0.transaction(getStringFromWasm0(arg1, arg2));
|
|
4239
4271
|
return ret;
|
|
4240
4272
|
}, arguments); },
|
|
4241
|
-
|
|
4273
|
+
__wbg_tryIntoJsSedimentreeIdsArray_b07d2438a6f2a3b9: function() { return handleError(function (arg0, arg1) {
|
|
4242
4274
|
const ret = tryIntoJsSedimentreeIdsArray(arg1);
|
|
4243
4275
|
const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_export);
|
|
4244
4276
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -4259,32 +4291,32 @@ function __wbg_get_imports() {
|
|
|
4259
4291
|
},
|
|
4260
4292
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
4261
4293
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 11, function: Function { arguments: [Externref], shim_idx: 12, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4262
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4294
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_287, __wasm_bindgen_func_elem_639);
|
|
4263
4295
|
return ret;
|
|
4264
4296
|
},
|
|
4265
4297
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
4266
4298
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 11, function: Function { arguments: [NamedExternref("Event")], shim_idx: 12, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4267
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4299
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_287, __wasm_bindgen_func_elem_639_1);
|
|
4268
4300
|
return ret;
|
|
4269
4301
|
},
|
|
4270
4302
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
4271
4303
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 11, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 12, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4272
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4304
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_287, __wasm_bindgen_func_elem_639_2);
|
|
4273
4305
|
return ret;
|
|
4274
4306
|
},
|
|
4275
4307
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
4276
4308
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 11, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 12, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4277
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4309
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_287, __wasm_bindgen_func_elem_639_3);
|
|
4278
4310
|
return ret;
|
|
4279
4311
|
},
|
|
4280
4312
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
4281
4313
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 11, function: Function { arguments: [], shim_idx: 13, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
4282
|
-
const ret = makeClosure(arg0, arg1, wasm.
|
|
4314
|
+
const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_287, __wasm_bindgen_func_elem_638);
|
|
4283
4315
|
return ret;
|
|
4284
4316
|
},
|
|
4285
4317
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
4286
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4287
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4318
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 677, function: Function { arguments: [Externref], shim_idx: 761, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
4319
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_287, __wasm_bindgen_func_elem_1652);
|
|
4288
4320
|
return ret;
|
|
4289
4321
|
},
|
|
4290
4322
|
__wbindgen_cast_0000000000000007: function(arg0) {
|
|
@@ -4355,39 +4387,39 @@ function __wbg_get_imports() {
|
|
|
4355
4387
|
};
|
|
4356
4388
|
}
|
|
4357
4389
|
|
|
4358
|
-
function
|
|
4359
|
-
wasm.
|
|
4390
|
+
function __wasm_bindgen_func_elem_638(arg0, arg1) {
|
|
4391
|
+
wasm.__wasm_bindgen_func_elem_638(arg0, arg1);
|
|
4360
4392
|
}
|
|
4361
4393
|
|
|
4362
|
-
function
|
|
4363
|
-
wasm.
|
|
4394
|
+
function __wasm_bindgen_func_elem_639(arg0, arg1, arg2) {
|
|
4395
|
+
wasm.__wasm_bindgen_func_elem_639(arg0, arg1, arg2);
|
|
4364
4396
|
}
|
|
4365
4397
|
|
|
4366
|
-
function
|
|
4367
|
-
wasm.
|
|
4398
|
+
function __wasm_bindgen_func_elem_639_1(arg0, arg1, arg2) {
|
|
4399
|
+
wasm.__wasm_bindgen_func_elem_639_1(arg0, arg1, arg2);
|
|
4368
4400
|
}
|
|
4369
4401
|
|
|
4370
|
-
function
|
|
4371
|
-
wasm.
|
|
4402
|
+
function __wasm_bindgen_func_elem_639_2(arg0, arg1, arg2) {
|
|
4403
|
+
wasm.__wasm_bindgen_func_elem_639_2(arg0, arg1, arg2);
|
|
4372
4404
|
}
|
|
4373
4405
|
|
|
4374
|
-
function
|
|
4375
|
-
wasm.
|
|
4406
|
+
function __wasm_bindgen_func_elem_639_3(arg0, arg1, arg2) {
|
|
4407
|
+
wasm.__wasm_bindgen_func_elem_639_3(arg0, arg1, arg2);
|
|
4376
4408
|
}
|
|
4377
4409
|
|
|
4378
|
-
function
|
|
4379
|
-
const ret = wasm.
|
|
4410
|
+
function __wasm_bindgen_func_elem_1652(arg0, arg1, arg2) {
|
|
4411
|
+
const ret = wasm.__wasm_bindgen_func_elem_1652(arg0, arg1, arg2);
|
|
4380
4412
|
if (ret[1]) {
|
|
4381
4413
|
throw takeFromExternrefTable0(ret[0]);
|
|
4382
4414
|
}
|
|
4383
4415
|
}
|
|
4384
4416
|
|
|
4385
|
-
function
|
|
4386
|
-
wasm.
|
|
4417
|
+
function __wasm_bindgen_func_elem_1652_195(arg0, arg1, arg2, arg3) {
|
|
4418
|
+
wasm.__wasm_bindgen_func_elem_1652_195(arg0, arg1, arg2, arg3);
|
|
4387
4419
|
}
|
|
4388
4420
|
|
|
4389
|
-
function
|
|
4390
|
-
wasm.
|
|
4421
|
+
function __wasm_bindgen_func_elem_1652_196(arg0, arg1, arg2, arg3) {
|
|
4422
|
+
wasm.__wasm_bindgen_func_elem_1652_196(arg0, arg1, arg2, arg3);
|
|
4391
4423
|
}
|
|
4392
4424
|
|
|
4393
4425
|
|
|
Binary file
|
|
@@ -218,6 +218,7 @@ export const memorystorage_listFragmentDigests: (a: number, b: number) => any;
|
|
|
218
218
|
export const memorystorage_loadAllFragments: (a: number, b: number) => any;
|
|
219
219
|
export const memorystorage_deleteFragment: (a: number, b: number, c: number) => any;
|
|
220
220
|
export const memorystorage_deleteAllFragments: (a: number, b: number) => any;
|
|
221
|
+
export const memorystorage_saveBatchAll: (a: number, b: number, c: any, d: any) => any;
|
|
221
222
|
export const depth___wasm_refgen_toWasmDepth: (a: number) => number;
|
|
222
223
|
export const fragmentwithblob_new: (a: number, b: any) => number;
|
|
223
224
|
export const __wbg_sedimentreeid_free: (a: number, b: number) => void;
|
|
@@ -226,15 +227,15 @@ export const __wbg_fragmentwithblob_free: (a: number, b: number) => void;
|
|
|
226
227
|
export const sedimentreeid_toBytes: (a: number) => [number, number];
|
|
227
228
|
export const sedimentreeid___wasm_refgen_toWasmSedimentreeId: (a: number) => number;
|
|
228
229
|
export const fragmentwithblob_blob: (a: number) => any;
|
|
229
|
-
export const
|
|
230
|
-
export const
|
|
231
|
-
export const
|
|
232
|
-
export const
|
|
233
|
-
export const
|
|
234
|
-
export const
|
|
235
|
-
export const
|
|
236
|
-
export const
|
|
237
|
-
export const
|
|
230
|
+
export const __wasm_bindgen_func_elem_287: (a: number, b: number) => void;
|
|
231
|
+
export const __wasm_bindgen_func_elem_1652: (a: number, b: number, c: any) => [number, number];
|
|
232
|
+
export const __wasm_bindgen_func_elem_1652_195: (a: number, b: number, c: any, d: any) => void;
|
|
233
|
+
export const __wasm_bindgen_func_elem_1652_196: (a: number, b: number, c: any, d: any) => void;
|
|
234
|
+
export const __wasm_bindgen_func_elem_639: (a: number, b: number, c: any) => void;
|
|
235
|
+
export const __wasm_bindgen_func_elem_639_1: (a: number, b: number, c: any) => void;
|
|
236
|
+
export const __wasm_bindgen_func_elem_639_2: (a: number, b: number, c: any) => void;
|
|
237
|
+
export const __wasm_bindgen_func_elem_639_3: (a: number, b: number, c: any) => void;
|
|
238
|
+
export const __wasm_bindgen_func_elem_638: (a: number, b: number) => void;
|
|
238
239
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
239
240
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
240
241
|
export const __wbindgen_export3: (a: number) => void;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|