@trust0/ridb-core 1.7.32 → 1.7.33
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/build/ridb_core.d.ts +291 -290
- package/build/ridb_core.js +86 -49
- package/build/ridb_core.mjs +86 -49
- package/build/ridb_core_bg.mjs +1 -1
- package/package.json +1 -1
package/build/ridb_core.js
CHANGED
|
@@ -303,6 +303,13 @@ function __wbg_adapter_59(arg0, arg1, arg2, arg3, arg4) {
|
|
|
303
303
|
function __wbg_adapter_62(arg0, arg1, arg2) {
|
|
304
304
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb6eb1f8e3b5e56e9(arg0, arg1, addHeapObject(arg2));
|
|
305
305
|
}
|
|
306
|
+
function main_js() {
|
|
307
|
+
wasm.main_js();
|
|
308
|
+
}
|
|
309
|
+
function is_debug_mode() {
|
|
310
|
+
const ret = wasm.is_debug_mode();
|
|
311
|
+
return ret !== 0;
|
|
312
|
+
}
|
|
306
313
|
var cachedUint32Memory0 = null;
|
|
307
314
|
function getUint32Memory0() {
|
|
308
315
|
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
@@ -320,13 +327,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
320
327
|
}
|
|
321
328
|
return result;
|
|
322
329
|
}
|
|
323
|
-
function main_js() {
|
|
324
|
-
wasm.main_js();
|
|
325
|
-
}
|
|
326
|
-
function is_debug_mode() {
|
|
327
|
-
const ret = wasm.is_debug_mode();
|
|
328
|
-
return ret !== 0;
|
|
329
|
-
}
|
|
330
330
|
function _assertClass(instance, klass) {
|
|
331
331
|
if (!(instance instanceof klass)) {
|
|
332
332
|
throw new Error(`expected instance of ${klass.name}`);
|
|
@@ -339,6 +339,13 @@ function addBorrowedObject(obj) {
|
|
|
339
339
|
heap[--stack_pointer] = obj;
|
|
340
340
|
return stack_pointer;
|
|
341
341
|
}
|
|
342
|
+
function handleError(f, args) {
|
|
343
|
+
try {
|
|
344
|
+
return f.apply(this, args);
|
|
345
|
+
} catch (e) {
|
|
346
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
347
|
+
}
|
|
348
|
+
}
|
|
342
349
|
function passArrayJsValueToWasm0(array, malloc) {
|
|
343
350
|
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
344
351
|
const mem = getUint32Memory0();
|
|
@@ -348,13 +355,6 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
348
355
|
WASM_VECTOR_LEN = array.length;
|
|
349
356
|
return ptr;
|
|
350
357
|
}
|
|
351
|
-
function handleError(f, args) {
|
|
352
|
-
try {
|
|
353
|
-
return f.apply(this, args);
|
|
354
|
-
} catch (e) {
|
|
355
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
358
|
function __wbgtest_console_log(args) {
|
|
359
359
|
try {
|
|
360
360
|
wasm.__wbgtest_console_log(addBorrowedObject(args));
|
|
@@ -390,15 +390,16 @@ function __wbgtest_console_error(args) {
|
|
|
390
390
|
heap[stack_pointer++] = void 0;
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function __wbg_adapter_296(arg0, arg1) {
|
|
394
394
|
wasm.wasm_bindgen__convert__closures__invoke0_mut__hff00333f3d941090(arg0, arg1);
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function __wbg_adapter_339(arg0, arg1, arg2, arg3, arg4) {
|
|
397
397
|
wasm.wasm_bindgen__convert__closures__invoke3_mut__h703f9c33fd3008bf(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function __wbg_adapter_396(arg0, arg1, arg2, arg3) {
|
|
400
400
|
wasm.wasm_bindgen__convert__closures__invoke2_mut__h97988f5fa0547d24(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
401
401
|
}
|
|
402
|
+
var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
|
|
402
403
|
var OpType = Object.freeze({
|
|
403
404
|
/**
|
|
404
405
|
* Create operation.
|
|
@@ -426,7 +427,6 @@ var OpType = Object.freeze({
|
|
|
426
427
|
COUNT: 4,
|
|
427
428
|
"4": "COUNT"
|
|
428
429
|
});
|
|
429
|
-
var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
|
|
430
430
|
var BasePluginFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
431
431
|
}, unregister: () => {
|
|
432
432
|
} } : new FinalizationRegistry((ptr) => wasm.__wbg_baseplugin_free(ptr >>> 0));
|
|
@@ -1666,6 +1666,13 @@ var Query = class {
|
|
|
1666
1666
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1667
1667
|
}
|
|
1668
1668
|
}
|
|
1669
|
+
/**
|
|
1670
|
+
* @returns {boolean}
|
|
1671
|
+
*/
|
|
1672
|
+
has_or_operator() {
|
|
1673
|
+
const ret = wasm.query_has_or_operator(this.__wbg_ptr);
|
|
1674
|
+
return ret !== 0;
|
|
1675
|
+
}
|
|
1669
1676
|
};
|
|
1670
1677
|
var QueryOptionsFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
1671
1678
|
}, unregister: () => {
|
|
@@ -2282,52 +2289,52 @@ function __wbg_get_imports() {
|
|
|
2282
2289
|
return addHeapObject(ret);
|
|
2283
2290
|
}, arguments);
|
|
2284
2291
|
};
|
|
2285
|
-
imports.wbg.
|
|
2286
|
-
const ret =
|
|
2287
|
-
return ret;
|
|
2292
|
+
imports.wbg.__wbg_indexdb_new = function(arg0) {
|
|
2293
|
+
const ret = IndexDB.__wrap(arg0);
|
|
2294
|
+
return addHeapObject(ret);
|
|
2288
2295
|
};
|
|
2289
|
-
imports.wbg.
|
|
2290
|
-
const ret =
|
|
2296
|
+
imports.wbg.__wbg_collection_new = function(arg0) {
|
|
2297
|
+
const ret = Collection.__wrap(arg0);
|
|
2291
2298
|
return addHeapObject(ret);
|
|
2292
2299
|
};
|
|
2293
|
-
imports.wbg.
|
|
2294
|
-
const ret =
|
|
2295
|
-
return ret;
|
|
2300
|
+
imports.wbg.__wbg_database_new = function(arg0) {
|
|
2301
|
+
const ret = Database.__wrap(arg0);
|
|
2302
|
+
return addHeapObject(ret);
|
|
2296
2303
|
};
|
|
2297
2304
|
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
2298
2305
|
const val = getObject(arg0);
|
|
2299
2306
|
const ret = typeof val === "object" && val !== null;
|
|
2300
2307
|
return ret;
|
|
2301
2308
|
};
|
|
2302
|
-
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
2303
|
-
const v = getObject(arg0);
|
|
2304
|
-
const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
|
|
2305
|
-
return ret;
|
|
2306
|
-
};
|
|
2307
|
-
imports.wbg.__wbg_database_new = function(arg0) {
|
|
2308
|
-
const ret = Database.__wrap(arg0);
|
|
2309
|
-
return addHeapObject(ret);
|
|
2310
|
-
};
|
|
2311
|
-
imports.wbg.__wbg_collection_new = function(arg0) {
|
|
2312
|
-
const ret = Collection.__wrap(arg0);
|
|
2313
|
-
return addHeapObject(ret);
|
|
2314
|
-
};
|
|
2315
2309
|
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
2316
2310
|
const ret = typeof getObject(arg0) === "function";
|
|
2317
2311
|
return ret;
|
|
2318
2312
|
};
|
|
2313
|
+
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
2314
|
+
const ret = typeof getObject(arg0) === "string";
|
|
2315
|
+
return ret;
|
|
2316
|
+
};
|
|
2319
2317
|
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
|
2320
2318
|
const ret = typeof getObject(arg0) === "bigint";
|
|
2321
2319
|
return ret;
|
|
2322
2320
|
};
|
|
2323
|
-
imports.wbg.
|
|
2324
|
-
const ret =
|
|
2321
|
+
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
2322
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2325
2323
|
return addHeapObject(ret);
|
|
2326
2324
|
};
|
|
2325
|
+
imports.wbg.__wbindgen_is_array = function(arg0) {
|
|
2326
|
+
const ret = Array.isArray(getObject(arg0));
|
|
2327
|
+
return ret;
|
|
2328
|
+
};
|
|
2327
2329
|
imports.wbg.__wbindgen_is_falsy = function(arg0) {
|
|
2328
2330
|
const ret = !getObject(arg0);
|
|
2329
2331
|
return ret;
|
|
2330
2332
|
};
|
|
2333
|
+
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
2334
|
+
const v = getObject(arg0);
|
|
2335
|
+
const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
|
|
2336
|
+
return ret;
|
|
2337
|
+
};
|
|
2331
2338
|
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
2332
2339
|
const ret = getObject(arg0) in getObject(arg1);
|
|
2333
2340
|
return ret;
|
|
@@ -2556,12 +2563,42 @@ function __wbg_get_imports() {
|
|
|
2556
2563
|
return addHeapObject(ret);
|
|
2557
2564
|
}, arguments);
|
|
2558
2565
|
};
|
|
2566
|
+
imports.wbg.__wbg_bound_25385469508e98c7 = function() {
|
|
2567
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
2568
|
+
const ret = IDBKeyRange.bound(getObject(arg0), getObject(arg1), arg2 !== 0, arg3 !== 0);
|
|
2569
|
+
return addHeapObject(ret);
|
|
2570
|
+
}, arguments);
|
|
2571
|
+
};
|
|
2572
|
+
imports.wbg.__wbg_lowerBound_cd1c8a3b3fdf1582 = function() {
|
|
2573
|
+
return handleError(function(arg0) {
|
|
2574
|
+
const ret = IDBKeyRange.lowerBound(getObject(arg0));
|
|
2575
|
+
return addHeapObject(ret);
|
|
2576
|
+
}, arguments);
|
|
2577
|
+
};
|
|
2578
|
+
imports.wbg.__wbg_lowerBound_e77f6e14cb69151e = function() {
|
|
2579
|
+
return handleError(function(arg0, arg1) {
|
|
2580
|
+
const ret = IDBKeyRange.lowerBound(getObject(arg0), arg1 !== 0);
|
|
2581
|
+
return addHeapObject(ret);
|
|
2582
|
+
}, arguments);
|
|
2583
|
+
};
|
|
2559
2584
|
imports.wbg.__wbg_only_cacf767244bdc280 = function() {
|
|
2560
2585
|
return handleError(function(arg0) {
|
|
2561
2586
|
const ret = IDBKeyRange.only(getObject(arg0));
|
|
2562
2587
|
return addHeapObject(ret);
|
|
2563
2588
|
}, arguments);
|
|
2564
2589
|
};
|
|
2590
|
+
imports.wbg.__wbg_upperBound_1e3077b2c05bdd71 = function() {
|
|
2591
|
+
return handleError(function(arg0) {
|
|
2592
|
+
const ret = IDBKeyRange.upperBound(getObject(arg0));
|
|
2593
|
+
return addHeapObject(ret);
|
|
2594
|
+
}, arguments);
|
|
2595
|
+
};
|
|
2596
|
+
imports.wbg.__wbg_upperBound_4c692da072d1a11e = function() {
|
|
2597
|
+
return handleError(function(arg0, arg1) {
|
|
2598
|
+
const ret = IDBKeyRange.upperBound(getObject(arg0), arg1 !== 0);
|
|
2599
|
+
return addHeapObject(ret);
|
|
2600
|
+
}, arguments);
|
|
2601
|
+
};
|
|
2565
2602
|
imports.wbg.__wbg_instanceof_IdbOpenDbRequest_3f4a166bc0340578 = function(arg0) {
|
|
2566
2603
|
let result;
|
|
2567
2604
|
try {
|
|
@@ -2650,7 +2687,7 @@ function __wbg_get_imports() {
|
|
|
2650
2687
|
const a = state0.a;
|
|
2651
2688
|
state0.a = 0;
|
|
2652
2689
|
try {
|
|
2653
|
-
return
|
|
2690
|
+
return __wbg_adapter_296(a, state0.b);
|
|
2654
2691
|
} finally {
|
|
2655
2692
|
state0.a = a;
|
|
2656
2693
|
}
|
|
@@ -2830,7 +2867,7 @@ function __wbg_get_imports() {
|
|
|
2830
2867
|
const a = state0.a;
|
|
2831
2868
|
state0.a = 0;
|
|
2832
2869
|
try {
|
|
2833
|
-
return
|
|
2870
|
+
return __wbg_adapter_339(a, state0.b, arg02, arg12, arg22);
|
|
2834
2871
|
} finally {
|
|
2835
2872
|
state0.a = a;
|
|
2836
2873
|
}
|
|
@@ -2931,7 +2968,7 @@ function __wbg_get_imports() {
|
|
|
2931
2968
|
const a = state0.a;
|
|
2932
2969
|
state0.a = 0;
|
|
2933
2970
|
try {
|
|
2934
|
-
return
|
|
2971
|
+
return __wbg_adapter_396(a, state0.b, arg02, arg12);
|
|
2935
2972
|
} finally {
|
|
2936
2973
|
state0.a = a;
|
|
2937
2974
|
}
|
|
@@ -3047,15 +3084,15 @@ function __wbg_get_imports() {
|
|
|
3047
3084
|
const ret = wasm.memory;
|
|
3048
3085
|
return addHeapObject(ret);
|
|
3049
3086
|
};
|
|
3050
|
-
imports.wbg.
|
|
3051
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3087
|
+
imports.wbg.__wbindgen_closure_wrapper482 = function(arg0, arg1, arg2) {
|
|
3088
|
+
const ret = makeMutClosure(arg0, arg1, 181, __wbg_adapter_56);
|
|
3052
3089
|
return addHeapObject(ret);
|
|
3053
3090
|
};
|
|
3054
|
-
imports.wbg.
|
|
3055
|
-
const ret = makeClosure(arg0, arg1,
|
|
3091
|
+
imports.wbg.__wbindgen_closure_wrapper484 = function(arg0, arg1, arg2) {
|
|
3092
|
+
const ret = makeClosure(arg0, arg1, 181, __wbg_adapter_59);
|
|
3056
3093
|
return addHeapObject(ret);
|
|
3057
3094
|
};
|
|
3058
|
-
imports.wbg.
|
|
3095
|
+
imports.wbg.__wbindgen_closure_wrapper1646 = function(arg0, arg1, arg2) {
|
|
3059
3096
|
const ret = makeMutClosure(arg0, arg1, 449, __wbg_adapter_62);
|
|
3060
3097
|
return addHeapObject(ret);
|
|
3061
3098
|
};
|
package/build/ridb_core.mjs
CHANGED
|
@@ -256,6 +256,13 @@ function __wbg_adapter_59(arg0, arg1, arg2, arg3, arg4) {
|
|
|
256
256
|
function __wbg_adapter_62(arg0, arg1, arg2) {
|
|
257
257
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb6eb1f8e3b5e56e9(arg0, arg1, addHeapObject(arg2));
|
|
258
258
|
}
|
|
259
|
+
function main_js() {
|
|
260
|
+
wasm.main_js();
|
|
261
|
+
}
|
|
262
|
+
function is_debug_mode() {
|
|
263
|
+
const ret = wasm.is_debug_mode();
|
|
264
|
+
return ret !== 0;
|
|
265
|
+
}
|
|
259
266
|
var cachedUint32Memory0 = null;
|
|
260
267
|
function getUint32Memory0() {
|
|
261
268
|
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
@@ -273,13 +280,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
273
280
|
}
|
|
274
281
|
return result;
|
|
275
282
|
}
|
|
276
|
-
function main_js() {
|
|
277
|
-
wasm.main_js();
|
|
278
|
-
}
|
|
279
|
-
function is_debug_mode() {
|
|
280
|
-
const ret = wasm.is_debug_mode();
|
|
281
|
-
return ret !== 0;
|
|
282
|
-
}
|
|
283
283
|
function _assertClass(instance, klass) {
|
|
284
284
|
if (!(instance instanceof klass)) {
|
|
285
285
|
throw new Error(`expected instance of ${klass.name}`);
|
|
@@ -292,6 +292,13 @@ function addBorrowedObject(obj) {
|
|
|
292
292
|
heap[--stack_pointer] = obj;
|
|
293
293
|
return stack_pointer;
|
|
294
294
|
}
|
|
295
|
+
function handleError(f, args) {
|
|
296
|
+
try {
|
|
297
|
+
return f.apply(this, args);
|
|
298
|
+
} catch (e) {
|
|
299
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
300
|
+
}
|
|
301
|
+
}
|
|
295
302
|
function passArrayJsValueToWasm0(array, malloc) {
|
|
296
303
|
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
297
304
|
const mem = getUint32Memory0();
|
|
@@ -301,13 +308,6 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
301
308
|
WASM_VECTOR_LEN = array.length;
|
|
302
309
|
return ptr;
|
|
303
310
|
}
|
|
304
|
-
function handleError(f, args) {
|
|
305
|
-
try {
|
|
306
|
-
return f.apply(this, args);
|
|
307
|
-
} catch (e) {
|
|
308
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
311
|
function __wbgtest_console_log(args) {
|
|
312
312
|
try {
|
|
313
313
|
wasm.__wbgtest_console_log(addBorrowedObject(args));
|
|
@@ -343,15 +343,16 @@ function __wbgtest_console_error(args) {
|
|
|
343
343
|
heap[stack_pointer++] = void 0;
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function __wbg_adapter_296(arg0, arg1) {
|
|
347
347
|
wasm.wasm_bindgen__convert__closures__invoke0_mut__hff00333f3d941090(arg0, arg1);
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function __wbg_adapter_339(arg0, arg1, arg2, arg3, arg4) {
|
|
350
350
|
wasm.wasm_bindgen__convert__closures__invoke3_mut__h703f9c33fd3008bf(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function __wbg_adapter_396(arg0, arg1, arg2, arg3) {
|
|
353
353
|
wasm.wasm_bindgen__convert__closures__invoke2_mut__h97988f5fa0547d24(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
354
354
|
}
|
|
355
|
+
var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
|
|
355
356
|
var OpType = Object.freeze({
|
|
356
357
|
/**
|
|
357
358
|
* Create operation.
|
|
@@ -379,7 +380,6 @@ var OpType = Object.freeze({
|
|
|
379
380
|
COUNT: 4,
|
|
380
381
|
"4": "COUNT"
|
|
381
382
|
});
|
|
382
|
-
var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
|
|
383
383
|
var BasePluginFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
384
384
|
}, unregister: () => {
|
|
385
385
|
} } : new FinalizationRegistry((ptr) => wasm.__wbg_baseplugin_free(ptr >>> 0));
|
|
@@ -1619,6 +1619,13 @@ var Query = class {
|
|
|
1619
1619
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
|
+
/**
|
|
1623
|
+
* @returns {boolean}
|
|
1624
|
+
*/
|
|
1625
|
+
has_or_operator() {
|
|
1626
|
+
const ret = wasm.query_has_or_operator(this.__wbg_ptr);
|
|
1627
|
+
return ret !== 0;
|
|
1628
|
+
}
|
|
1622
1629
|
};
|
|
1623
1630
|
var QueryOptionsFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
1624
1631
|
}, unregister: () => {
|
|
@@ -2235,52 +2242,52 @@ function __wbg_get_imports() {
|
|
|
2235
2242
|
return addHeapObject(ret);
|
|
2236
2243
|
}, arguments);
|
|
2237
2244
|
};
|
|
2238
|
-
imports.wbg.
|
|
2239
|
-
const ret =
|
|
2240
|
-
return ret;
|
|
2245
|
+
imports.wbg.__wbg_indexdb_new = function(arg0) {
|
|
2246
|
+
const ret = IndexDB.__wrap(arg0);
|
|
2247
|
+
return addHeapObject(ret);
|
|
2241
2248
|
};
|
|
2242
|
-
imports.wbg.
|
|
2243
|
-
const ret =
|
|
2249
|
+
imports.wbg.__wbg_collection_new = function(arg0) {
|
|
2250
|
+
const ret = Collection.__wrap(arg0);
|
|
2244
2251
|
return addHeapObject(ret);
|
|
2245
2252
|
};
|
|
2246
|
-
imports.wbg.
|
|
2247
|
-
const ret =
|
|
2248
|
-
return ret;
|
|
2253
|
+
imports.wbg.__wbg_database_new = function(arg0) {
|
|
2254
|
+
const ret = Database.__wrap(arg0);
|
|
2255
|
+
return addHeapObject(ret);
|
|
2249
2256
|
};
|
|
2250
2257
|
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
2251
2258
|
const val = getObject(arg0);
|
|
2252
2259
|
const ret = typeof val === "object" && val !== null;
|
|
2253
2260
|
return ret;
|
|
2254
2261
|
};
|
|
2255
|
-
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
2256
|
-
const v = getObject(arg0);
|
|
2257
|
-
const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
|
|
2258
|
-
return ret;
|
|
2259
|
-
};
|
|
2260
|
-
imports.wbg.__wbg_database_new = function(arg0) {
|
|
2261
|
-
const ret = Database.__wrap(arg0);
|
|
2262
|
-
return addHeapObject(ret);
|
|
2263
|
-
};
|
|
2264
|
-
imports.wbg.__wbg_collection_new = function(arg0) {
|
|
2265
|
-
const ret = Collection.__wrap(arg0);
|
|
2266
|
-
return addHeapObject(ret);
|
|
2267
|
-
};
|
|
2268
2262
|
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
2269
2263
|
const ret = typeof getObject(arg0) === "function";
|
|
2270
2264
|
return ret;
|
|
2271
2265
|
};
|
|
2266
|
+
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
2267
|
+
const ret = typeof getObject(arg0) === "string";
|
|
2268
|
+
return ret;
|
|
2269
|
+
};
|
|
2272
2270
|
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
|
2273
2271
|
const ret = typeof getObject(arg0) === "bigint";
|
|
2274
2272
|
return ret;
|
|
2275
2273
|
};
|
|
2276
|
-
imports.wbg.
|
|
2277
|
-
const ret =
|
|
2274
|
+
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
2275
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2278
2276
|
return addHeapObject(ret);
|
|
2279
2277
|
};
|
|
2278
|
+
imports.wbg.__wbindgen_is_array = function(arg0) {
|
|
2279
|
+
const ret = Array.isArray(getObject(arg0));
|
|
2280
|
+
return ret;
|
|
2281
|
+
};
|
|
2280
2282
|
imports.wbg.__wbindgen_is_falsy = function(arg0) {
|
|
2281
2283
|
const ret = !getObject(arg0);
|
|
2282
2284
|
return ret;
|
|
2283
2285
|
};
|
|
2286
|
+
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
2287
|
+
const v = getObject(arg0);
|
|
2288
|
+
const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
|
|
2289
|
+
return ret;
|
|
2290
|
+
};
|
|
2284
2291
|
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
2285
2292
|
const ret = getObject(arg0) in getObject(arg1);
|
|
2286
2293
|
return ret;
|
|
@@ -2509,12 +2516,42 @@ function __wbg_get_imports() {
|
|
|
2509
2516
|
return addHeapObject(ret);
|
|
2510
2517
|
}, arguments);
|
|
2511
2518
|
};
|
|
2519
|
+
imports.wbg.__wbg_bound_25385469508e98c7 = function() {
|
|
2520
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
2521
|
+
const ret = IDBKeyRange.bound(getObject(arg0), getObject(arg1), arg2 !== 0, arg3 !== 0);
|
|
2522
|
+
return addHeapObject(ret);
|
|
2523
|
+
}, arguments);
|
|
2524
|
+
};
|
|
2525
|
+
imports.wbg.__wbg_lowerBound_cd1c8a3b3fdf1582 = function() {
|
|
2526
|
+
return handleError(function(arg0) {
|
|
2527
|
+
const ret = IDBKeyRange.lowerBound(getObject(arg0));
|
|
2528
|
+
return addHeapObject(ret);
|
|
2529
|
+
}, arguments);
|
|
2530
|
+
};
|
|
2531
|
+
imports.wbg.__wbg_lowerBound_e77f6e14cb69151e = function() {
|
|
2532
|
+
return handleError(function(arg0, arg1) {
|
|
2533
|
+
const ret = IDBKeyRange.lowerBound(getObject(arg0), arg1 !== 0);
|
|
2534
|
+
return addHeapObject(ret);
|
|
2535
|
+
}, arguments);
|
|
2536
|
+
};
|
|
2512
2537
|
imports.wbg.__wbg_only_cacf767244bdc280 = function() {
|
|
2513
2538
|
return handleError(function(arg0) {
|
|
2514
2539
|
const ret = IDBKeyRange.only(getObject(arg0));
|
|
2515
2540
|
return addHeapObject(ret);
|
|
2516
2541
|
}, arguments);
|
|
2517
2542
|
};
|
|
2543
|
+
imports.wbg.__wbg_upperBound_1e3077b2c05bdd71 = function() {
|
|
2544
|
+
return handleError(function(arg0) {
|
|
2545
|
+
const ret = IDBKeyRange.upperBound(getObject(arg0));
|
|
2546
|
+
return addHeapObject(ret);
|
|
2547
|
+
}, arguments);
|
|
2548
|
+
};
|
|
2549
|
+
imports.wbg.__wbg_upperBound_4c692da072d1a11e = function() {
|
|
2550
|
+
return handleError(function(arg0, arg1) {
|
|
2551
|
+
const ret = IDBKeyRange.upperBound(getObject(arg0), arg1 !== 0);
|
|
2552
|
+
return addHeapObject(ret);
|
|
2553
|
+
}, arguments);
|
|
2554
|
+
};
|
|
2518
2555
|
imports.wbg.__wbg_instanceof_IdbOpenDbRequest_3f4a166bc0340578 = function(arg0) {
|
|
2519
2556
|
let result;
|
|
2520
2557
|
try {
|
|
@@ -2603,7 +2640,7 @@ function __wbg_get_imports() {
|
|
|
2603
2640
|
const a = state0.a;
|
|
2604
2641
|
state0.a = 0;
|
|
2605
2642
|
try {
|
|
2606
|
-
return
|
|
2643
|
+
return __wbg_adapter_296(a, state0.b);
|
|
2607
2644
|
} finally {
|
|
2608
2645
|
state0.a = a;
|
|
2609
2646
|
}
|
|
@@ -2783,7 +2820,7 @@ function __wbg_get_imports() {
|
|
|
2783
2820
|
const a = state0.a;
|
|
2784
2821
|
state0.a = 0;
|
|
2785
2822
|
try {
|
|
2786
|
-
return
|
|
2823
|
+
return __wbg_adapter_339(a, state0.b, arg02, arg12, arg22);
|
|
2787
2824
|
} finally {
|
|
2788
2825
|
state0.a = a;
|
|
2789
2826
|
}
|
|
@@ -2884,7 +2921,7 @@ function __wbg_get_imports() {
|
|
|
2884
2921
|
const a = state0.a;
|
|
2885
2922
|
state0.a = 0;
|
|
2886
2923
|
try {
|
|
2887
|
-
return
|
|
2924
|
+
return __wbg_adapter_396(a, state0.b, arg02, arg12);
|
|
2888
2925
|
} finally {
|
|
2889
2926
|
state0.a = a;
|
|
2890
2927
|
}
|
|
@@ -3000,15 +3037,15 @@ function __wbg_get_imports() {
|
|
|
3000
3037
|
const ret = wasm.memory;
|
|
3001
3038
|
return addHeapObject(ret);
|
|
3002
3039
|
};
|
|
3003
|
-
imports.wbg.
|
|
3004
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3040
|
+
imports.wbg.__wbindgen_closure_wrapper482 = function(arg0, arg1, arg2) {
|
|
3041
|
+
const ret = makeMutClosure(arg0, arg1, 181, __wbg_adapter_56);
|
|
3005
3042
|
return addHeapObject(ret);
|
|
3006
3043
|
};
|
|
3007
|
-
imports.wbg.
|
|
3008
|
-
const ret = makeClosure(arg0, arg1,
|
|
3044
|
+
imports.wbg.__wbindgen_closure_wrapper484 = function(arg0, arg1, arg2) {
|
|
3045
|
+
const ret = makeClosure(arg0, arg1, 181, __wbg_adapter_59);
|
|
3009
3046
|
return addHeapObject(ret);
|
|
3010
3047
|
};
|
|
3011
|
-
imports.wbg.
|
|
3048
|
+
imports.wbg.__wbindgen_closure_wrapper1646 = function(arg0, arg1, arg2) {
|
|
3012
3049
|
const ret = makeMutClosure(arg0, arg1, 449, __wbg_adapter_62);
|
|
3013
3050
|
return addHeapObject(ret);
|
|
3014
3051
|
};
|