@xstate/store
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -62,5 +62,5 @@ export type EventPayloadMap = Record<string, {} | null | undefined>; | ||
export type AnyStore = Store<any, any, any>; | ||
export type Compute<A extends any> = { | ||
export type Compute<A> = { | ||
[K in keyof A]: A[K]; | ||
} & unknown; | ||
}; | ||
export type SnapshotFromStore<TStore extends Store<any, any, any>> = TStore extends Store<infer TContext, any, any> ? StoreSnapshot<TContext> : never; | ||
@@ -67,0 +67,0 @@ /** |
{ | ||
"name": "@xstate/store", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "Simple stores", | ||
@@ -67,8 +67,8 @@ "keywords": [ | ||
"solid-testing-library": "^0.3.0", | ||
"@xstate/react": "^4.1.3", | ||
"@xstate/vue": "^3.1.4", | ||
"xstate": "^5.18.2" | ||
"@xstate/react": "^5.0.0", | ||
"@xstate/vue": "^4.0.0", | ||
"xstate": "^5.19.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^18.2.0", | ||
"react": "^18.2.0 || ^19.0.0-0", | ||
"solid-js": "^1.7.6" | ||
@@ -75,0 +75,0 @@ }, |
56729