- #39
70430ee
Thanks @davidkpiano! - Update XState to 5.18.2
- #34
ca30b6f
Thanks @davidkpiano! - Update XState to 5.17.1
-
#32
6f7b65a
Thanks @davidkpiano! - Added new optionssanitizeContext
andsanitizeEvent
to the inspector configuration. These options allow users to sanitize sensitive data from the context and events before they are sent to the inspector, and also to remove non-serializable data.Example usage:
const inspector = createInspector({ sanitizeContext: (context) => { // Remove sensitive data from context const { password, ...safeContext } = context; return safeContext; }, sanitizeEvent: (event) => { // Remove sensitive data from event if (event.type === "SUBMIT_FORM") { const { creditCardNumber, ...safeEvent } = event; return safeEvent; } return event; }, });
- #27
39279fe
Thanks @davidkpiano! - Revert serialization changes
- #24
9cfc0b3
Thanks @davidkpiano! - Theserialize
option will now pre-serialize the event usingsuperjson
before the custom serialization.
- #21
a225b37
Thanks @davidkpiano! - Do not warn for XState events
- #18
7d569b1
Thanks @davidkpiano! - Do not crash on unhandled inspection event type
- #12
c878733
Thanks @mellson! - AddscreateSkyInspector
, which allows you to inspect machines in Node or the browser. The inspection will send the events to a server backend through websockets and allows you to open and share a live inspection URL.
-
#15
b20b7b7
Thanks @davidkpiano! - Usesafe-stable-stringify
everywhere applicable -
#13
9d9229d
Thanks @davidkpiano! - Replace fast-safe-stringify with stable-safe-stringify
-
#8
ea5bab4
Thanks @davidkpiano! - Safely stringify snapshots from XState events to deal with circular references -
#9
12fe68e
Thanks @mellson! - Update to the latest version of XState and move it to peer dependencies.
- 3fe7315: Handle window being undefined when trying to create a browser inspector in isomorphic (server/browser) environments