little-state-machine
Advanced tools
Comparing version 2.0.0-beta.2 to 2.0.0-beta.3
@@ -25,3 +25,3 @@ import * as React from 'react'; | ||
// @ts-ignore | ||
return createElement(StateMachineContext.Provider, null, props.children); | ||
return createElement(StateMachineContext.Provider, Object.assign({ value: value }, props)); | ||
} | ||
@@ -28,0 +28,0 @@ const actionTemplate = ({ options, callback, key, updateStore, globalState }) => (payload) => { |
@@ -28,3 +28,3 @@ 'use strict'; | ||
// @ts-ignore | ||
return React.createElement(StateMachineContext.Provider, null, props.children); | ||
return React.createElement(StateMachineContext.Provider, Object.assign({ value: value }, props)); | ||
} | ||
@@ -31,0 +31,0 @@ const actionTemplate = ({ options, callback, key, updateStore, globalState }) => (payload) => { |
{ | ||
"name": "little-state-machine", | ||
"version": "2.0.0-beta.2", | ||
"version": "2.0.0-beta.3", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.es.js", |
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
161848