Comparing version 5.1.0 to 6.0.0
@@ -148,3 +148,3 @@ const _ = require('lodash') | ||
} | ||
return resolve(updatedInstance.currentState) | ||
return resolve({state: updatedInstance.currentState, transition}) | ||
}) | ||
@@ -164,3 +164,3 @@ }) | ||
} | ||
return resolve(updatedInstance.currentState) | ||
return resolve({state: updatedInstance.currentState, transition}) | ||
}) | ||
@@ -170,3 +170,3 @@ } | ||
this.goToDefault(updatedInstance).then((state) => { | ||
return resolve(state) | ||
return resolve({state, transition}) | ||
}).catch((err) => { | ||
@@ -178,3 +178,3 @@ return reject(err) | ||
this.goToDefault(updatedInstance).then((state) => { | ||
return resolve(state) | ||
return resolve({state, transition: {}}) | ||
}).catch((err) => { | ||
@@ -185,3 +185,3 @@ return reject(err) | ||
} else { | ||
return resolve(updatedInstance.currentState) | ||
return resolve({state: updatedInstance.currentState, transition: {}}) | ||
} | ||
@@ -188,0 +188,0 @@ }) |
{ | ||
"name": "flowx", | ||
"version": "5.1.0", | ||
"version": "6.0.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.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
19874