narrat 2.13.0 → 2.13.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.
@@ -40,6 +40,7 @@ export declare const useAudio: import("pinia").StoreDefinition<"audio", AudioSta
40
40
  stopChannel(mode: AudioModeKey, channelIndex: number): Promise<void>;
41
41
  pauseChannel(mode: AudioModeKey, channelIndex: number): Promise<void>;
42
42
  playChannel(mode: AudioModeKey, audio: string, channelIndex: number): Promise<void>;
43
+ resumeChannel(mode: AudioModeKey, channelIndex: number): Promise<void>;
43
44
  changeChannel(mode: AudioModeKey, audio: string, channelIndex: number): Promise<void>;
44
45
  actuallyStopChannel(channel: AudioChannel): void;
45
46
  getAudioChannel(mode: AudioModeKey, channelIndex: number): AudioChannel | null;
@@ -1675,6 +1675,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
1675
1675
  stopChannel(mode: "sound" | "music" | "ambiant", channelIndex: number): Promise<void>;
1676
1676
  pauseChannel(mode: "sound" | "music" | "ambiant", channelIndex: number): Promise<void>;
1677
1677
  playChannel(mode: "sound" | "music" | "ambiant", audio: string, channelIndex: number): Promise<void>;
1678
+ resumeChannel(mode: "sound" | "music" | "ambiant", channelIndex: number): Promise<void>;
1678
1679
  changeChannel(mode: "sound" | "music" | "ambiant", audio: string, channelIndex: number): Promise<void>;
1679
1680
  actuallyStopChannel(channel: import("./audio-store").AudioChannel): void;
1680
1681
  getAudioChannel(mode: "sound" | "music" | "ambiant", channelIndex: number): import("./audio-store").AudioChannel | null;
@@ -5,6 +5,10 @@ export interface PlayCommandArgs {
5
5
  channel?: number;
6
6
  }
7
7
  export declare const playCommand: CommandPlugin<PlayCommandArgs, {}>;
8
+ export declare const resumeCommand: CommandPlugin<{
9
+ mode: string;
10
+ channel?: number | undefined;
11
+ }, {}>;
8
12
  export declare const pauseCommand: CommandPlugin<{
9
13
  mode: string;
10
14
  channel?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narrat",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",