@zag-js/core
Advanced tools
Comparing version 0.0.0-dev-20240626144005 to 0.0.0-dev-20240626155314
@@ -749,3 +749,6 @@ "use strict"; | ||
} | ||
const transitions = stateNode?.on?.[event.type] ?? this.config.on?.[event.type]; | ||
const transitions = ( | ||
// @ts-expect-error - Fix this | ||
stateNode?.on?.[event.type] ?? this.config.on?.[event.type] | ||
); | ||
const next = this.getNextStateInfo(transitions, event); | ||
@@ -752,0 +755,0 @@ this.performStateChangeEffects(this.state.value, next, event); |
{ | ||
"name": "@zag-js/core", | ||
"version": "0.0.0-dev-20240626144005", | ||
"version": "0.0.0-dev-20240626155314", | ||
"description": "A minimal implementation of xstate fsm for UI machines", | ||
@@ -30,7 +30,7 @@ "keywords": [ | ||
"klona": "2.0.6", | ||
"@zag-js/store": "0.0.0-dev-20240626144005" | ||
"@zag-js/store": "0.0.0-dev-20240626155314" | ||
}, | ||
"devDependencies": { | ||
"clean-package": "2.2.0", | ||
"@zag-js/utils": "0.0.0-dev-20240626144005" | ||
"@zag-js/utils": "0.0.0-dev-20240626155314" | ||
}, | ||
@@ -37,0 +37,0 @@ "clean-package": "../../clean-package.config.json", |
@@ -763,2 +763,3 @@ import { ref, snapshot, subscribe } from "@zag-js/store" | ||
const transitions: S.Transitions<TContext, TState, TEvent> = | ||
// @ts-expect-error - Fix this | ||
stateNode?.on?.[event.type] ?? this.config.on?.[event.type] | ||
@@ -765,0 +766,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
296590
3536
+ Added@zag-js/store@0.0.0-dev-20240626155314(transitive)
- Removed@zag-js/store@0.0.0-dev-20240626144005(transitive)