Comparing version 0.2.0 to 0.2.1
@@ -177,6 +177,6 @@ function valueEnumerable(value) { | ||
export function interpret(machine, onChange) { | ||
export function interpret(machine, onChange, event) { | ||
let s = Object.create(service, { | ||
machine: valueEnumerableWritable(machine), | ||
context: valueEnumerableWritable(machine.context()), | ||
context: valueEnumerableWritable(machine.context(event)), | ||
onChange: valueEnumerable(onChange) | ||
@@ -183,0 +183,0 @@ }); |
{ | ||
"name": "robot3", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A function, immutable Finite State Machine library", | ||
@@ -5,0 +5,0 @@ "main": "machine.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
9239
5