@emmvish/stable-request 1.3.6 → 1.3.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -198,8 +198,8 @@ const getStableResponse = async () => {
198
198
  reqData: {
199
199
  hostname: 'api.example.com',
200
200
  path: '/users/123',
201
- headers: { Authorization: `Bearer ${token}` }
202
- body: { page: 10, offset: 5 }
201
+ headers: { Authorization: `Bearer ${token}` },
202
+ query: { page: 10, offset: 5 }
203
203
  },
204
204
  resReq: true // Return the response data
205
205
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emmvish/stable-request",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "stable-request is a TypeScript-first HTTP reliability toolkit for workflow-driven API integrations, that goes beyond status-code retries by validating response content, handling eventual consistency, coordinating batch workflows with intelligent grouping, and providing deep observability into every request attempt. It is designed for real-world distributed systems where HTTP success does not guarantee business success. It also provides extensive support for managing multiple requests so as to achieve workflow automation.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",