@prisma/query-compiler-wasm 6.19.0-13.next-a06eb11979a320a0728d700b06c5afd921691d3a → 6.19.0-15.08761ddce3e1b2107c76ee662fbd0520fc1110dc

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.
@@ -16,6 +16,7 @@ export interface JsCompileError {
16
16
 
17
17
  export class QueryCompiler {
18
18
  free(): void;
19
+ [Symbol.dispose](): void;
19
20
  constructor(params: QueryCompilerParams);
20
21
  compile(request: string): any;
21
22
  compileBatch(request: string): any;
@@ -4,8 +4,6 @@ export function __wbg_set_wasm(val) {
4
4
  }
5
5
 
6
6
 
7
- let WASM_VECTOR_LEN = 0;
8
-
9
7
  let cachedUint8ArrayMemory0 = null;
10
8
 
11
9
  function getUint8ArrayMemory0() {
@@ -15,22 +13,41 @@ function getUint8ArrayMemory0() {
15
13
  return cachedUint8ArrayMemory0;
16
14
  }
17
15
 
18
- const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
16
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
19
17
 
20
- let cachedTextEncoder = new lTextEncoder('utf-8');
18
+ cachedTextDecoder.decode();
21
19
 
22
- const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
23
- ? function (arg, view) {
24
- return cachedTextEncoder.encodeInto(arg, view);
20
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
21
+ let numBytesDecoded = 0;
22
+ function decodeText(ptr, len) {
23
+ numBytesDecoded += len;
24
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
25
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
26
+ cachedTextDecoder.decode();
27
+ numBytesDecoded = len;
28
+ }
29
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
30
+ }
31
+
32
+ function getStringFromWasm0(ptr, len) {
33
+ ptr = ptr >>> 0;
34
+ return decodeText(ptr, len);
35
+ }
36
+
37
+ let WASM_VECTOR_LEN = 0;
38
+
39
+ const cachedTextEncoder = new TextEncoder();
40
+
41
+ if (!('encodeInto' in cachedTextEncoder)) {
42
+ cachedTextEncoder.encodeInto = function (arg, view) {
43
+ const buf = cachedTextEncoder.encode(arg);
44
+ view.set(buf);
45
+ return {
46
+ read: arg.length,
47
+ written: buf.length
48
+ };
49
+ }
25
50
  }
26
- : function (arg, view) {
27
- const buf = cachedTextEncoder.encode(arg);
28
- view.set(buf);
29
- return {
30
- read: arg.length,
31
- written: buf.length
32
- };
33
- });
34
51
 
35
52
  function passStringToWasm0(arg, malloc, realloc) {
36
53
 
@@ -61,7 +78,7 @@ function passStringToWasm0(arg, malloc, realloc) {
61
78
  }
62
79
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
63
80
  const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
64
- const ret = encodeString(arg, view);
81
+ const ret = cachedTextEncoder.encodeInto(arg, view);
65
82
 
66
83
  offset += ret.written;
67
84
  ptr = realloc(ptr, len, offset, 1) >>> 0;
@@ -80,32 +97,6 @@ function getDataViewMemory0() {
80
97
  return cachedDataViewMemory0;
81
98
  }
82
99
 
83
- function addToExternrefTable0(obj) {
84
- const idx = wasm.__externref_table_alloc();
85
- wasm.__wbindgen_export_4.set(idx, obj);
86
- return idx;
87
- }
88
-
89
- function handleError(f, args) {
90
- try {
91
- return f.apply(this, args);
92
- } catch (e) {
93
- const idx = addToExternrefTable0(e);
94
- wasm.__wbindgen_exn_store(idx);
95
- }
96
- }
97
-
98
- const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
99
-
100
- let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
101
-
102
- cachedTextDecoder.decode();
103
-
104
- function getStringFromWasm0(ptr, len) {
105
- ptr = ptr >>> 0;
106
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
107
- }
108
-
109
100
  function isLikeNone(x) {
110
101
  return x === undefined || x === null;
111
102
  }
@@ -175,8 +166,28 @@ function debugString(val) {
175
166
  return className;
176
167
  }
177
168
 
169
+ function addToExternrefTable0(obj) {
170
+ const idx = wasm.__externref_table_alloc();
171
+ wasm.__wbindgen_externrefs.set(idx, obj);
172
+ return idx;
173
+ }
174
+
175
+ function handleError(f, args) {
176
+ try {
177
+ return f.apply(this, args);
178
+ } catch (e) {
179
+ const idx = addToExternrefTable0(e);
180
+ wasm.__wbindgen_exn_store(idx);
181
+ }
182
+ }
183
+
184
+ function getArrayU8FromWasm0(ptr, len) {
185
+ ptr = ptr >>> 0;
186
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
187
+ }
188
+
178
189
  function takeFromExternrefTable0(idx) {
179
- const value = wasm.__wbindgen_export_4.get(idx);
190
+ const value = wasm.__wbindgen_externrefs.get(idx);
180
191
  wasm.__externref_table_dealloc(idx);
181
192
  return value;
182
193
  }
@@ -237,6 +248,17 @@ export class QueryCompiler {
237
248
  return takeFromExternrefTable0(ret[0]);
238
249
  }
239
250
  }
251
+ if (Symbol.dispose) QueryCompiler.prototype[Symbol.dispose] = QueryCompiler.prototype.free;
252
+
253
+ export function __wbg_Error_e83987f665cf5504(arg0, arg1) {
254
+ const ret = Error(getStringFromWasm0(arg0, arg1));
255
+ return ret;
256
+ };
257
+
258
+ export function __wbg_Number_bb48ca12f395cd08(arg0) {
259
+ const ret = Number(arg0);
260
+ return ret;
261
+ };
240
262
 
241
263
  export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
242
264
  const ret = String(arg1);
@@ -246,27 +268,87 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
246
268
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
247
269
  };
248
270
 
249
- export function __wbg_buffer_609cc3eee51ed158(arg0) {
250
- const ret = arg0.buffer;
271
+ export function __wbg___wbindgen_boolean_get_6d5a1ee65bab5f68(arg0) {
272
+ const v = arg0;
273
+ const ret = typeof(v) === 'boolean' ? v : undefined;
274
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
275
+ };
276
+
277
+ export function __wbg___wbindgen_debug_string_df47ffb5e35e6763(arg0, arg1) {
278
+ const ret = debugString(arg1);
279
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
280
+ const len1 = WASM_VECTOR_LEN;
281
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
282
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
283
+ };
284
+
285
+ export function __wbg___wbindgen_in_bb933bd9e1b3bc0f(arg0, arg1) {
286
+ const ret = arg0 in arg1;
251
287
  return ret;
252
288
  };
253
289
 
254
- export function __wbg_call_672a4d21634d4a24() { return handleError(function (arg0, arg1) {
255
- const ret = arg0.call(arg1);
290
+ export function __wbg___wbindgen_is_function_ee8a6c5833c90377(arg0) {
291
+ const ret = typeof(arg0) === 'function';
256
292
  return ret;
257
- }, arguments) };
293
+ };
294
+
295
+ export function __wbg___wbindgen_is_object_c818261d21f283a4(arg0) {
296
+ const val = arg0;
297
+ const ret = typeof(val) === 'object' && val !== null;
298
+ return ret;
299
+ };
300
+
301
+ export function __wbg___wbindgen_is_string_fbb76cb2940daafd(arg0) {
302
+ const ret = typeof(arg0) === 'string';
303
+ return ret;
304
+ };
305
+
306
+ export function __wbg___wbindgen_is_undefined_2d472862bd29a478(arg0) {
307
+ const ret = arg0 === undefined;
308
+ return ret;
309
+ };
310
+
311
+ export function __wbg___wbindgen_jsval_loose_eq_b664b38a2f582147(arg0, arg1) {
312
+ const ret = arg0 == arg1;
313
+ return ret;
314
+ };
315
+
316
+ export function __wbg___wbindgen_number_get_a20bf9b85341449d(arg0, arg1) {
317
+ const obj = arg1;
318
+ const ret = typeof(obj) === 'number' ? obj : undefined;
319
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
320
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
321
+ };
258
322
 
259
- export function __wbg_call_7cccdd69e0791ae2() { return handleError(function (arg0, arg1, arg2) {
323
+ export function __wbg___wbindgen_string_get_e4f06c90489ad01b(arg0, arg1) {
324
+ const obj = arg1;
325
+ const ret = typeof(obj) === 'string' ? obj : undefined;
326
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
327
+ var len1 = WASM_VECTOR_LEN;
328
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
329
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
330
+ };
331
+
332
+ export function __wbg___wbindgen_throw_b855445ff6a94295(arg0, arg1) {
333
+ throw new Error(getStringFromWasm0(arg0, arg1));
334
+ };
335
+
336
+ export function __wbg_call_525440f72fbfc0ea() { return handleError(function (arg0, arg1, arg2) {
260
337
  const ret = arg0.call(arg1, arg2);
261
338
  return ret;
262
339
  }, arguments) };
263
340
 
341
+ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg0, arg1) {
342
+ const ret = arg0.call(arg1);
343
+ return ret;
344
+ }, arguments) };
345
+
264
346
  export function __wbg_crypto_805be4ce92f1e370(arg0) {
265
347
  const ret = arg0.crypto;
266
348
  return ret;
267
349
  };
268
350
 
269
- export function __wbg_entries_3265d4158b33e5dc(arg0) {
351
+ export function __wbg_entries_e171b586f8f6bdbf(arg0) {
270
352
  const ret = Object.entries(arg0);
271
353
  return ret;
272
354
  };
@@ -275,22 +357,22 @@ export function __wbg_getRandomValues_f6a868620c8bab49() { return handleError(fu
275
357
  arg0.getRandomValues(arg1);
276
358
  }, arguments) };
277
359
 
278
- export function __wbg_getTime_46267b1c24877e30(arg0) {
360
+ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
279
361
  const ret = arg0.getTime();
280
362
  return ret;
281
363
  };
282
364
 
283
- export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
365
+ export function __wbg_get_7bed016f185add81(arg0, arg1) {
284
366
  const ret = arg0[arg1 >>> 0];
285
367
  return ret;
286
368
  };
287
369
 
288
- export function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) {
370
+ export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0, arg1) {
289
371
  const ret = arg0[arg1];
290
372
  return ret;
291
373
  };
292
374
 
293
- export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
375
+ export function __wbg_instanceof_ArrayBuffer_70beb1189ca63b38(arg0) {
294
376
  let result;
295
377
  try {
296
378
  result = arg0 instanceof ArrayBuffer;
@@ -301,7 +383,7 @@ export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
301
383
  return ret;
302
384
  };
303
385
 
304
- export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
386
+ export function __wbg_instanceof_Uint8Array_20c8e73002f7af98(arg0) {
305
387
  let result;
306
388
  try {
307
389
  result = arg0 instanceof Uint8Array;
@@ -312,22 +394,22 @@ export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
312
394
  return ret;
313
395
  };
314
396
 
315
- export function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) {
397
+ export function __wbg_isSafeInteger_d216eda7911dde36(arg0) {
316
398
  const ret = Number.isSafeInteger(arg0);
317
399
  return ret;
318
400
  };
319
401
 
320
- export function __wbg_keys_5c77a08ddc2fb8a6(arg0) {
402
+ export function __wbg_keys_b4d27b02ad14f4be(arg0) {
321
403
  const ret = Object.keys(arg0);
322
404
  return ret;
323
405
  };
324
406
 
325
- export function __wbg_length_a446193dc22c12f8(arg0) {
407
+ export function __wbg_length_69bca3cb64fc8748(arg0) {
326
408
  const ret = arg0.length;
327
409
  return ret;
328
410
  };
329
411
 
330
- export function __wbg_length_e2d2a49132c1b256(arg0) {
412
+ export function __wbg_length_cdd215e10d9dd507(arg0) {
331
413
  const ret = arg0.length;
332
414
  return ret;
333
415
  };
@@ -337,42 +419,37 @@ export function __wbg_msCrypto_2ac4d17c4748234a(arg0) {
337
419
  return ret;
338
420
  };
339
421
 
340
- export function __wbg_new0_f788a2397c7ca929() {
422
+ export function __wbg_new_0_f9740686d739025c() {
341
423
  const ret = new Date();
342
424
  return ret;
343
425
  };
344
426
 
345
- export function __wbg_new_405e22f390576ce2() {
427
+ export function __wbg_new_1acc0b6eea89d040() {
346
428
  const ret = new Object();
347
429
  return ret;
348
430
  };
349
431
 
350
- export function __wbg_new_5e0be73521bc8c17() {
351
- const ret = new Map();
432
+ export function __wbg_new_5a79be3ab53b8aa5(arg0) {
433
+ const ret = new Uint8Array(arg0);
352
434
  return ret;
353
435
  };
354
436
 
355
- export function __wbg_new_78feb108b6472713() {
356
- const ret = new Array();
437
+ export function __wbg_new_68651c719dcda04e() {
438
+ const ret = new Map();
357
439
  return ret;
358
440
  };
359
441
 
360
- export function __wbg_new_a12002a7f91c75be(arg0) {
361
- const ret = new Uint8Array(arg0);
442
+ export function __wbg_new_e17d9f43105b08be() {
443
+ const ret = new Array();
362
444
  return ret;
363
445
  };
364
446
 
365
- export function __wbg_newnoargs_105ed471475aaf50(arg0, arg1) {
447
+ export function __wbg_new_no_args_ee98eee5275000a4(arg0, arg1) {
366
448
  const ret = new Function(getStringFromWasm0(arg0, arg1));
367
449
  return ret;
368
450
  };
369
451
 
370
- export function __wbg_newwithbyteoffsetandlength_d97e637ebe145a9a(arg0, arg1, arg2) {
371
- const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
372
- return ret;
373
- };
374
-
375
- export function __wbg_newwithlength_a381634e90c276d4(arg0) {
452
+ export function __wbg_new_with_length_01aa0dc35aa13543(arg0) {
376
453
  const ret = new Uint8Array(arg0 >>> 0);
377
454
  return ret;
378
455
  };
@@ -382,7 +459,7 @@ export function __wbg_node_ecc8306b9857f33d(arg0) {
382
459
  return ret;
383
460
  };
384
461
 
385
- export function __wbg_now_807e54c39636c349() {
462
+ export function __wbg_now_793306c526e2e3b6() {
386
463
  const ret = Date.now();
387
464
  return ret;
388
465
  };
@@ -397,6 +474,10 @@ export function __wbg_process_5cff2739921be718(arg0) {
397
474
  return ret;
398
475
  };
399
476
 
477
+ export function __wbg_prototypesetcall_2a6620b6922694b2(arg0, arg1, arg2) {
478
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
479
+ };
480
+
400
481
  export function __wbg_randomFillSync_d3c85af7e31cf1f8() { return handleError(function (arg0, arg1) {
401
482
  arg0.randomFillSync(arg1);
402
483
  }, arguments) };
@@ -406,48 +487,44 @@ export function __wbg_require_0c566c6f2eef6c79() { return handleError(function (
406
487
  return ret;
407
488
  }, arguments) };
408
489
 
409
- export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
410
- arg0[arg1 >>> 0] = arg2;
411
- };
412
-
413
490
  export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
414
491
  arg0[arg1] = arg2;
415
492
  };
416
493
 
417
- export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
418
- arg0.set(arg1, arg2 >>> 0);
419
- };
420
-
421
- export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
494
+ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
422
495
  const ret = arg0.set(arg1, arg2);
423
496
  return ret;
424
497
  };
425
498
 
426
- export function __wbg_setmessage_82ae475bb413aa5c(arg0, arg1) {
499
+ export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
500
+ arg0[arg1 >>> 0] = arg2;
501
+ };
502
+
503
+ export function __wbg_set_message_82ae475bb413aa5c(arg0, arg1) {
427
504
  global.PRISMA_WASM_PANIC_REGISTRY.set_message(getStringFromWasm0(arg0, arg1));
428
505
  };
429
506
 
430
- export function __wbg_static_accessor_GLOBAL_88a902d13a557d07() {
507
+ export function __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e() {
431
508
  const ret = typeof global === 'undefined' ? null : global;
432
509
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
433
510
  };
434
511
 
435
- export function __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0() {
512
+ export function __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac() {
436
513
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
437
514
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
438
515
  };
439
516
 
440
- export function __wbg_static_accessor_SELF_37c5d418e4bf5819() {
517
+ export function __wbg_static_accessor_SELF_6fdf4b64710cc91b() {
441
518
  const ret = typeof self === 'undefined' ? null : self;
442
519
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
443
520
  };
444
521
 
445
- export function __wbg_static_accessor_WINDOW_5de37043a91a9c40() {
522
+ export function __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2() {
446
523
  const ret = typeof window === 'undefined' ? null : window;
447
524
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
448
525
  };
449
526
 
450
- export function __wbg_subarray_aa9065fa9dc5df96(arg0, arg1, arg2) {
527
+ export function __wbg_subarray_480600f3d6a9f26c(arg0, arg1, arg2) {
451
528
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
452
529
  return ret;
453
530
  };
@@ -457,47 +534,38 @@ export function __wbg_versions_a8e5a362e1f16442(arg0) {
457
534
  return ret;
458
535
  };
459
536
 
460
- export function __wbindgen_as_number(arg0) {
461
- const ret = +arg0;
462
- return ret;
463
- };
464
-
465
- export function __wbindgen_bigint_from_i64(arg0) {
466
- const ret = arg0;
537
+ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
538
+ // Cast intrinsic for `Ref(String) -> Externref`.
539
+ const ret = getStringFromWasm0(arg0, arg1);
467
540
  return ret;
468
541
  };
469
542
 
470
- export function __wbindgen_bigint_from_u64(arg0) {
543
+ export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
544
+ // Cast intrinsic for `U64 -> Externref`.
471
545
  const ret = BigInt.asUintN(64, arg0);
472
546
  return ret;
473
547
  };
474
548
 
475
- export function __wbindgen_boolean_get(arg0) {
476
- const v = arg0;
477
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
549
+ export function __wbindgen_cast_9ae0607507abb057(arg0) {
550
+ // Cast intrinsic for `I64 -> Externref`.
551
+ const ret = arg0;
478
552
  return ret;
479
553
  };
480
554
 
481
- export function __wbindgen_debug_string(arg0, arg1) {
482
- const ret = debugString(arg1);
483
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
484
- const len1 = WASM_VECTOR_LEN;
485
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
486
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
487
- };
488
-
489
- export function __wbindgen_error_new(arg0, arg1) {
490
- const ret = new Error(getStringFromWasm0(arg0, arg1));
555
+ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
556
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
557
+ const ret = getArrayU8FromWasm0(arg0, arg1);
491
558
  return ret;
492
559
  };
493
560
 
494
- export function __wbindgen_in(arg0, arg1) {
495
- const ret = arg0 in arg1;
561
+ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
562
+ // Cast intrinsic for `F64 -> Externref`.
563
+ const ret = arg0;
496
564
  return ret;
497
565
  };
498
566
 
499
567
  export function __wbindgen_init_externref_table() {
500
- const table = wasm.__wbindgen_export_4;
568
+ const table = wasm.__wbindgen_externrefs;
501
569
  const offset = table.grow(4);
502
570
  table.set(0, undefined);
503
571
  table.set(offset + 0, undefined);
@@ -507,64 +575,3 @@ export function __wbindgen_init_externref_table() {
507
575
  ;
508
576
  };
509
577
 
510
- export function __wbindgen_is_function(arg0) {
511
- const ret = typeof(arg0) === 'function';
512
- return ret;
513
- };
514
-
515
- export function __wbindgen_is_object(arg0) {
516
- const val = arg0;
517
- const ret = typeof(val) === 'object' && val !== null;
518
- return ret;
519
- };
520
-
521
- export function __wbindgen_is_string(arg0) {
522
- const ret = typeof(arg0) === 'string';
523
- return ret;
524
- };
525
-
526
- export function __wbindgen_is_undefined(arg0) {
527
- const ret = arg0 === undefined;
528
- return ret;
529
- };
530
-
531
- export function __wbindgen_jsval_loose_eq(arg0, arg1) {
532
- const ret = arg0 == arg1;
533
- return ret;
534
- };
535
-
536
- export function __wbindgen_memory() {
537
- const ret = wasm.memory;
538
- return ret;
539
- };
540
-
541
- export function __wbindgen_number_get(arg0, arg1) {
542
- const obj = arg1;
543
- const ret = typeof(obj) === 'number' ? obj : undefined;
544
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
545
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
546
- };
547
-
548
- export function __wbindgen_number_new(arg0) {
549
- const ret = arg0;
550
- return ret;
551
- };
552
-
553
- export function __wbindgen_string_get(arg0, arg1) {
554
- const obj = arg1;
555
- const ret = typeof(obj) === 'string' ? obj : undefined;
556
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
557
- var len1 = WASM_VECTOR_LEN;
558
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
559
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
560
- };
561
-
562
- export function __wbindgen_string_new(arg0, arg1) {
563
- const ret = getStringFromWasm0(arg0, arg1);
564
- return ret;
565
- };
566
-
567
- export function __wbindgen_throw(arg0, arg1) {
568
- throw new Error(getStringFromWasm0(arg0, arg1));
569
- };
570
-
Binary file
@@ -9,6 +9,6 @@ export const __wbindgen_malloc: (a: number, b: number) => number;
9
9
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
10
10
  export const __wbindgen_exn_store: (a: number) => void;
11
11
  export const __externref_table_alloc: () => number;
12
- export const __wbindgen_export_4: WebAssembly.Table;
12
+ export const __wbindgen_externrefs: WebAssembly.Table;
13
13
  export const __externref_table_dealloc: (a: number) => void;
14
14
  export const __wbindgen_start: () => void;
@@ -16,6 +16,7 @@ export interface JsCompileError {
16
16
 
17
17
  export class QueryCompiler {
18
18
  free(): void;
19
+ [Symbol.dispose](): void;
19
20
  constructor(params: QueryCompilerParams);
20
21
  compile(request: string): any;
21
22
  compileBatch(request: string): any;