@scalable-vector-audio/sva-wasm 0.7.15 → 0.7.16

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@scalable-vector-audio/sva-wasm",
3
3
  "type": "module",
4
4
  "description": "JS bindings: a composition a page fills node by node, rendered in the browser",
5
- "version": "0.7.15",
5
+ "version": "0.7.16",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
package/sva_wasm.d.ts CHANGED
@@ -4,7 +4,6 @@
4
4
  export class Composition {
5
5
  free(): void;
6
6
  [Symbol.dispose](): void;
7
- clear_cache(): void;
8
7
  /**
9
8
  * Memory's disk traffic since it opened.
10
9
  */
@@ -20,19 +19,13 @@ export class Composition {
20
19
  * The only commit to the directory `open` was handed.
21
20
  */
22
21
  persist(): Promise<number>;
23
- /**
24
- * `"oldest"` evicts what the latest render neither stored nor read, `"forks"` every value
25
- * fewer than two nodes read.
26
- */
27
- prune(policy: string): void;
28
22
  /**
29
23
  * `target` as `sva-cli render` takes it, `@piano([0, 2b], f0=C4)`; `representations`
30
24
  * what `representations()` answers, each a call as `--representation` writes it.
31
- * `options`: `rate`, `bits`, `flop_budget`, `until`, `volatile`, and `out: null`, which
32
- * hands back no samples and reads only `representations`, `samples` otherwise.
25
+ * `options`: `rate`, `bits`, `flop_budget`, `until`, `volatile`, `out: null` (no samples),
26
+ * and `signal`: aborted, it throws an `AbortError` before its next block.
33
27
  */
34
28
  render(target: string, representations: string[] | null | undefined, options: any): Promise<Rendering>;
35
- set_cache_policy(policy: string): void;
36
29
  /**
37
30
  * `target` block by block. `options`: `rate`, `bits`, `until`, `live`, `channels`.
38
31
  */
@@ -41,7 +34,6 @@ export class Composition {
41
34
  readonly cache_entries: number;
42
35
  readonly cache_evictions: number;
43
36
  cache_max_bytes: number;
44
- readonly cache_policy: string;
45
37
  }
46
38
 
47
39
  export class Rendering {
@@ -62,8 +54,6 @@ export class Rendering {
62
54
  readonly channels: number;
63
55
  readonly duration_secs: number;
64
56
  readonly sample_rate: number;
65
- readonly start_secs: number;
66
- readonly target: string;
67
57
  }
68
58
 
69
59
  /**
@@ -125,13 +115,6 @@ export class Stream {
125
115
  readonly sample_rate: number;
126
116
  }
127
117
 
128
- export function builtins(): any;
129
-
130
- /**
131
- * `sva-cli outline`'s `data`.
132
- */
133
- export function outline(text: string): any;
134
-
135
118
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
136
119
 
137
120
  export interface InitOutput {
@@ -139,32 +122,24 @@ export interface InitOutput {
139
122
  readonly __wbg_composition_free: (a: number, b: number) => void;
140
123
  readonly __wbg_rendering_free: (a: number, b: number) => void;
141
124
  readonly __wbg_stream_free: (a: number, b: number) => void;
142
- readonly builtins: () => [number, number, number];
143
125
  readonly composition_cache_bytes: (a: number) => number;
144
126
  readonly composition_cache_entries: (a: number) => number;
145
127
  readonly composition_cache_evictions: (a: number) => number;
146
128
  readonly composition_cache_max_bytes: (a: number) => number;
147
- readonly composition_cache_policy: (a: number) => [number, number];
148
- readonly composition_clear_cache: (a: number) => void;
149
129
  readonly composition_counters: (a: number) => [number, number, number];
150
130
  readonly composition_insert: (a: number, b: number, c: number, d: number, e: number) => void;
151
131
  readonly composition_new: (a: number, b: number) => number;
152
132
  readonly composition_open: (a: number, b: number, c: number) => any;
153
133
  readonly composition_persist: (a: number) => any;
154
- readonly composition_prune: (a: number, b: number, c: number) => [number, number];
155
134
  readonly composition_render: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
156
135
  readonly composition_set_cache_max_bytes: (a: number, b: number) => void;
157
- readonly composition_set_cache_policy: (a: number, b: number, c: number) => [number, number];
158
136
  readonly composition_stream: (a: number, b: number, c: number, d: number, e: any) => any;
159
- readonly outline: (a: number, b: number) => [number, number, number];
160
137
  readonly rendering_channels: (a: number) => number;
161
138
  readonly rendering_duration_secs: (a: number) => number;
162
139
  readonly rendering_representations: (a: number) => [number, number, number];
163
140
  readonly rendering_sample_rate: (a: number) => number;
164
141
  readonly rendering_samples: (a: number, b: number) => [number, number, number, number];
165
- readonly rendering_start_secs: (a: number) => number;
166
142
  readonly rendering_stats: (a: number) => [number, number, number];
167
- readonly rendering_target: (a: number) => [number, number];
168
143
  readonly rendering_work: (a: number) => [number, number, number];
169
144
  readonly stream_add: (a: number, b: number, c: number, d: number) => any;
170
145
  readonly stream_block: (a: number) => number;
@@ -184,7 +159,8 @@ export interface InitOutput {
184
159
  readonly stream_work: (a: number) => [number, number, number];
185
160
  readonly wasm_bindgen__convert__closures_____invoke__h76bd71bceeca2b95: (a: number, b: number, c: any, d: any) => void;
186
161
  readonly wasm_bindgen__convert__closures_____invoke__hd55bb211d6a08150: (a: number, b: number, c: any) => [number, number];
187
- readonly wasm_bindgen__convert__closures_____invoke__hae1c90f0165579bf: (a: number, b: number) => any;
162
+ readonly wasm_bindgen__convert__closures_____invoke__hf468bf438a0f1929: (a: number, b: number) => any;
163
+ readonly wasm_bindgen__convert__closures_____invoke__h75ac857a17ed6c46: (a: number, b: number) => void;
188
164
  readonly __wbindgen_malloc: (a: number, b: number) => number;
189
165
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
190
166
  readonly __wbindgen_exn_store: (a: number) => void;
package/sva_wasm.js CHANGED
@@ -45,24 +45,6 @@ export class Composition {
45
45
  const ret = wasm.composition_cache_max_bytes(this.__wbg_ptr);
46
46
  return ret;
47
47
  }
48
- /**
49
- * @returns {string}
50
- */
51
- get cache_policy() {
52
- let deferred1_0;
53
- let deferred1_1;
54
- try {
55
- const ret = wasm.composition_cache_policy(this.__wbg_ptr);
56
- deferred1_0 = ret[0];
57
- deferred1_1 = ret[1];
58
- return getStringFromWasm0(ret[0], ret[1]);
59
- } finally {
60
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
61
- }
62
- }
63
- clear_cache() {
64
- wasm.composition_clear_cache(this.__wbg_ptr);
65
- }
66
48
  /**
67
49
  * Memory's disk traffic since it opened.
68
50
  * @returns {any}
@@ -117,24 +99,11 @@ export class Composition {
117
99
  const ret = wasm.composition_persist(this.__wbg_ptr);
118
100
  return ret;
119
101
  }
120
- /**
121
- * `"oldest"` evicts what the latest render neither stored nor read, `"forks"` every value
122
- * fewer than two nodes read.
123
- * @param {string} policy
124
- */
125
- prune(policy) {
126
- const ptr0 = passStringToWasm0(policy, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
127
- const len0 = WASM_VECTOR_LEN;
128
- const ret = wasm.composition_prune(this.__wbg_ptr, ptr0, len0);
129
- if (ret[1]) {
130
- throw takeFromExternrefTable0(ret[0]);
131
- }
132
- }
133
102
  /**
134
103
  * `target` as `sva-cli render` takes it, `@piano([0, 2b], f0=C4)`; `representations`
135
104
  * what `representations()` answers, each a call as `--representation` writes it.
136
- * `options`: `rate`, `bits`, `flop_budget`, `until`, `volatile`, and `out: null`, which
137
- * hands back no samples and reads only `representations`, `samples` otherwise.
105
+ * `options`: `rate`, `bits`, `flop_budget`, `until`, `volatile`, `out: null` (no samples),
106
+ * and `signal`: aborted, it throws an `AbortError` before its next block.
138
107
  * @param {string} target
139
108
  * @param {string[] | null | undefined} representations
140
109
  * @param {any} options
@@ -154,17 +123,6 @@ export class Composition {
154
123
  set cache_max_bytes(max_bytes) {
155
124
  wasm.composition_set_cache_max_bytes(this.__wbg_ptr, max_bytes);
156
125
  }
157
- /**
158
- * @param {string} policy
159
- */
160
- set_cache_policy(policy) {
161
- const ptr0 = passStringToWasm0(policy, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
162
- const len0 = WASM_VECTOR_LEN;
163
- const ret = wasm.composition_set_cache_policy(this.__wbg_ptr, ptr0, len0);
164
- if (ret[1]) {
165
- throw takeFromExternrefTable0(ret[0]);
166
- }
167
- }
168
126
  /**
169
127
  * `target` block by block. `options`: `rate`, `bits`, `until`, `live`, `channels`.
170
128
  * @param {string} target
@@ -244,13 +202,6 @@ export class Rendering {
244
202
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
245
203
  return v1;
246
204
  }
247
- /**
248
- * @returns {number}
249
- */
250
- get start_secs() {
251
- const ret = wasm.rendering_start_secs(this.__wbg_ptr);
252
- return ret;
253
- }
254
205
  /**
255
206
  * Every lookup this render made of memory, and what each came to.
256
207
  * @returns {any}
@@ -262,21 +213,6 @@ export class Rendering {
262
213
  }
263
214
  return takeFromExternrefTable0(ret[0]);
264
215
  }
265
- /**
266
- * @returns {string}
267
- */
268
- get target() {
269
- let deferred1_0;
270
- let deferred1_1;
271
- try {
272
- const ret = wasm.rendering_target(this.__wbg_ptr);
273
- deferred1_0 = ret[0];
274
- deferred1_1 = ret[1];
275
- return getStringFromWasm0(ret[0], ret[1]);
276
- } finally {
277
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
278
- }
279
- }
280
216
  /**
281
217
  * @returns {any}
282
218
  */
@@ -470,32 +406,6 @@ export class Stream {
470
406
  }
471
407
  }
472
408
  if (Symbol.dispose) Stream.prototype[Symbol.dispose] = Stream.prototype.free;
473
-
474
- /**
475
- * @returns {any}
476
- */
477
- export function builtins() {
478
- const ret = wasm.builtins();
479
- if (ret[2]) {
480
- throw takeFromExternrefTable0(ret[1]);
481
- }
482
- return takeFromExternrefTable0(ret[0]);
483
- }
484
-
485
- /**
486
- * `sva-cli outline`'s `data`.
487
- * @param {string} text
488
- * @returns {any}
489
- */
490
- export function outline(text) {
491
- const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
492
- const len0 = WASM_VECTOR_LEN;
493
- const ret = wasm.outline(ptr0, len0);
494
- if (ret[2]) {
495
- throw takeFromExternrefTable0(ret[1]);
496
- }
497
- return takeFromExternrefTable0(ret[0]);
498
- }
499
409
  function __wbg_get_imports() {
500
410
  const import0 = {
501
411
  __proto__: null,
@@ -547,7 +457,7 @@ function __wbg_get_imports() {
547
457
  __wbg__wbg_cb_unref_997e73d32238e655: function(arg0) {
548
458
  arg0._wbg_cb_unref();
549
459
  },
550
- __wbg_arrayBuffer_dddd78d3f125636c: function(arg0) {
460
+ __wbg_arrayBuffer_509c56b9ff8a155c: function(arg0) {
551
461
  const ret = arg0.arrayBuffer();
552
462
  return ret;
553
463
  },
@@ -559,7 +469,10 @@ function __wbg_get_imports() {
559
469
  const ret = arg0.call(arg1, arg2);
560
470
  return ret;
561
471
  }, arguments); },
562
- __wbg_close_c8cdf14135ecbe64: function(arg0) {
472
+ __wbg_close_61be296128643ca2: function(arg0) {
473
+ arg0.close();
474
+ },
475
+ __wbg_close_77c8d3b9888d26e2: function(arg0) {
563
476
  const ret = arg0.close();
564
477
  return ret;
565
478
  },
@@ -567,7 +480,7 @@ function __wbg_get_imports() {
567
480
  const ret = Composition.__wrap(arg0);
568
481
  return ret;
569
482
  },
570
- __wbg_createWritable_886c06fdcd86bba8: function(arg0) {
483
+ __wbg_createWritable_a3e515741a8d3ade: function(arg0) {
571
484
  const ret = arg0.createWritable();
572
485
  return ret;
573
486
  },
@@ -579,15 +492,15 @@ function __wbg_get_imports() {
579
492
  const ret = Array.from(arg0);
580
493
  return ret;
581
494
  },
582
- __wbg_getDirectoryHandle_4ef581ef00dfe9b0: function(arg0, arg1, arg2, arg3) {
495
+ __wbg_getDirectoryHandle_d8e55757259b042f: function(arg0, arg1, arg2, arg3) {
583
496
  const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3);
584
497
  return ret;
585
498
  },
586
- __wbg_getFileHandle_ee2d0c3394c47309: function(arg0, arg1, arg2, arg3) {
499
+ __wbg_getFileHandle_b86fd324ae040b87: function(arg0, arg1, arg2, arg3) {
587
500
  const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
588
501
  return ret;
589
502
  },
590
- __wbg_getFile_0e64311cc4eea97c: function(arg0) {
503
+ __wbg_getFile_f8872a0b81ea1b62: function(arg0) {
591
504
  const ret = arg0.getFile();
592
505
  return ret;
593
506
  },
@@ -603,6 +516,10 @@ function __wbg_get_imports() {
603
516
  const ret = arg0[arg1 >>> 0];
604
517
  return ret;
605
518
  },
519
+ __wbg_has_464f8b9416279d65: function() { return handleError(function (arg0, arg1) {
520
+ const ret = Reflect.has(arg0, arg1);
521
+ return ret;
522
+ }, arguments); },
606
523
  __wbg_instanceof_Object_87732cb922ac2e2c: function(arg0) {
607
524
  let result;
608
525
  try {
@@ -617,7 +534,7 @@ function __wbg_get_imports() {
617
534
  const ret = Array.isArray(arg0);
618
535
  return ret;
619
536
  },
620
- __wbg_keys_efed97ec9bd22abf: function(arg0) {
537
+ __wbg_keys_8f593ff3d327d6d2: function(arg0) {
621
538
  const ret = arg0.keys();
622
539
  return ret;
623
540
  },
@@ -633,11 +550,11 @@ function __wbg_get_imports() {
633
550
  const ret = arg0.length;
634
551
  return ret;
635
552
  },
636
- __wbg_move_7056e5157c8167dd: function(arg0, arg1, arg2, arg3) {
553
+ __wbg_move_c4278beba5ef0e9a: function(arg0, arg1, arg2, arg3) {
637
554
  const ret = arg0.move(arg1, getStringFromWasm0(arg2, arg3));
638
555
  return ret;
639
556
  },
640
- __wbg_name_1779f66ba00d323c: function(arg0, arg1) {
557
+ __wbg_name_43bf6d44db6a5d37: function(arg0, arg1) {
641
558
  const ret = arg1.name;
642
559
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
643
560
  const len1 = WASM_VECTOR_LEN;
@@ -648,6 +565,10 @@ function __wbg_get_imports() {
648
565
  const ret = new Uint8Array(arg0);
649
566
  return ret;
650
567
  },
568
+ __wbg_new_6db8ea94d4c5e1ff: function() {
569
+ const ret = new MessageChannel();
570
+ return ret;
571
+ },
651
572
  __wbg_new_8f72ed7c652bf5a2: function(arg0, arg1) {
652
573
  try {
653
574
  var state0 = {a: arg0, b: arg1};
@@ -670,7 +591,7 @@ function __wbg_get_imports() {
670
591
  const ret = new Object();
671
592
  return ret;
672
593
  },
673
- __wbg_new_cae168624bd9863d: function(arg0, arg1) {
594
+ __wbg_new_d6454ec7dcb41e08: function(arg0, arg1) {
674
595
  const ret = new Error(getStringFromWasm0(arg0, arg1));
675
596
  return ret;
676
597
  },
@@ -696,18 +617,29 @@ function __wbg_get_imports() {
696
617
  state0.a = 0;
697
618
  }
698
619
  },
699
- __wbg_next_0a30e1b8b7de73fe: function(arg0) {
620
+ __wbg_next_c29af389d8b1a3c8: function(arg0) {
700
621
  const ret = arg0.next();
701
622
  return ret;
702
623
  },
703
- __wbg_parse_33fb6a2719d03d8c: function() { return handleError(function (arg0, arg1) {
624
+ __wbg_parse_e056ac5cf831e345: function() { return handleError(function (arg0, arg1) {
704
625
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
705
626
  return ret;
706
627
  }, arguments); },
628
+ __wbg_port1_4a8839e65f328988: function(arg0) {
629
+ const ret = arg0.port1;
630
+ return ret;
631
+ },
632
+ __wbg_port2_a3bf853f88abbd9c: function(arg0) {
633
+ const ret = arg0.port2;
634
+ return ret;
635
+ },
636
+ __wbg_postMessage_251760207938c9a3: function(arg0, arg1) {
637
+ arg0.postMessage(arg1);
638
+ },
707
639
  __wbg_prototypesetcall_ae9f5e7459250748: function(arg0, arg1, arg2) {
708
640
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
709
641
  },
710
- __wbg_query_6e56c4da766b00be: function(arg0) {
642
+ __wbg_query_9eb4ed0aded4501a: function(arg0) {
711
643
  const ret = arg0.query();
712
644
  return ret;
713
645
  },
@@ -722,11 +654,11 @@ function __wbg_get_imports() {
722
654
  const ret = Math.random();
723
655
  return ret;
724
656
  },
725
- __wbg_removeEntry_07615b2e3b9eb4a2: function(arg0, arg1, arg2, arg3) {
657
+ __wbg_removeEntry_67cd924089668515: function(arg0, arg1, arg2, arg3) {
726
658
  const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2), arg3);
727
659
  return ret;
728
660
  },
729
- __wbg_removeEntry_5cbb5ebc99342f15: function(arg0, arg1, arg2) {
661
+ __wbg_removeEntry_8018307f9a005fcf: function(arg0, arg1, arg2) {
730
662
  const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2));
731
663
  return ret;
732
664
  },
@@ -734,7 +666,7 @@ function __wbg_get_imports() {
734
666
  const ret = Rendering.__wrap(arg0);
735
667
  return ret;
736
668
  },
737
- __wbg_request_409737bb63baedc3: function(arg0, arg1, arg2, arg3) {
669
+ __wbg_request_c00f4c10ecc47588: function(arg0, arg1, arg2, arg3) {
738
670
  const ret = arg0.request(getStringFromWasm0(arg1, arg2), arg3);
739
671
  return ret;
740
672
  },
@@ -749,17 +681,20 @@ function __wbg_get_imports() {
749
681
  __wbg_set_c41f8dbc07a2190f: function(arg0, arg1, arg2) {
750
682
  arg0.set(getArrayF32FromWasm0(arg1, arg2));
751
683
  },
752
- __wbg_set_name_7443d8ccc62a9b4e: function(arg0, arg1, arg2) {
684
+ __wbg_set_name_581ee5d586957164: function(arg0, arg1, arg2) {
753
685
  arg0.name = getStringFromWasm0(arg1, arg2);
754
686
  },
755
- __wbg_set_refusal_93f6111b01c170fb: function(arg0, arg1) {
687
+ __wbg_set_onmessage_36383483010deea7: function(arg0, arg1) {
688
+ arg0.onmessage = arg1;
689
+ },
690
+ __wbg_set_refusal_d465032fd6f1ea8c: function(arg0, arg1) {
756
691
  arg0.refusal = arg1;
757
692
  },
758
- __wbg_size_9c4a8a94d2d167b4: function(arg0) {
693
+ __wbg_size_1ca8089cbf774931: function(arg0) {
759
694
  const ret = arg0.size;
760
695
  return ret;
761
696
  },
762
- __wbg_slice_9b131d4be34656eb: function(arg0, arg1, arg2) {
697
+ __wbg_slice_741d470cf34398d9: function(arg0, arg1, arg2) {
763
698
  const ret = arg0.slice(arg1, arg2);
764
699
  return ret;
765
700
  },
@@ -795,29 +730,34 @@ function __wbg_get_imports() {
795
730
  const ret = arg0.then(arg1);
796
731
  return ret;
797
732
  },
798
- __wbg_warn_41eafed86f74d24a: function(arg0, arg1) {
733
+ __wbg_warn_63c0ccb5f58dc9f4: function(arg0, arg1) {
799
734
  console.warn(getStringFromWasm0(arg0, arg1));
800
735
  },
801
- __wbg_write_452f5e0cbe89aca1: function(arg0, arg1) {
736
+ __wbg_write_cccf13ffe8df6b5e: function(arg0, arg1) {
802
737
  const ret = arg0.write(arg1);
803
738
  return ret;
804
739
  },
805
740
  __wbindgen_generic_0000000000000001: function(arg0, arg1) {
806
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 545, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
741
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 743, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
807
742
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hd55bb211d6a08150);
808
743
  return ret;
809
744
  },
810
745
  __wbindgen_generic_0000000000000002: function(arg0, arg1) {
811
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 92, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: true }) -> Externref`.
812
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hae1c90f0165579bf);
746
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 101, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: true }) -> Externref`.
747
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hf468bf438a0f1929);
748
+ return ret;
749
+ },
750
+ __wbindgen_generic_0000000000000003: function(arg0, arg1) {
751
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 103, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
752
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h75ac857a17ed6c46);
813
753
  return ret;
814
754
  },
815
- __wbindgen_generic_0000000000000003: function(arg0) {
755
+ __wbindgen_generic_0000000000000004: function(arg0) {
816
756
  // Cast intrinsic for `F64 -> Externref`.
817
757
  const ret = arg0;
818
758
  return ret;
819
759
  },
820
- __wbindgen_generic_0000000000000004: function(arg0, arg1) {
760
+ __wbindgen_generic_0000000000000005: function(arg0, arg1) {
821
761
  // Cast intrinsic for `Ref(String) -> Externref`.
822
762
  const ret = getStringFromWasm0(arg0, arg1);
823
763
  return ret;
@@ -838,8 +778,12 @@ function __wbg_get_imports() {
838
778
  };
839
779
  }
840
780
 
841
- function wasm_bindgen__convert__closures_____invoke__hae1c90f0165579bf(arg0, arg1) {
842
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__hae1c90f0165579bf(arg0, arg1);
781
+ function wasm_bindgen__convert__closures_____invoke__h75ac857a17ed6c46(arg0, arg1) {
782
+ wasm.wasm_bindgen__convert__closures_____invoke__h75ac857a17ed6c46(arg0, arg1);
783
+ }
784
+
785
+ function wasm_bindgen__convert__closures_____invoke__hf468bf438a0f1929(arg0, arg1) {
786
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__hf468bf438a0f1929(arg0, arg1);
843
787
  return ret;
844
788
  }
845
789
 
package/sva_wasm_bg.wasm CHANGED
Binary file