narrat 2.2.5 → 2.2.8

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.
@@ -307,7 +307,8 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
307
307
  runLineOnly(): Promise<any>;
308
308
  runLabelFunction(label: string, ...args: any[]): Promise<any>;
309
309
  runCustomFrame(stack: import("./vm-store").AddFrameOptions): void;
310
- runLabel(label: string, ...args: any[]): void;
310
+ jumpToLabel(label: string, ...args: any[]): void;
311
+ runThenGoBackToPreviousDialog(label: string, ...args: any[]): Promise<any>;
311
312
  }>;
312
313
  hud: import("pinia").Store<"hud", import("./hud-stats-store").HudState, {}, {
313
314
  setupHudStats(stats: {
@@ -173,5 +173,6 @@ export declare const useVM: import("pinia").StoreDefinition<"vm", VMState, {
173
173
  runLineOnly(): Promise<any>;
174
174
  runLabelFunction(label: string, ...args: any[]): Promise<any>;
175
175
  runCustomFrame(stack: AddFrameOptions): void;
176
- runLabel(label: string, ...args: any[]): void;
176
+ jumpToLabel(label: string, ...args: any[]): void;
177
+ runThenGoBackToPreviousDialog(label: string, ...args: any[]): Promise<any>;
177
178
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narrat",
3
- "version": "2.2.5",
3
+ "version": "2.2.8",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",