@strav/workflow 0.1.0 → 0.1.1

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
@@ -1,19 +1,19 @@
1
- # @stravigor/workflow
1
+ # @strav/workflow
2
2
 
3
- Workflow orchestration for the [Strav](https://www.npmjs.com/package/@stravigor/core) framework. Build multi-step processes with sequential, parallel, conditional, and looping steps — plus saga-style compensation on failure.
3
+ Workflow orchestration for the [Strav](https://www.npmjs.com/package/@strav/core) framework. Build multi-step processes with sequential, parallel, conditional, and looping steps — plus saga-style compensation on failure.
4
4
 
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- bun add @stravigor/workflow
8
+ bun add @strav/workflow
9
9
  ```
10
10
 
11
- Requires `@stravigor/core` as a peer dependency.
11
+ Requires `@strav/core` as a peer dependency.
12
12
 
13
13
  ## Usage
14
14
 
15
15
  ```ts
16
- import { workflow } from '@stravigor/workflow'
16
+ import { workflow } from '@strav/workflow'
17
17
 
18
18
  const result = await workflow('order-process')
19
19
  .step('validate', async (ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strav/workflow",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "Workflow orchestration for the Strav framework",
6
6
  "license": "MIT",
package/src/errors.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { StravError } from '@stravigor/kernel'
1
+ import { StravError } from '@strav/kernel'
2
2
 
3
3
  /** Thrown when a workflow step fails during execution. */
4
4
  export class WorkflowError extends StravError {