Skip to content

Commit

Permalink
Version Packages (#4891)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored May 13, 2024
1 parent 6d92b77 commit e405ef1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
21 changes: 0 additions & 21 deletions .changeset/nice-spiders-perform.md

This file was deleted.

22 changes: 22 additions & 0 deletions packages/xstate-store/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @xstate/store

## 0.0.4

### Patch Changes

- [#4890](https://github.com/statelyai/xstate/pull/4890) [`6d92b7770`](https://github.com/statelyai/xstate/commit/6d92b77704750498f669487da185eb005a080034) Thanks [@davidkpiano](https://github.com/davidkpiano)! - The `context` type for `createStoreWithProducer(producer, context, transitions)` will now be properly inferred.

```ts
const store = createStoreWithProducer(
produce,
{
count: 0
},
{
// ...
}
);

store.getSnapshot().context;
// BEFORE: StoreContext
// NOW: { count: number }
```

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xstate/store",
"version": "0.0.3",
"version": "0.0.4",
"description": "Simple stores",
"keywords": [
"store",
Expand Down

0 comments on commit e405ef1

Please sign in to comment.