@flighthq/statechart 0.5.1-edge.1692.64cda40 → 0.5.1-edge.1892.cbd15bd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/statechart`. The `@f
13
13
  This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
14
14
 
15
15
  - [Flight project](https://github.com/flighthq/flight)
16
- - [Source for @flighthq/statechart@0.5.1-edge.1692.64cda40](https://github.com/flighthq/flight/tree/64cda403571cb0bbdc7ab29b4ec6cdf5929fff6d/packages/statechart)
17
- - [License](https://github.com/flighthq/flight/blob/64cda403571cb0bbdc7ab29b4ec6cdf5929fff6d/LICENSE.md)
16
+ - [Source for @flighthq/statechart@0.5.1-edge.1892.cbd15bd](https://github.com/flighthq/flight/tree/cbd15bd13373265e8f6dcf0cb057a16aee812919/packages/statechart)
17
+ - [License](https://github.com/flighthq/flight/blob/cbd15bd13373265e8f6dcf0cb057a16aee812919/LICENSE.md)
@@ -1,5 +1,5 @@
1
- export * from './enableStatechartGuards';
2
- export * from './statechart';
3
- export * from './statechartSignals';
4
- export { initializeStatechartInstance } from './statechart';
1
+ export * from './enableStatechartGuards.ts';
2
+ export * from './statechart.ts';
3
+ export * from './statechartSignals.ts';
4
+ export { initializeStatechartInstance } from './statechart.ts';
5
5
  //# sourceMappingURL=contract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAC"}
package/dist/contract.js CHANGED
@@ -1,5 +1,5 @@
1
- export * from './enableStatechartGuards';
2
- export * from './statechart';
3
- export * from './statechartSignals';
4
- export { initializeStatechartInstance } from './statechart';
1
+ export * from "./enableStatechartGuards.js";
2
+ export * from "./statechart.js";
3
+ export * from "./statechartSignals.js";
4
+ export { initializeStatechartInstance } from "./statechart.js";
5
5
  //# sourceMappingURL=contract.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { areStatechartGuardsEnabled, disableStatechartGuards, enableStatechartGuards } from './enableStatechartGuards';
2
- export { advanceStatechartInstance, createStatechartInstance, explainStatechartTransition, fireStatechartTrigger, getStatechartInputIndex, getStatechartRegionBlend, getStatechartRegionState, setStatechartBooleanInput, setStatechartNumberInput, setStatechartRegionDuration, } from './statechart';
3
- export { enableStatechartSignals, getStatechartSignals } from './statechartSignals';
1
+ export { areStatechartGuardsEnabled, disableStatechartGuards, enableStatechartGuards, } from './enableStatechartGuards.ts';
2
+ export { advanceStatechartInstance, createStatechartInstance, explainStatechartTransition, fireStatechartTrigger, getStatechartInputIndex, getStatechartRegionBlend, getStatechartRegionState, setStatechartBooleanInput, setStatechartNumberInput, setStatechartRegionDuration, } from './statechart.ts';
3
+ export { enableStatechartSignals, getStatechartSignals } from './statechartSignals.ts';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvH,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { areStatechartGuardsEnabled, disableStatechartGuards, enableStatechartGuards } from './enableStatechartGuards';
2
- export { advanceStatechartInstance, createStatechartInstance, explainStatechartTransition, fireStatechartTrigger, getStatechartInputIndex, getStatechartRegionBlend, getStatechartRegionState, setStatechartBooleanInput, setStatechartNumberInput, setStatechartRegionDuration, } from './statechart';
3
- export { enableStatechartSignals, getStatechartSignals } from './statechartSignals';
1
+ export { areStatechartGuardsEnabled, disableStatechartGuards, enableStatechartGuards, } from "./enableStatechartGuards.js";
2
+ export { advanceStatechartInstance, createStatechartInstance, explainStatechartTransition, fireStatechartTrigger, getStatechartInputIndex, getStatechartRegionBlend, getStatechartRegionState, setStatechartBooleanInput, setStatechartNumberInput, setStatechartRegionDuration, } from "./statechart.js";
3
+ export { enableStatechartSignals, getStatechartSignals } from "./statechartSignals.js";
4
4
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvH,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/statechart",
3
- "version": "0.5.1-edge.1692.64cda40",
3
+ "version": "0.5.1-edge.1892.cbd15bd",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,10 +38,10 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/entity": "0.5.1-edge.1692.64cda40",
42
- "@flighthq/log": "0.5.1-edge.1692.64cda40",
43
- "@flighthq/signals": "0.5.1-edge.1692.64cda40",
44
- "@flighthq/types": "0.5.1-edge.1692.64cda40"
41
+ "@flighthq/entity": "0.5.1-edge.1892.cbd15bd",
42
+ "@flighthq/log": "0.5.1-edge.1892.cbd15bd",
43
+ "@flighthq/signals": "0.5.1-edge.1892.cbd15bd",
44
+ "@flighthq/types": "0.5.1-edge.1892.cbd15bd"
45
45
  },
46
46
  "devDependencies": {
47
47
  "typescript": "^5.3.0"
@@ -2,8 +2,12 @@ import { addLogSink, createMemoryLogSink, getMemoryLogSinkEntries, removeLogSink
2
2
  import { StatechartAtomicStateKind, StatechartTransitionStatus } from '@flighthq/types/contract';
3
3
  import type { LogEntry, Statechart } from '@flighthq/types/contract';
4
4
 
5
- import { areStatechartGuardsEnabled, disableStatechartGuards, enableStatechartGuards } from './enableStatechartGuards';
6
- import { advanceStatechartInstance, createStatechartInstance, setStatechartRegionDuration } from './statechart';
5
+ import {
6
+ areStatechartGuardsEnabled,
7
+ disableStatechartGuards,
8
+ enableStatechartGuards,
9
+ } from './enableStatechartGuards.ts';
10
+ import { advanceStatechartInstance, createStatechartInstance, setStatechartRegionDuration } from './statechart.ts';
7
11
 
8
12
  describe('areStatechartGuardsEnabled', () => {
9
13
  it('reports guard state per actor', () => {
@@ -19,7 +19,7 @@ import {
19
19
  setStatechartBooleanInput,
20
20
  setStatechartNumberInput,
21
21
  setStatechartRegionDuration,
22
- } from './statechart';
22
+ } from './statechart.ts';
23
23
 
24
24
  describe('advanceStatechartInstance', () => {
25
25
  it('advances every concurrent region before clearing a shared trigger', () => {
@@ -7,8 +7,8 @@ import {
7
7
  createStatechartInstance,
8
8
  fireStatechartTrigger,
9
9
  setStatechartRegionDuration,
10
- } from './statechart';
11
- import { enableStatechartSignals, getStatechartSignals, initializeStatechartSignals } from './statechartSignals';
10
+ } from './statechart.ts';
11
+ import { enableStatechartSignals, getStatechartSignals, initializeStatechartSignals } from './statechartSignals.ts';
12
12
 
13
13
  describe('enableStatechartSignals', () => {
14
14
  it('lazily attaches one standard signal group to the mutable instance', () => {