narrat 0.11.5 → 0.11.6
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.
- package/lib/exports/plugins.d.ts +1 -1
- package/lib/index.esm.js +2 -2
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/exports/plugins.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ActionContext } from 'vuex';
|
|
|
2
2
|
import { NarratPlugin } from '../plugins/NarratPlugin';
|
|
3
3
|
import { CommandPlugin, generateParser } from '../vm/commands/command-plugin';
|
|
4
4
|
import type { CommandRunner } from '../vm/commands/command-plugin';
|
|
5
|
-
import { NarratState } from '
|
|
5
|
+
import { NarratState } from '../types/state';
|
|
6
6
|
export declare type NarratLifecycleHook = <T extends [...any[]]>(...args: T) => void;
|
|
7
7
|
declare type NarratPluginObject = {
|
|
8
8
|
onPageLoaded?: NarratLifecycleHook;
|
package/lib/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Version: 0.11.
|
|
1
|
+
// Version: 0.11.6 - June 15, 2022 16:58:57
|
|
2
2
|
import 'es6-promise/auto';
|
|
3
3
|
import { ref, reactive, readonly, defineComponent, openBlock, createElementBlock, normalizeStyle, createElementVNode, createCommentVNode, Fragment, renderList, normalizeClass, createBlock, Transition, withCtx, renderSlot, createTextVNode, resolveComponent, withDirectives, vModelText, toDisplayString, TransitionGroup, createVNode, createApp } from 'vue';
|
|
4
4
|
import { createLogger, createStore } from 'vuex';
|
|
@@ -8751,7 +8751,7 @@ async function startApp(config, options) {
|
|
|
8751
8751
|
logManager.setupDebugger(options.debug);
|
|
8752
8752
|
const configFile = await getFile('data/config.json');
|
|
8753
8753
|
setConfig(JSON.parse(configFile));
|
|
8754
|
-
console.log('%c Narrat game engine – 0.11.
|
|
8754
|
+
console.log('%c Narrat game engine – 0.11.6 - June 15, 2022 16:58:57', 'background: #222; color: #bada55');
|
|
8755
8755
|
vm$1.callHook('onNarratSetup');
|
|
8756
8756
|
const storeSetup = setupStore(options);
|
|
8757
8757
|
store$2 = storeSetup.store;
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Version: 0.11.
|
|
1
|
+
// Version: 0.11.6 - June 15, 2022 16:58:57
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8755,7 +8755,7 @@ async function startApp(config, options) {
|
|
|
8755
8755
|
logManager.setupDebugger(options.debug);
|
|
8756
8756
|
const configFile = await getFile('data/config.json');
|
|
8757
8757
|
setConfig(JSON.parse(configFile));
|
|
8758
|
-
console.log('%c Narrat game engine – 0.11.
|
|
8758
|
+
console.log('%c Narrat game engine – 0.11.6 - June 15, 2022 16:58:57', 'background: #222; color: #bada55');
|
|
8759
8759
|
vm$1.callHook('onNarratSetup');
|
|
8760
8760
|
const storeSetup = setupStore(options);
|
|
8761
8761
|
store$2 = storeSetup.store;
|