@readium/speech 0.12.0 → 0.14.0

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.
@@ -43,6 +43,7 @@ export declare class SpeechServerEngine implements ReadiumSpeechPlaybackEngine {
43
43
  private liveControllers;
44
44
  private isSpeakingInternal;
45
45
  private restartPending;
46
+ private restartOnResume;
46
47
  private audioContext;
47
48
  private masterGain;
48
49
  private scheduledChunks;
@@ -26,6 +26,7 @@ export declare class WebSpeechEngine implements ReadiumSpeechPlaybackEngine {
26
26
  private initialized;
27
27
  private maxLengthExceeded;
28
28
  private utterancesBeingCancelled;
29
+ private lacksNativePauseEvents;
29
30
  private rate;
30
31
  private pitch;
31
32
  private volume;
@@ -1,6 +1,7 @@
1
1
  import { Locator } from '@readium/shared';
2
2
  import { DomRangeJSON } from '@readium/guided-navigation';
3
3
  export interface LocatorOptions {
4
+ href?: string;
4
5
  text?: {
5
6
  highlight?: string;
6
7
  before?: string;
package/build/index.d.ts CHANGED
@@ -6,6 +6,8 @@ export * from './decorator/index.js';
6
6
  export { Locator, LocatorLocations, LocatorText } from '@readium/shared';
7
7
  export { chineseVariantMap } from './voices/languages.js';
8
8
  export * from './voices/types.js';
9
+ export * from './voices/filters.js';
10
+ export * from './voices/sorting.js';
9
11
  export * from './engine.js';
10
12
  export * from './navigator.js';
11
13
  export * from './provider.js';