@emmvish/stable-request 2.1.2 → 2.1.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.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -275,7 +275,7 @@ responses.forEach((resp, i) => {
|
|
|
275
275
|
Phased array-based workflows with sequential/concurrent phases, mixed items, and non-linear control flow.
|
|
276
276
|
|
|
277
277
|
```typescript
|
|
278
|
-
import { stableWorkflow, PHASE_DECISION_ACTIONS, RequestOrFunction } from '@emmvish/stable-request';
|
|
278
|
+
import { stableWorkflow, PHASE_DECISION_ACTIONS, RequestOrFunction, REQUEST_METHODS } from '@emmvish/stable-request';
|
|
279
279
|
import type { STABLE_WORKFLOW_PHASE, API_GATEWAY_ITEM } from '@emmvish/stable-request';
|
|
280
280
|
|
|
281
281
|
// Define types for requests
|
|
@@ -363,7 +363,7 @@ const phases: STABLE_WORKFLOW_PHASE<FetchRequestData, FetchResponse, ProcessArgs
|
|
|
363
363
|
reqData: {
|
|
364
364
|
hostname: 'api.example.com',
|
|
365
365
|
path: '/store',
|
|
366
|
-
method:
|
|
366
|
+
method: REQUEST_METHODS.POST
|
|
367
367
|
},
|
|
368
368
|
resReq: false
|
|
369
369
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emmvish/stable-request",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "A production-grade Workflow Execution Engine for Node.js that transforms unreliable API calls into resilient, observable, and sophisticated multi-phase workflows with intelligent retry strategies, circuit breakers, and advanced execution patterns.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|