@supacloud/compiler 0.31.0 → 0.31.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/dist/cli.js CHANGED
@@ -2466,7 +2466,7 @@ function renderClient(graph, options) {
2466
2466
  "",
2467
2467
  "export interface ApiClientConfig {",
2468
2468
  " baseUrl?: string;",
2469
- " fetch?: typeof fetch;",
2469
+ " fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;",
2470
2470
  " headers?: Record<string, string> | (() => Record<string, string> | Promise<Record<string, string>>);",
2471
2471
  " interceptors?: HttpInterceptorFn[];",
2472
2472
  " /** Normalize response objects like Elysia's default schema validator. */",
package/dist/index.js CHANGED
@@ -2465,7 +2465,7 @@ function renderClient(graph, options) {
2465
2465
  "",
2466
2466
  "export interface ApiClientConfig {",
2467
2467
  " baseUrl?: string;",
2468
- " fetch?: typeof fetch;",
2468
+ " fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;",
2469
2469
  " headers?: Record<string, string> | (() => Record<string, string> | Promise<Record<string, string>>);",
2470
2470
  " interceptors?: HttpInterceptorFn[];",
2471
2471
  " /** Normalize response objects like Elysia's default schema validator. */",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/compiler",
3
- "version": "0.31.0",
3
+ "version": "0.31.1",
4
4
  "description": "Static compiler for @supacloud/app metadata: builds the application graph from AST, validates it, and generates reflection-free factory code",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",