@prisma/query-compiler-wasm 6.19.0-11.9602fb1c23773887901e77bef1ebe272d5ea2415 → 6.19.0-12.06c275d65e3f7e25eb4817a833596206dd5df49f

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