@capgo/cli 7.94.2 → 7.94.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "7.94.2",
4
+ "version": "7.94.4",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -107,6 +107,7 @@
107
107
  "@types/qrcode": "^1.5.6",
108
108
  "@types/react": "^18.3.28",
109
109
  "@types/tmp": "^0.2.6",
110
+ "@types/ws": "^8.18.1",
110
111
  "@vercel/ncc": "^0.38.4",
111
112
  "adm-zip": "^0.5.16",
112
113
  "ci-info": "^4.3.1",
@@ -13,7 +13,7 @@ interface FindUnknownOptions {
13
13
  export declare function findUnknownVersion(supabase: SupabaseClient<Database>, appId: string, options?: FindUnknownOptions): Promise<{
14
14
  id: number;
15
15
  }>;
16
- export declare function createChannel(supabase: SupabaseClient<Database>, update: Database['public']['Tables']['channels']['Insert']): import("@supabase/postgrest-js").PostgrestBuilder<{
16
+ export declare function createChannel(supabase: SupabaseClient<Database>, update: Database['public']['Tables']['channels']['Insert']): import("@supabase/supabase-js").PostgrestBuilder<{
17
17
  PostgrestVersion: "14.1";
18
18
  }, {
19
19
  allow_dev: boolean;
@@ -35,10 +35,10 @@ export declare function createChannel(supabase: SupabaseClient<Database>, update
35
35
  updated_at: string;
36
36
  version: number;
37
37
  }, false>;
38
- export declare function delChannel(supabase: SupabaseClient<Database>, name: string, appId: string, _userId: string): import("@supabase/postgrest-js").PostgrestBuilder<{
38
+ export declare function delChannel(supabase: SupabaseClient<Database>, name: string, appId: string, _userId: string): import("@supabase/supabase-js").PostgrestBuilder<{
39
39
  PostgrestVersion: "14.1";
40
40
  }, never, false>;
41
- export declare function findChannel(supabase: SupabaseClient<Database>, appId: string, name: string): import("@supabase/postgrest-js").PostgrestBuilder<{
41
+ export declare function findChannel(supabase: SupabaseClient<Database>, appId: string, name: string): import("@supabase/supabase-js").PostgrestBuilder<{
42
42
  PostgrestVersion: "14.1";
43
43
  }, {
44
44
  allow_dev: boolean;
@@ -60,7 +60,7 @@ export declare function findChannel(supabase: SupabaseClient<Database>, appId: s
60
60
  updated_at: string;
61
61
  version: number;
62
62
  }, false>;
63
- export declare function findChannelDevices(supabase: SupabaseClient<Database>, appId: string, channelId: number): import("@supabase/postgrest-js").PostgrestFilterBuilder<{
63
+ export declare function findChannelDevices(supabase: SupabaseClient<Database>, appId: string, channelId: number): import("@supabase/supabase-js").PostgrestFilterBuilder<{
64
64
  PostgrestVersion: "14.1";
65
65
  }, {
66
66
  Tables: {
@@ -3542,7 +3542,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
3542
3542
  referencedRelation: "orgs";
3543
3543
  referencedColumns: ["id"];
3544
3544
  }], "GET">;
3545
- export declare function delChannelDevices(supabase: SupabaseClient<Database>, appId: string, channelId: number): import("@supabase/postgrest-js").PostgrestFilterBuilder<{
3545
+ export declare function delChannelDevices(supabase: SupabaseClient<Database>, appId: string, channelId: number): import("@supabase/supabase-js").PostgrestFilterBuilder<{
3546
3546
  PostgrestVersion: "14.1";
3547
3547
  }, {
3548
3548
  Tables: {
@@ -53,6 +53,9 @@ interface NativeDependencies {
53
53
  usesSPM: boolean;
54
54
  usesCocoaPods: boolean;
55
55
  }
56
+ interface ZipDirectoryOptions {
57
+ nodeModules?: string;
58
+ }
56
59
  /**
57
60
  * Check if a file path should be included in the zip
58
61
  */
@@ -63,7 +66,7 @@ export declare function shouldIncludeFile(filePath: string, platform: 'ios' | 'a
63
66
  * - node_modules with native code (from Podfile/settings.gradle)
64
67
  * - capacitor.config.*, package.json, package-lock.json
65
68
  */
66
- export declare function zipDirectory(projectDir: string, outputPath: string, platform: 'ios' | 'android', capConfig: any): Promise<void>;
69
+ export declare function zipDirectory(projectDir: string, outputPath: string, platform: 'ios' | 'android', capConfig: any, options?: ZipDirectoryOptions): Promise<void>;
67
70
  /**
68
71
  * Request a native build from Capgo's cloud build service
69
72
  *
@@ -20,6 +20,7 @@ export declare const buildRequestOptionsSchema: z.ZodObject<{
20
20
  supaHost: z.ZodOptional<z.ZodString>;
21
21
  supaAnon: z.ZodOptional<z.ZodString>;
22
22
  path: z.ZodOptional<z.ZodString>;
23
+ nodeModules: z.ZodOptional<z.ZodString>;
23
24
  platform: z.ZodEnum<{
24
25
  android: "android";
25
26
  ios: "ios";
@@ -258,6 +258,7 @@ export type ZipBundleOptions = z.infer<typeof zipBundleOptionsSchema>;
258
258
  export declare const requestBuildOptionsSchema: z.ZodObject<{
259
259
  appId: z.ZodString;
260
260
  path: z.ZodOptional<z.ZodString>;
261
+ nodeModules: z.ZodOptional<z.ZodString>;
261
262
  platform: z.ZodEnum<{
262
263
  android: "android";
263
264
  ios: "ios";