Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xstate/inspect

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xstate/inspect - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

README.md

6

es/index.js

@@ -159,9 +159,9 @@ var __assign = (this && this.__assign) || function () {

var originalSend = service.send.bind(service);
service.send = function inspectSend(event) {
service.send = function inspectSend(event, payload) {
inspectService.send({
type: 'service.event',
event: JSON.stringify(toSCXMLEvent(toEventObject(event))),
event: JSON.stringify(toSCXMLEvent(toEventObject(event, payload))),
sessionId: service.sessionId
});
return originalSend(event);
return originalSend(event, payload);
};

@@ -168,0 +168,0 @@ service.subscribe(function (state) {

@@ -163,9 +163,9 @@ "use strict";

var originalSend = service.send.bind(service);
service.send = function inspectSend(event) {
service.send = function inspectSend(event, payload) {
inspectService.send({
type: 'service.event',
event: JSON.stringify(utils_1.toSCXMLEvent(utils_1.toEventObject(event))),
event: JSON.stringify(utils_1.toSCXMLEvent(utils_1.toEventObject(event, payload))),
sessionId: service.sessionId
});
return originalSend(event);
return originalSend(event, payload);
};

@@ -172,0 +172,0 @@ service.subscribe(function (state) {

{
"name": "@xstate/inspect",
"version": "0.1.0",
"version": "0.1.1",
"description": "XState inspection utilities",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc