move-by-move 1.0.5 → 1.0.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.
Files changed (2) hide show
  1. package/lib/index.d.ts +2 -2
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export interface GameAction {
1
+ export declare type GameAction<Payload = any> = Payload & {
2
2
  type: string;
3
- }
3
+ };
4
4
  export interface Game<Type> {
5
5
  subscribe(listener: Function): void;
6
6
  unsubscribe(listener: Function): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "move-by-move",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Simple game engine for turn based games",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",