narrat 2.2.9 → 2.2.10

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.
@@ -60,6 +60,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
60
60
  setOptions(options: AppOptions): void;
61
61
  startPlaying(): void;
62
62
  reset(): void;
63
+ resetAllStores(): void;
63
64
  generateSaveData(): MainSaveData;
64
65
  loadSaveData(data: MainSaveData): void;
65
66
  saveGame(): void;
@@ -15,3 +15,4 @@ export declare const returnPlugin: CommandPlugin<{
15
15
  export declare const logPlugin: CommandPlugin<{
16
16
  value: any;
17
17
  }, {}>;
18
+ export declare const returnMainMenuPlugin: CommandPlugin<{}, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narrat",
3
- "version": "2.2.9",
3
+ "version": "2.2.10",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",
@@ -23,6 +23,8 @@
23
23
  "empty": "cross-env VITE_EXAMPLE=examples/empty npx vite dev",
24
24
  "test-game": "cross-env VITE_EXAMPLE=examples/test npx vite dev",
25
25
  "build-rpg": "cross-env VITE_DEMO_BUILD=rpg npx vite build && shx cp -r examples/rpg/* built-example/rpg",
26
+ "demo": "cross-env VITE_EXAMPLE=examples/demo npx vite dev",
27
+ "build-demo": "cross-env VITE_DEMO_BUILD=demo npx vite build && shx cp -r examples/demo/* built-example/demo",
26
28
  "dev": "vite",
27
29
  "generate-types": "vue-tsc --emitDeclarationOnly --outDir dist && npm run fix-type-aliases",
28
30
  "fix-type-aliases": "tsc-alias -p tsconfig.json",
package/dist/favicon.ico DELETED
Binary file