Skip to content

Commit

Permalink
Merge pull request #26 from statelyai/davidkpiano/fix-input
Browse files Browse the repository at this point in the history
Fix input + changeset
  • Loading branch information
davidkpiano authored May 6, 2024
2 parents 5a7556e + 3777b45 commit 5641c81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/two-ears-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@statelyai/sky': patch
---

Fix input
2 changes: 1 addition & 1 deletion packages/sky-core/src/actorFromStately.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export async function actorFromStately<T extends AnyStateMachine>(
sessionId: string;
onPlayerJoined?: ({ numberOfPlayers }: { numberOfPlayers: number }) => void;
onPlayerLeft?: ({ numberOfPlayers }: { numberOfPlayers: number }) => void;
input: unknown;
input?: unknown;
},
skyConfig?: SkyConfigFile<T>,
): Promise<Actor<T>> {
Expand Down

0 comments on commit 5641c81

Please sign in to comment.