@quillmark/wasm 0.14.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -0,0 +1,17 @@
1
+
2
+ let imports = {};
3
+ import * as import0 from './wasm_bg.js';
4
+ imports['./wasm_bg.js'] = import0;
5
+
6
+ import { readFileSync } from 'node:fs';
7
+
8
+ const wasmUrl = new URL('wasm_bg.wasm', import.meta.url);
9
+ const wasmBytes = readFileSync(wasmUrl);
10
+ const wasmModule = new WebAssembly.Module(wasmBytes);
11
+ const wasm = new WebAssembly.Instance(wasmModule, imports).exports;
12
+ export { wasm as __wasm };
13
+
14
+ imports["./wasm_bg.js"].__wbg_set_wasm(wasm, wasmModule);
15
+ wasm.__wbindgen_start();
16
+
17
+ export * from "./wasm_bg.js";
@@ -1,6 +1,10 @@
1
+ let wasm;
2
+ let wasmModule;
3
+ export function __wbg_set_wasm(exports, module) {
4
+ wasm = exports;
5
+ wasmModule = module;
6
+ }
1
7
 
2
- let imports = {};
3
- imports['__wbindgen_placeholder__'] = module.exports;
4
8
 
5
9
  let cachedUint8ArrayMemory0 = null;
6
10
 
