@zag-js/core
Advanced tools
Comparing version
@@ -754,2 +754,5 @@ var __defProp = Object.defineProperty; | ||
} | ||
get [Symbol.toStringTag]() { | ||
return "Machine"; | ||
} | ||
}; | ||
@@ -756,0 +759,0 @@ var createMachine = (config, options) => new Machine(config, options); |
@@ -116,2 +116,3 @@ import { Dict, MachineStatus, MachineType, StateMachine as S, Writable } from "./types"; | ||
onEvent: (listener: S.EventListener<TEvent>) => this; | ||
get [Symbol.toStringTag](): string; | ||
} | ||
@@ -118,0 +119,0 @@ export declare type MachineSrc<TContext extends Dict, TState extends S.StateSchema, TEvent extends S.EventObject = S.AnyEventObject> = Machine<TContext, TState, TEvent> | (() => Machine<TContext, TState, TEvent>); |
{ | ||
"name": "@zag-js/core", | ||
"version": "0.0.0-dev-20220513103837", | ||
"version": "0.0.0-dev-20220514160702", | ||
"description": "A minimal implementation of xstate fsm for UI machines", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
Sorry, the diff of this file is not supported yet
222805
0.18%1998
0.35%