@agentcash/router 0.4.0 → 0.4.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/.claude/CLAUDE.md CHANGED
@@ -84,3 +84,9 @@ pnpm test # vitest
84
84
  pnpm typecheck # tsc --noEmit
85
85
  pnpm check # format + lint + typecheck + build + test
86
86
  ```
87
+
88
+ ## Development Record
89
+
90
+ The `.claude/` directory contains design docs, decision records, and bug analyses that document the reasoning behind the router's architecture. See `.claude/INDEX.md` for a table of contents.
91
+
92
+ **Convention:** Every doc has a `Status` header. When you resolve work described in a doc, update its Status to `Resolved in vX.Y.Z` and update INDEX.md.
package/dist/index.cjs CHANGED
@@ -371,10 +371,7 @@ function toStandardRequest(request) {
371
371
  }
372
372
  return new Request(request.url, {
373
373
  method: request.method,
374
- headers: request.headers,
375
- body: request.body,
376
- // @ts-expect-error - Request.duplex is required for streaming bodies but not in types yet
377
- duplex: "half"
374
+ headers: request.headers
378
375
  });
379
376
  }
380
377
  var DEFAULT_DECIMALS = 6;
package/dist/index.js CHANGED
@@ -337,10 +337,7 @@ function toStandardRequest(request) {
337
337
  }
338
338
  return new Request(request.url, {
339
339
  method: request.method,
340
- headers: request.headers,
341
- body: request.body,
342
- // @ts-expect-error - Request.duplex is required for streaming bodies but not in types yet
343
- duplex: "half"
340
+ headers: request.headers
344
341
  });
345
342
  }
346
343
  var DEFAULT_DECIMALS = 6;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentcash/router",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Unified route builder for Next.js App Router APIs with x402, MPP, SIWX, and API key auth",
5
5
  "type": "module",
6
6
  "exports": {