@onlineapps/cookbook-core 2.1.13 → 2.1.15

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.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -86,15 +86,15 @@ console.log(CookbookSchema.properties);
86
86
 
87
87
  - `CookbookValidationError` - Validation error class
88
88
 
89
- ## Step Types Supported
89
+ ## Step Types Supported (V2.1)
90
90
 
91
91
  - `task` - Service operation execution
92
- - `foreach` - Iteration over arrays
93
- - `fork_join` - Parallel execution branches
94
- - `switch` - Conditional branching
95
- - `sub_workflow` - Nested workflow
96
- - `wait` - Time delay
97
- - `dispatch` - Webhook dispatch
92
+ - `foreach` - Iteration over arrays (`body` is an array of steps)
93
+ - `fork_join` - Parallel execution branches (`branches` is an object)
94
+ - `switch` - Conditional branching (`cases` is an object keyed by value)
95
+ - `steps` - Nested group of steps (replaces `sub_workflow`)
96
+ - `wait` - Time delay (`durationMs`)
97
+ - `dispatch` - Webhook/HTTP/GRPC/Kafka/SQS/custom dispatch
98
98
 
99
99
  ## Documentation
100
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlineapps/cookbook-core",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "description": "Core cookbook parsing and validation - lightweight foundation for workflow definitions",
5
5
  "main": "src/index.js",
6
6
  "scripts": {