@xstate/react
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -57,3 +57,5 @@ 'use strict'; | ||
}); | ||
const systemSnapshot = actorRef.system.getSnapshot?.(); | ||
actorRef.stop(); | ||
actorRef.system._snapshot = systemSnapshot; | ||
persistedSnapshots.forEach(([ref, snapshot]) => { | ||
@@ -60,0 +62,0 @@ ref._processingStatus = 0; |
@@ -57,3 +57,5 @@ 'use strict'; | ||
}); | ||
const systemSnapshot = actorRef.system.getSnapshot?.(); | ||
actorRef.stop(); | ||
actorRef.system._snapshot = systemSnapshot; | ||
persistedSnapshots.forEach(([ref, snapshot]) => { | ||
@@ -60,0 +62,0 @@ ref._processingStatus = 0; |
@@ -31,3 +31,5 @@ import * as React from 'react'; | ||
}); | ||
const systemSnapshot = actorRef.system.getSnapshot?.(); | ||
actorRef.stop(); | ||
actorRef.system._snapshot = systemSnapshot; | ||
persistedSnapshots.forEach(([ref, snapshot]) => { | ||
@@ -34,0 +36,0 @@ ref._processingStatus = 0; |
@@ -31,3 +31,5 @@ import * as React from 'react'; | ||
}); | ||
const systemSnapshot = actorRef.system.getSnapshot?.(); | ||
actorRef.stop(); | ||
actorRef.system._snapshot = systemSnapshot; | ||
persistedSnapshots.forEach(([ref, snapshot]) => { | ||
@@ -34,0 +36,0 @@ ref._processingStatus = 0; |
{ | ||
"name": "@xstate/react", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "XState tools for React", | ||
@@ -58,3 +58,3 @@ "keywords": [ | ||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0", | ||
"xstate": "^5.0.0" | ||
"xstate": "^5.1.0" | ||
}, | ||
@@ -80,4 +80,4 @@ "peerDependenciesMeta": { | ||
"react-dom": "^18.0.0", | ||
"xstate": "5.0.0" | ||
"xstate": "5.1.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36217
836