@supacloud/compiler 0.31.0 → 0.31.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/cli.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
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?:
|
|
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. */",
|
|
@@ -22342,7 +22342,7 @@ function compilerVersion() {
|
|
|
22342
22342
|
}
|
|
22343
22343
|
function migrationDependencies() {
|
|
22344
22344
|
return {
|
|
22345
|
-
"@supacloud/app": "0.
|
|
22345
|
+
"@supacloud/app": "0.22.0",
|
|
22346
22346
|
"@supacloud/compiler": compilerVersion(),
|
|
22347
22347
|
"@supacloud/elysia": "0.23.1",
|
|
22348
22348
|
elysia: "2.0.0-beta.19",
|
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?:
|
|
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. */",
|
|
@@ -22075,7 +22075,7 @@ function compilerVersion() {
|
|
|
22075
22075
|
}
|
|
22076
22076
|
function migrationDependencies() {
|
|
22077
22077
|
return {
|
|
22078
|
-
"@supacloud/app": "0.
|
|
22078
|
+
"@supacloud/app": "0.22.0",
|
|
22079
22079
|
"@supacloud/compiler": compilerVersion(),
|
|
22080
22080
|
"@supacloud/elysia": "0.23.1",
|
|
22081
22081
|
elysia: "2.0.0-beta.19",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/compiler",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.2",
|
|
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",
|