chowbea-axios 1.0.4 → 1.0.5

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.
@@ -670,18 +670,18 @@ export type ServerRequestBody<OpId extends keyof operations> = ExpandRecursively
670
670
  export type ServerRequestParams<OpId extends keyof operations> = ExpandRecursively<
671
671
  operations[OpId] extends { parameters: infer P }
672
672
  ? P extends { path?: infer Path; query?: infer Query }
673
- ? (Path extends Record<string, unknown> ? { path: Path } : Record<string, never>) &
674
- (Query extends Record<string, unknown> ? { query?: Query } : Record<string, never>)
673
+ ? (Path extends Record<string, unknown> ? { path: Path } : {}) &
674
+ (Query extends Record<string, unknown> ? { query?: Query } : {})
675
675
  : P extends { path?: infer Path }
676
676
  ? Path extends Record<string, unknown>
677
677
  ? { path: Path }
678
- : never
678
+ : {}
679
679
  : P extends { query?: infer Query }
680
680
  ? Query extends Record<string, unknown>
681
681
  ? { query?: Query }
682
- : never
683
- : never
684
- : never
682
+ : {}
683
+ : {}
684
+ : {}
685
685
  >;
686
686
 
687
687
  /**
@@ -546,5 +546,5 @@
546
546
  ]
547
547
  }
548
548
  },
549
- "version": "1.0.4"
549
+ "version": "1.0.5"
550
550
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chowbea-axios",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Type-safe axios client that makes api requests a breeze",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",