Comparing version 5.72.0 to 5.72.1
@@ -5,3 +5,3 @@ # Changelog | ||
918 merges; 114 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) | ||
919 merges; 114 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) | ||
@@ -26,2 +26,17 @@ | ||
## [Untagged] - 6/24/2022 4:08:35 PM | ||
Commit [a1c43e9f65f2fd8e856a2544f7c3056b4c06d9d3](https://github.com/StoneCypher/jssm/commit/a1c43e9f65f2fd8e856a2544f7c3056b4c06d9d3) | ||
Author: `John Haugeland <stonecypher@gmail.com>` | ||
* First steps towards being a Moore machine - initial data in constructor fixes StoneCypher/fsl#923 , can read in hooks fixes StoneCypher/fsl#924 | ||
| ||
| ||
## [Untagged] - 6/23/2022 6:34:38 PM | ||
@@ -165,19 +180,2 @@ | ||
* another small commit as a trigger, this time to get the diff | ||
| ||
| ||
<a name="5__70__30" /> | ||
## [5.70.30] - 6/18/2022 10:54:02 AM | ||
Commit [3211f94bb943a63ae07f202eb168916d73f94f90](https://github.com/StoneCypher/jssm/commit/3211f94bb943a63ae07f202eb168916d73f94f90) | ||
Author: `John Haugeland <stonecypher@gmail.com>` | ||
* missing closing div tag was breaking examples page | ||
* another small commit as a trigger, this time to get the diff |
@@ -263,2 +263,17 @@ declare type StateType = string; | ||
state(): StateType; | ||
/********* | ||
* | ||
* Get the current data of a machine. | ||
* | ||
* ```typescript | ||
* import * as jssm from 'jssm'; | ||
* | ||
* const switch = jssm.from('on <=> off;', {data: 1}); | ||
* console.log( switch.data() ); // 1 | ||
* ``` | ||
* | ||
* @typeparam mDT The type of the machine data member; usually omitted | ||
* | ||
*/ | ||
data(): mDT; | ||
/******** | ||
@@ -265,0 +280,0 @@ * |
@@ -722,2 +722,26 @@ // whargarbl lots of these return arrays could/should be sets | ||
*/ | ||
/********* | ||
* | ||
* Get the current data of a machine. | ||
* | ||
* ```typescript | ||
* import * as jssm from 'jssm'; | ||
* | ||
* const switch = jssm.from('on <=> off;', {data: 1}); | ||
* console.log( switch.data() ); // 1 | ||
* ``` | ||
* | ||
* @typeparam mDT The type of the machine data member; usually omitted | ||
* | ||
*/ | ||
data() { | ||
return this._data; | ||
} | ||
/* whargarbl todo major | ||
when we reimplement this, reintroduce this change to the is_final call | ||
is_changing(): boolean { | ||
return true; // todo whargarbl | ||
} | ||
*/ | ||
/******** | ||
@@ -724,0 +748,0 @@ * |
@@ -1,2 +0,2 @@ | ||
const version = "5.72.0"; | ||
const version = "5.72.1"; | ||
export { version }; |
@@ -263,2 +263,17 @@ declare type StateType = string; | ||
state(): StateType; | ||
/********* | ||
* | ||
* Get the current data of a machine. | ||
* | ||
* ```typescript | ||
* import * as jssm from 'jssm'; | ||
* | ||
* const switch = jssm.from('on <=> off;', {data: 1}); | ||
* console.log( switch.data() ); // 1 | ||
* ``` | ||
* | ||
* @typeparam mDT The type of the machine data member; usually omitted | ||
* | ||
*/ | ||
data(): mDT; | ||
/******** | ||
@@ -265,0 +280,0 @@ * |
{ | ||
"name": "jssm", | ||
"version": "5.72.0", | ||
"version": "5.72.1", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=10.0.0" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1004811
7024