@emmvish/stable-infra 2.0.2 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2538,7 +2538,7 @@ await stableApiGateway<ServiceRequest, ServiceResponse>(requests, {
2538
2538
  });
2539
2539
  ```
2540
2540
 
2541
- ### 6. Define Metrics Guardrails for SLA Monitoring
2541
+ ### 5. Define Metrics Guardrails for SLA Monitoring
2542
2542
 
2543
2543
  Enforce performance and reliability SLAs with automatic validation.
2544
2544
 
@@ -2602,7 +2602,7 @@ await stableApiGateway<ApiRequest, ApiResponse>(requests, {
2602
2602
  });
2603
2603
  ```
2604
2604
 
2605
- ### 6. Use Shared Buffers for Cross-Phase Coordination
2605
+ ### 7. Use Shared Buffers for Cross-Phase Coordination
2606
2606
 
2607
2607
  Avoid global state; pass computed data cleanly.
2608
2608
 
@@ -2617,7 +2617,7 @@ await stableWorkflow(phases, {
2617
2617
  });
2618
2618
  ```
2619
2619
 
2620
- ### 7. Log Selectively with Max Serialization Cap
2620
+ ### 8. Log Selectively with Max Serialization Cap
2621
2621
 
2622
2622
  Prevent noisy logs from large payloads.
2623
2623
 
@@ -2635,7 +2635,7 @@ await stableRequest<DataRequest, DataResponse>({
2635
2635
  });
2636
2636
  ```
2637
2637
 
2638
- ### 8. Use Non-Linear Workflows for Polling
2638
+ ### 9. Use Non-Linear Workflows for Polling
2639
2639
 
2640
2640
  REPLAY action simplifies polling logic.
2641
2641
 
@@ -2670,7 +2670,7 @@ await stableWorkflow(phases, {
2670
2670
  });
2671
2671
  ```
2672
2672
 
2673
- ### 9. Use Graph Workflows for Complex Parallelism
2673
+ ### 10. Use Graph Workflows for Complex Parallelism
2674
2674
 
2675
2675
  DAGs make dependencies explicit and enable maximum parallelism.
2676
2676
 
@@ -2686,7 +2686,7 @@ const graph = new WorkflowGraphBuilder()
2686
2686
  await stableWorkflowGraph(graph);
2687
2687
  ```
2688
2688
 
2689
- ### 10. Prefer Dry-Run (Trial Mode) Before Production
2689
+ ### 11. Prefer Dry-Run (Trial Mode) Before Production
2690
2690
 
2691
2691
  Test workflows and retry logic safely.
2692
2692
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emmvish/stable-infra",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "A production-grade stable & flexible execution engine for resilient workflows, API integrations, and batch processing.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",