@capgo/cli 8.29.2 → 8.29.3

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.
@@ -144,6 +144,17 @@ interface CapgoFilesConfig {
144
144
  }
145
145
  export declare function getRemoteFileConfig(): Promise<CapgoFilesConfig>;
146
146
  export declare function normalizeSupabaseHost(host: string): string;
147
+ export declare function formatCapgoApiErrorBody(body: unknown): string;
148
+ /** Resolve Capgo public API base URL for CLI mutations (app create/update, etc.). */
149
+ export declare function resolveConfiguredCapgoPublicApiHost(config: {
150
+ hostApi: string;
151
+ supaHost?: string;
152
+ supaKey?: string;
153
+ }): string;
154
+ export declare function resolveCapgoPublicApiHost(options?: {
155
+ supaHost?: string;
156
+ supaAnon?: string;
157
+ }, silent?: boolean): Promise<string>;
147
158
  export declare function createSupabaseClient(apikey: string, supaHost?: string, supaKey?: string, silent?: boolean, instrument?: boolean, signal?: AbortSignal): Promise<SupabaseClient<Database, "public", "public", {
148
159
  Tables: {
149
160
  apikey_global_permissions: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "8.29.2",
4
+ "version": "8.29.3",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",