@dsebastien/music-notation 0.19.0 → 0.19.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.
@@ -9,7 +9,7 @@ import type * as AT from '@coderline/alphatab';
9
9
  import type { NotePlayer } from '../playback/player.js';
10
10
  export type AlphaTabModule = typeof AT;
11
11
  /** The alphaTab release these blocks are made for (Publish loads it from jsDelivr). */
12
- export declare const ALPHATAB_VERSION = "1.8.4";
12
+ export declare const ALPHATAB_VERSION = "1.9.0";
13
13
  /** jsDelivr URLs of alphaTab's script, music font and soundfont, for web pages. */
14
14
  export declare const alphaTabCdn: (version?: string) => {
15
15
  script: string;
package/dist/tab/index.js CHANGED
@@ -2000,7 +2000,7 @@ function chordSheetToChordPro(text) {
2000
2000
  }
2001
2001
 
2002
2002
  // src/tab/index.ts
2003
- var ALPHATAB_VERSION = "1.8.4";
2003
+ var ALPHATAB_VERSION = "1.9.0";
2004
2004
  var alphaTabCdn = (version = ALPHATAB_VERSION) => {
2005
2005
  const base = `https://cdn.jsdelivr.net/npm/@coderline/alphatab@${version}/dist`;
2006
2006
  return {
@@ -2366,7 +2366,8 @@ function renderTab(language, source, host, options) {
2366
2366
  },
2367
2367
  player: {
2368
2368
  playerMode: at.PlayerMode.Disabled,
2369
- enableUserInteraction: true,
2369
+ enableSeekToClick: true,
2370
+ enablePlaybackRangeSelection: true,
2370
2371
  scrollMode: at.ScrollMode.Off
2371
2372
  }
2372
2373
  };
@@ -2426,7 +2427,7 @@ function renderTab(language, source, host, options) {
2426
2427
  try {
2427
2428
  bytes = options.resolveFile ? await options.resolveFile(parsed.file) : null;
2428
2429
  } catch (e) {
2429
- throw new Error(`Couldn't read "${parsed.file}": ${e instanceof Error ? e.message : String(e)}`);
2430
+ throw new Error(`Couldn't read "${parsed.file}": ${e instanceof Error ? e.message : String(e)}`, { cause: e });
2430
2431
  }
2431
2432
  if (gone)
2432
2433
  return;
@@ -2637,5 +2638,5 @@ export {
2637
2638
  textTabToAlphaTex
2638
2639
  };
2639
2640
 
2640
- //# debugId=82D97D2BA239548B64756E2164756E21
2641
+ //# debugId=0EBAB5FCB977CF5664756E2164756E21
2641
2642
  //# sourceMappingURL=index.js.map