@@ -210,9 +214,9 @@ function getArrayJsValueFromWasm0(ptr, len) {
210
214
  /**
211
215
  * Initialize the WASM module with panic hooks for better error messages
212
216
  */
213
- exports.init = function() {
217
+ export function init() {
214
218
  wasm.init();
215
- };
219
+ }
216
220
 
217
221
  const QuillmarkFinalization = (typeof FinalizationRegistry === 'undefined')
218
222
  ? { register: () => {}, unregister: () => {} }
@@ -222,7 +226,7 @@ const QuillmarkFinalization = (typeof FinalizationRegistry === 'undefined')
222
226
  *
223
227
  * Create once, register Quills, render markdown. That's it.
224
228
  */
225
- class Quillmark {
229
+ export class Quillmark {
226
230
 
227
231
  __destroy_into_raw() {
228
232
  const ptr = this.__wbg_ptr;
@@ -434,14 +438,12 @@ class Quillmark {
434
438
  }
435
439
  if (Symbol.dispose) Quillmark.prototype[Symbol.dispose] = Quillmark.prototype.free;
436
440
 
437
- exports.Quillmark = Quillmark;
438
-
439
- exports.__wbg_Error_e17e777aac105295 = function(arg0, arg1) {
441
+ export function __wbg_Error_e17e777aac105295(arg0, arg1) {
440
442
  const ret = Error(getStringFromWasm0(arg0, arg1));
441
443
  return addHeapObject(ret);
442
444
  };
443
445
 
444
- exports.__wbg_String_eecc4a11987127d6 = function(arg0, arg1) {
446
+ export function __wbg_String_eecc4a11987127d6(arg0, arg1) {
445
447
  const ret = String(getObject(arg1));
446
448
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
447
449
  const len1 = WASM_VECTOR_LEN;
@@ -449,22 +451,22 @@ exports.__wbg_String_eecc4a11987127d6 = function(arg0, arg1) {
449
451
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
450
452
  };
451
453
 
452
- exports.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
454
+ export function __wbg_call_13410aac570ffff7() { return handleError(function (arg0, arg1) {
453
455
  const ret = getObject(arg0).call(getObject(arg1));
454
456
  return addHeapObject(ret);
455
457
  }, arguments) };
456
458
 
457
- exports.__wbg_done_75ed0ee6dd243d9d = function(arg0) {
459
+ export function __wbg_done_75ed0ee6dd243d9d(arg0) {
458
460
  const ret = getObject(arg0).done;
459
461
  return ret;
460
462
  };
461
463
 
462
- exports.__wbg_entries_2be2f15bd5554996 = function(arg0) {
464
+ export function __wbg_entries_2be2f15bd5554996(arg0) {
463
465
  const ret = Object.entries(getObject(arg0));
464
466
  return addHeapObject(ret);
465
467
  };
466
468
 
467
- exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
469
+ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
468
470
  let deferred0_0;
469
471
  let deferred0_1;
470
472
  try {
@@ -476,46 +478,46 @@ exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
476
478
  }
477
479
  };
478
480
 
479
- exports.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
481
+ export function __wbg_getRandomValues_1c61fac11405ffdc() { return handleError(function (arg0, arg1) {
480
482
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
481
483
  }, arguments) };
482
484
 
483
- exports.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
485
+ export function __wbg_getTime_6bb3f64e0f18f817(arg0) {
484
486
  const ret = getObject(arg0).getTime();
485
487
  return ret;
486
488
  };
487
489
 
488
- exports.__wbg_getUTCDate_e0a363240ba1c112 = function(arg0) {
490
+ export function __wbg_getUTCDate_e0a363240ba1c112(arg0) {
489
491
  const ret = getObject(arg0).getUTCDate();
490
492
  return ret;
491
493
  };
492
494
 
493
- exports.__wbg_getUTCFullYear_811e319dd2642ac0 = function(arg0) {
495
+ export function __wbg_getUTCFullYear_811e319dd2642ac0(arg0) {
494
496
  const ret = getObject(arg0).getUTCFullYear();
495
497
  return ret;
496
498
  };
497
499
 
498
- exports.__wbg_getUTCMonth_ed74da16cf6f6c98 = function(arg0) {
500
+ export function __wbg_getUTCMonth_ed74da16cf6f6c98(arg0) {
499
501
  const ret = getObject(arg0).getUTCMonth();
500
502
  return ret;
501
503
  };
502
504
 
503
- exports.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) {
505
+ export function __wbg_get_0da715ceaecea5c8(arg0, arg1) {
504
506
  const ret = getObject(arg0)[arg1 >>> 0];
505
507
  return addHeapObject(ret);
506
508
  };
507
509
 
508
- exports.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
510
+ export function __wbg_get_458e874b43b18b25() { return handleError(function (arg0, arg1) {
509
511
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
510
512
  return addHeapObject(ret);
511
513
  }, arguments) };
512
514
 
513
- exports.__wbg_getwithrefkey_6550b2c093d2eb18 = function(arg0, arg1) {
515
+ export function __wbg_getwithrefkey_6550b2c093d2eb18(arg0, arg1) {
514
516
  const ret = getObject(arg0)[getObject(arg1)];
515
517
  return addHeapObject(ret);
516
518
  };
517
519
 
518
- exports.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
520
+ export function __wbg_instanceof_ArrayBuffer_67f3012529f6a2dd(arg0) {
519
521
  let result;
520
522
  try {
521
523
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -526,7 +528,7 @@ exports.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
526
528
  return ret;
527
529
  };
528
530
 
529
- exports.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
531
+ export function __wbg_instanceof_Uint8Array_9a8378d955933db7(arg0) {
530
532
  let result;
531
533
  try {
532
534
  result = getObject(arg0) instanceof Uint8Array;
@@ -537,103 +539,103 @@ exports.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
537
539
  return ret;
538
540
  };
539
541
 
540
- exports.__wbg_isArray_030cce220591fb41 = function(arg0) {
542
+ export function __wbg_isArray_030cce220591fb41(arg0) {
541
543
  const ret = Array.isArray(getObject(arg0));
542
544
  return ret;
543
545
  };
544
546
 
545
- exports.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) {
547
+ export function __wbg_isSafeInteger_1c0d1af5542e102a(arg0) {
546
548
  const ret = Number.isSafeInteger(getObject(arg0));
547
549
  return ret;
548
550
  };
549
551
 
550
- exports.__wbg_iterator_f370b34483c71a1c = function() {
552
+ export function __wbg_iterator_f370b34483c71a1c() {
551
553
  const ret = Symbol.iterator;
552
554
  return addHeapObject(ret);
553
555
  };
554
556
 
555
- exports.__wbg_length_186546c51cd61acd = function(arg0) {
557
+ export function __wbg_length_186546c51cd61acd(arg0) {
556
558
  const ret = getObject(arg0).length;
557
559
  return ret;
558
560
  };
559
561
 
560
- exports.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
562
+ export function __wbg_length_6bb7e81f9d7713e4(arg0) {
561
563
  const ret = getObject(arg0).length;
562
564
  return ret;
563
565
  };
564
566
 
565
- exports.__wbg_new0_b0a0a38c201e6df5 = function() {
567
+ export function __wbg_new0_b0a0a38c201e6df5() {
566
568
  const ret = new Date();
567
569
  return addHeapObject(ret);
568
570
  };
569
571
 
570
- exports.__wbg_new_19c25a3f2fa63a02 = function() {
572
+ export function __wbg_new_19c25a3f2fa63a02() {
571
573
  const ret = new Object();
572
574
  return addHeapObject(ret);
573
575
  };
574
576
 
575
- exports.__wbg_new_1f3a344cf3123716 = function() {
577
+ export function __wbg_new_1f3a344cf3123716() {
576
578
  const ret = new Array();
577
579
  return addHeapObject(ret);
578
580
  };
579
581
 
580
- exports.__wbg_new_2ff1f68f3676ea53 = function() {
582
+ export function __wbg_new_2ff1f68f3676ea53() {
581
583
  const ret = new Map();
582
584
  return addHeapObject(ret);
583
585
  };
584
586
 
585
- exports.__wbg_new_5a2ae4557f92b50e = function(arg0) {
587
+ export function __wbg_new_5a2ae4557f92b50e(arg0) {
586
588
  const ret = new Date(getObject(arg0));
587
589
  return addHeapObject(ret);
588
590
  };
589
591
 
590
- exports.__wbg_new_638ebfaedbf32a5e = function(arg0) {
592
+ export function __wbg_new_638ebfaedbf32a5e(arg0) {
591
593
  const ret = new Uint8Array(getObject(arg0));
592
594
  return addHeapObject(ret);
593
595
  };
594
596
 
595
- exports.__wbg_new_8a6f238a6ece86ea = function() {
597
+ export function __wbg_new_8a6f238a6ece86ea() {
596
598
  const ret = new Error();
597
599
  return addHeapObject(ret);
598
600
  };
599
601
 
600
- exports.__wbg_next_5b3530e612fde77d = function(arg0) {
602
+ export function __wbg_next_5b3530e612fde77d(arg0) {
601
603
  const ret = getObject(arg0).next;
602
604
  return addHeapObject(ret);
603
605
  };
604
606
 
605
- exports.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) {
607
+ export function __wbg_next_692e82279131b03c() { return handleError(function (arg0) {
606
608
  const ret = getObject(arg0).next();
607
609
  return addHeapObject(ret);
608
610
  }, arguments) };
609
611
 
610
- exports.__wbg_now_1e80617bcee43265 = function() {
612
+ export function __wbg_now_1e80617bcee43265() {
611
613
  const ret = Date.now();
612
614
  return ret;
613
615
  };
614
616
 
615
- exports.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
617
+ export function __wbg_prototypesetcall_3d4a26c1ed734349(arg0, arg1, arg2) {
616
618
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
617
619
  };
618
620
 
619
- exports.__wbg_set_3807d5f0bfc24aa7 = function(arg0, arg1, arg2) {
621
+ export function __wbg_set_3807d5f0bfc24aa7(arg0, arg1, arg2) {
620
622
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
621
623
  };
622
624
 
623
- exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
625
+ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
624
626
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
625
627
  };
626
628
 
627
- exports.__wbg_set_90f6c0f7bd8c0415 = function(arg0, arg1, arg2) {
629
+ export function __wbg_set_90f6c0f7bd8c0415(arg0, arg1, arg2) {
628
630
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
629
631
  };
630
632
 
631
- exports.__wbg_set_b7f1cf4fae26fe2a = function(arg0, arg1, arg2) {
633
+ export function __wbg_set_b7f1cf4fae26fe2a(arg0, arg1, arg2) {
632
634
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
633
635
  return addHeapObject(ret);
634
636
  };
635
637
 
636
- exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
638
+ export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
637
639
  const ret = getObject(arg1).stack;
638
640
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
639
641
  const len1 = WASM_VECTOR_LEN;
@@ -641,30 +643,30 @@ exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
641
643
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
642
644
  };
643
645
 
644
- exports.__wbg_stringify_b98c93d0a190446a = function() { return handleError(function (arg0) {
646
+ export function __wbg_stringify_b98c93d0a190446a() { return handleError(function (arg0) {
645
647
  const ret = JSON.stringify(getObject(arg0));
646
648
  return addHeapObject(ret);
647
649
  }, arguments) };
648
650
 
649
- exports.__wbg_value_dd9372230531eade = function(arg0) {
651
+ export function __wbg_value_dd9372230531eade(arg0) {
650
652
  const ret = getObject(arg0).value;
651
653
  return addHeapObject(ret);
652
654
  };
653
655
 
654
- exports.__wbg_wbindgenbigintgetasi64_ac743ece6ab9bba1 = function(arg0, arg1) {
656
+ export function __wbg_wbindgenbigintgetasi64_ac743ece6ab9bba1(arg0, arg1) {
655
657
  const v = getObject(arg1);
656
658
  const ret = typeof(v) === 'bigint' ? v : undefined;
657
659
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
658
660
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
659
661
  };
660
662
 
661
- exports.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
663
+ export function __wbg_wbindgenbooleanget_3fe6f642c7d97746(arg0) {
662
664
  const v = getObject(arg0);
663
665
  const ret = typeof(v) === 'boolean' ? v : undefined;
664
666
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
665
667
  };
666
668
 
667
- exports.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
669
+ export function __wbg_wbindgendebugstring_99ef257a3ddda34d(arg0, arg1) {
668
670
  const ret = debugString(getObject(arg1));
669
671
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
670
672
  const len1 = WASM_VECTOR_LEN;
@@ -672,55 +674,55 @@ exports.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
672
674
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
673
675
  };
674
676
 
675
- exports.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
677
+ export function __wbg_wbindgenin_d7a1ee10933d2d55(arg0, arg1) {
676
678
  const ret = getObject(arg0) in getObject(arg1);
677
679
  return ret;
678
680
  };
679
681
 
680
- exports.__wbg_wbindgenisbigint_ecb90cc08a5a9154 = function(arg0) {
682
+ export function __wbg_wbindgenisbigint_ecb90cc08a5a9154(arg0) {
681
683
  const ret = typeof(getObject(arg0)) === 'bigint';
682
684
  return ret;
683
685
  };
684
686
 
685
- exports.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
687
+ export function __wbg_wbindgenisfunction_8cee7dce3725ae74(arg0) {
686
688
  const ret = typeof(getObject(arg0)) === 'function';
687
689
  return ret;
688
690
  };
689
691
 
690
- exports.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
692
+ export function __wbg_wbindgenisobject_307a53c6bd97fbf8(arg0) {
691
693
  const val = getObject(arg0);
692
694
  const ret = typeof(val) === 'object' && val !== null;
693
695
  return ret;
694
696
  };
695
697
 
696
- exports.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
698
+ export function __wbg_wbindgenisstring_d4fa939789f003b0(arg0) {
697
699
  const ret = typeof(getObject(arg0)) === 'string';
698
700
  return ret;
699
701
  };
700
702
 
701
- exports.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
703
+ export function __wbg_wbindgenisundefined_c4b71d073b92f3c5(arg0) {
702
704
  const ret = getObject(arg0) === undefined;
703
705
  return ret;
704
706
  };
705
707
 
706
- exports.__wbg_wbindgenjsvaleq_e6f2ad59ccae1b58 = function(arg0, arg1) {
708
+ export function __wbg_wbindgenjsvaleq_e6f2ad59ccae1b58(arg0, arg1) {
707
709
  const ret = getObject(arg0) === getObject(arg1);
708
710
  return ret;
709
711
  };
710
712
 
711
- exports.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
713
+ export function __wbg_wbindgenjsvallooseeq_9bec8c9be826bed1(arg0, arg1) {
712
714
  const ret = getObject(arg0) == getObject(arg1);
713
715
  return ret;
714
716
  };
715
717
 
716
- exports.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
718
+ export function __wbg_wbindgennumberget_f74b4c7525ac05cb(arg0, arg1) {
717
719
  const obj = getObject(arg1);
718
720
  const ret = typeof(obj) === 'number' ? obj : undefined;
719
721
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
720
722
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
721
723
  };
722
724
 
723
- exports.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
725
+ export function __wbg_wbindgenstringget_0f16a6ddddef376f(arg0, arg1) {
724
726
  const obj = getObject(arg1);
725
727
  const ret = typeof(obj) === 'string' ? obj : undefined;
726
728
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
@@ -729,47 +731,40 @@ exports.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
729
731
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
730
732
  };
731
733
 
732
- exports.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
734
+ export function __wbg_wbindgenthrow_451ec1a8469d7eb6(arg0, arg1) {
733
735
  throw new Error(getStringFromWasm0(arg0, arg1));
734
736
  };
735
737
 
736
- exports.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
738
+ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
737
739
  // Cast intrinsic for `Ref(String) -> Externref`.
738
740
  const ret = getStringFromWasm0(arg0, arg1);
739
741
  return addHeapObject(ret);
740
742
  };
741
743
 
742
- exports.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
744
+ export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
743
745
  // Cast intrinsic for `U64 -> Externref`.
744
746
  const ret = BigInt.asUintN(64, arg0);
745
747
  return addHeapObject(ret);
746
748
  };
747
749
 
748
- exports.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
750
+ export function __wbindgen_cast_9ae0607507abb057(arg0) {
749
751
  // Cast intrinsic for `I64 -> Externref`.
750
752
  const ret = arg0;
751
753
  return addHeapObject(ret);
752
754
  };
753
755
 
754
- exports.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
756
+ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
755
757
  // Cast intrinsic for `F64 -> Externref`.
756
758
  const ret = arg0;
757
759
  return addHeapObject(ret);
758
760
  };
759
761
 
760
- exports.__wbindgen_object_clone_ref = function(arg0) {
762
+ export function __wbindgen_object_clone_ref(arg0) {
761
763
  const ret = getObject(arg0);
762
764
  return addHeapObject(ret);
763
765
  };
764
766
 
765
- exports.__wbindgen_object_drop_ref = function(arg0) {
767
+ export function __wbindgen_object_drop_ref(arg0) {
766
768
  takeObject(arg0);
767
769
  };
768
770
 
769
- const wasmPath = `${__dirname}/wasm_bg.wasm`;
770
- const wasmBytes = require('fs').readFileSync(wasmPath);
771
- const wasmModule = new WebAssembly.Module(wasmBytes);
772
- const wasm = exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports;
773
-
774
- wasm.__wbindgen_start();
775
-
Binary file
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export const memory: WebAssembly.Memory;
4
+ export const __wbg_quillmark_free: (a: number, b: number) => void;
5
+ export const quillmark_new: () => number;
6
+ export const quillmark_parseMarkdown: (a: number, b: number, c: number) => void;
7
+ export const quillmark_registerQuill: (a: number, b: number, c: number) => void;
8
+ export const quillmark_getQuillInfo: (a: number, b: number, c: number, d: number) => void;
9
+ export const quillmark_processPlate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10
+ export const quillmark_dryRun: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
11
+ export const quillmark_render: (a: number, b: number, c: number, d: number) => void;
12
+ export const quillmark_listQuills: (a: number, b: number) => void;
13
+ export const quillmark_unregisterQuill: (a: number, b: number, c: number) => void;
14
+ export const init: () => void;
15
+ export const qcms_profile_is_bogus: (a: number) => number;
16
+ export const qcms_white_point_sRGB: (a: number) => void;
17
+ export const qcms_profile_precache_output_transform: (a: number) => void;
18
+ export const qcms_transform_data_rgb_out_lut_precache: (a: number, b: number, c: number, d: number) => void;
19
+ export const qcms_transform_data_rgba_out_lut_precache: (a: number, b: number, c: number, d: number) => void;
20
+ export const qcms_transform_data_bgra_out_lut_precache: (a: number, b: number, c: number, d: number) => void;
21
+ export const qcms_transform_data_rgb_out_lut: (a: number, b: number, c: number, d: number) => void;
22
+ export const qcms_transform_data_rgba_out_lut: (a: number, b: number, c: number, d: number) => void;
23
+ export const qcms_transform_data_bgra_out_lut: (a: number, b: number, c: number, d: number) => void;
24
+ export const qcms_transform_release: (a: number) => void;
25
+ export const qcms_enable_iccv4: () => void;
26
+ export const lut_interp_linear16: (a: number, b: number, c: number) => number;
27
+ export const lut_inverse_interp16: (a: number, b: number, c: number) => number;
28
+ export const __wbindgen_export_0: (a: number, b: number) => number;
29
+ export const __wbindgen_export_1: (a: number, b: number, c: number, d: number) => number;
30
+ export const __wbindgen_export_2: (a: number) => void;
31
+ export const __wbindgen_export_3: (a: number, b: number, c: number) => void;
32
+ export const __wbindgen_add_to_stack_pointer: (a: number) => number;
33
+ export const __wbindgen_start: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillmark/wasm",
3
- "version": "0.14.0",
3
+ "version": "0.15.1",
4
4
  "description": "WebAssembly bindings for quillmark",
5
5
  "type": "module",
6
6
  "license": "MIT OR Apache-2.0",
@@ -14,17 +14,19 @@
14
14
  "bundler/wasm_bg.wasm.d.ts",
15
15
  "bundler/wasm.js",
16
16
  "bundler/wasm.d.ts",
17
- "nodejs/wasm_bg.wasm",
18
- "nodejs/wasm.js",
19
- "nodejs/wasm.d.ts"
17
+ "node-esm/wasm_bg.wasm",
18
+ "node-esm/wasm_bg.js",
19
+ "node-esm/wasm_bg.wasm.d.ts",
20
+ "node-esm/wasm.js",
21
+ "node-esm/wasm.d.ts"
20
22
  ],
21
- "main": "./nodejs/wasm.js",
23
+ "main": "./node-esm/wasm.js",
22
24
  "module": "./bundler/wasm.js",
23
25
  "types": "./bundler/wasm.d.ts",
24
26
  "exports": {
25
27
  ".": {
26
28
  "types": "./bundler/wasm.d.ts",
27
- "node": "./nodejs/wasm.js",
29
+ "node": "./node-esm/wasm.js",
28
30
  "import": "./bundler/wasm.js",
29
31
  "default": "./bundler/wasm.js"
30
32
  }
File without changes