@hazeljs/saga 0.8.2 → 0.8.7
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 +4 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -27,13 +27,14 @@ npm install @hazeljs/saga
|
|
|
27
27
|
|
|
28
28
|
### Peer Dependencies
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
`@hazeljs/saga` works with `@hazeljs/core` for runtime integration and `@hazeljs/event-emitter` for choreography events. Install them alongside:
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
npm install
|
|
34
|
-
npm install @hazeljs/event-emitter
|
|
33
|
+
npm install @hazeljs/core @hazeljs/event-emitter
|
|
35
34
|
```
|
|
36
35
|
|
|
36
|
+
> You do **not** need to install or import `reflect-metadata` yourself. `@hazeljs/saga` declares it as a regular dependency and its decorator modules load it via a side-effect import. Just enable `experimentalDecorators` in your `tsconfig.json`.
|
|
37
|
+
|
|
37
38
|
---
|
|
38
39
|
|
|
39
40
|
## Quick Start (Orchestration)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hazeljs/saga",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"description": "Saga pattern implementation for HazelJS - Orchestration and Choreography for distributed transactions",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"reflect-metadata": "^0.2.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@hazeljs/core": "^0.8.
|
|
24
|
-
"@hazeljs/event-emitter": "^0.8.
|
|
23
|
+
"@hazeljs/core": "^0.8.7",
|
|
24
|
+
"@hazeljs/event-emitter": "^0.8.7"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@hazeljs/core": "^0.8.
|
|
28
|
-
"@hazeljs/event-emitter": "^0.8.
|
|
27
|
+
"@hazeljs/core": "^0.8.5",
|
|
28
|
+
"@hazeljs/event-emitter": "^0.8.5",
|
|
29
29
|
"@types/jest": "^29.5.14",
|
|
30
30
|
"@types/node": "^20.19.39",
|
|
31
31
|
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
},
|
|
41
41
|
"author": "Muhammad Arslan <muhammad.arslan@hazeljs.ai>",
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "7e6f4d6ed5e9d92cdd5f43f3577f5e0361202878"
|
|
44
44
|
}
|