@lafken/state-machine 0.12.1 → 0.12.3

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.
@@ -844,8 +844,8 @@ export interface CatchAndRetry<T> {
844
844
  */
845
845
  catch?: StateCatch<T>[];
846
846
  }
847
- export type InitialStateType<T> = T | WaitStateTimestamp<T> | WaitStateSeconds<T> | ChoiceState<T> | ParallelState<T> | MapState<T>;
848
- export type StateTypes<T> = PassState<T> | FailState | SucceedState | InitialStateType<T>;
847
+ export type InitialStateType<T> = T | WaitStateTimestamp<T> | WaitStateSeconds<T> | ChoiceState<T> | ParallelState<T> | MapState<T> | PassState<T>;
848
+ export type StateTypes<T> = FailState | SucceedState | InitialStateType<T>;
849
849
  export type RetryCatchTypes<T> = LambdaStateMetadata | ParallelState<T> | MapState<T>;
850
850
  export interface StateProps<T> extends CatchAndRetry<T> {
851
851
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lafken/state-machine",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "private": false,
5
5
  "description": "Build Step Functions workflows with TypeScript decorators - declarative orchestration with Lafken",
6
6
  "keywords": [
@@ -50,7 +50,7 @@
50
50
  ],
51
51
  "dependencies": {
52
52
  "reflect-metadata": "^0.2.2",
53
- "@lafken/resolver": "0.12.1"
53
+ "@lafken/resolver": "0.12.3"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@cdktn/provider-aws": "^24.0.0",
@@ -63,13 +63,13 @@
63
63
  "typescript": "6.0.3",
64
64
  "unplugin-swc": "^1.5.9",
65
65
  "vitest": "^4.1.5",
66
- "@lafken/common": "0.12.1"
66
+ "@lafken/common": "0.12.3"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@cdktn/provider-aws": ">=23.0.0",
70
70
  "cdktn": ">=0.22.0",
71
71
  "constructs": "^10.4.5",
72
- "@lafken/common": "0.12.1"
72
+ "@lafken/common": "0.12.3"
73
73
  },
74
74
  "engines": {
75
75
  "node": ">=20.19"