@skewedaspect/sage-vue 0.9.3 → 0.9.4

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/dist/index.d.ts CHANGED
@@ -1 +1,7 @@
1
- export {}
1
+ export { default as SageCanvas } from './sageCanvas.vue';
2
+ export { useSageEngine } from "./useSageEngine.d.ts";
3
+ export { useSageEvent } from "./useSageEvent.d.ts";
4
+ export { useSageAction } from "./useSageAction.d.ts";
5
+ export { useSageState } from "./useSageState.d.ts";
6
+ export { useSageTimer } from "./useSageTimer.d.ts";
7
+ export { SAGE_ENGINE_KEY } from "./symbols.d.ts";
@@ -1,4 +1,4 @@
1
- import { GameEngine, GameEntityDefinition, SageOptions } from "./sage.d.ts";
1
+ import { GameEngine, GameEntityDefinition, SageOptions } from "@skewedaspect/sage";
2
2
  type __VLS_Props = {
3
3
  entityDefinitions?: GameEntityDefinition[];
4
4
  options?: SageOptions;
@@ -1,3 +1,3 @@
1
1
  import { InjectionKey, ShallowRef } from 'vue';
2
- import { GameEngine } from "./sage.d.ts";
2
+ import { GameEngine } from "@skewedaspect/sage";
3
3
  export declare const SAGE_ENGINE_KEY: InjectionKey<ShallowRef<GameEngine | null>>;
@@ -1,5 +1,5 @@
1
1
  import { ComputedRef, ShallowRef } from 'vue';
2
- import { GameEngine, GameEventBus } from "./sage.d.ts";
2
+ import { GameEngine, GameEventBus } from "@skewedaspect/sage";
3
3
  interface SageEngineContext {
4
4
  engine: ShallowRef<GameEngine | null>;
5
5
  eventBus: ComputedRef<GameEventBus | null>;
@@ -1,4 +1,4 @@
1
- import { GameEvent } from "./sage.d.ts";
1
+ import { GameEvent } from "@skewedaspect/sage";
2
2
  type EventHandler = (event: GameEvent) => void | Promise<void>;
3
3
  export declare function useSageEvent(pattern: string | RegExp, handler: EventHandler): void;
4
4
  export {};
@@ -1,4 +1,4 @@
1
- import { CooldownHandle } from "./sage.d.ts";
1
+ import { CooldownHandle } from "@skewedaspect/sage";
2
2
  interface SageTimerComposable {
3
3
  delay: (ms: number, callback: () => void) => () => void;
4
4
  interval: (ms: number, callback: () => void) => () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skewedaspect/sage-vue",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "type": "module",
5
5
  "main": "dist/sage-vue.js",
6
6
  "module": "dist/sage-vue.js",
@@ -1,7 +0,0 @@
1
- export { default as SageCanvas } from './sageCanvas.vue';
2
- export { useSageEngine } from "./useSageEngine.d.ts";
3
- export { useSageEvent } from "./useSageEvent.d.ts";
4
- export { useSageAction } from "./useSageAction.d.ts";
5
- export { useSageState } from "./useSageState.d.ts";
6
- export { useSageTimer } from "./useSageTimer.d.ts";
7
- export { SAGE_ENGINE_KEY } from "./symbols.d.ts";