We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b472d1b + a225b37 commit 06be9c4Copy full SHA for 06be9c4
.changeset/stupid-crews-crash.md
@@ -0,0 +1,5 @@
1
+---
2
+"@statelyai/inspect": patch
3
4
+
5
+Do not warn for XState events
src/createInspector.ts
@@ -215,6 +215,10 @@ export function convertXStateEvent(
215
} satisfies StatelySnapshotEvent;
216
}
217
default: {
218
+ // Ignore future XState inspection events (assume that they are valid)
219
+ if (inspectionEvent.type.startsWith('@xstate.')) {
220
+ return undefined;
221
+ }
222
console.warn(
223
`Unhandled inspection event type: ${(inspectionEvent as any).type}`
224
);
0 commit comments