@agentcash/router 0.6.0 → 0.6.2

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/dist/index.d.cts CHANGED
@@ -406,7 +406,7 @@ interface ServiceRouter<TPriceKeys extends string = never> {
406
406
  monitors(): MonitorEntry[];
407
407
  registry: RouteRegistry;
408
408
  }
409
- declare function createRouter<const P extends Record<string, string> = Record<string, never>>(config: RouterConfig & {
409
+ declare function createRouter<const P extends Record<string, string> = Record<never, string>>(config: RouterConfig & {
410
410
  prices?: P;
411
411
  }): ServiceRouter<Extract<keyof P, string>>;
412
412
 
package/dist/index.d.ts CHANGED
@@ -406,7 +406,7 @@ interface ServiceRouter<TPriceKeys extends string = never> {
406
406
  monitors(): MonitorEntry[];
407
407
  registry: RouteRegistry;
408
408
  }
409
- declare function createRouter<const P extends Record<string, string> = Record<string, never>>(config: RouterConfig & {
409
+ declare function createRouter<const P extends Record<string, string> = Record<never, string>>(config: RouterConfig & {
410
410
  prices?: P;
411
411
  }): ServiceRouter<Extract<keyof P, string>>;
412
412
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentcash/router",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
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": {
@@ -48,7 +48,7 @@
48
48
  "@x402/evm": "^2.3.0",
49
49
  "@x402/extensions": "^2.3.0",
50
50
  "eslint": "^10.0.0",
51
- "mppx": "^0.3.2",
51
+ "mppx": "^0.3.4",
52
52
  "next": "^15.0.0",
53
53
  "prettier": "^3.8.1",
54
54
  "react": "^19.0.0",