@capgo/cli 8.32.5 → 8.32.7
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/index.js +666 -665
- package/dist/package.json +1 -1
- package/dist/src/api/update.d.ts +5 -1
- package/dist/src/bundle/reporter.d.ts +23 -0
- package/dist/src/bundle/upload.d.ts +4 -15
- package/dist/src/init/replay.d.ts +0 -2
- package/dist/src/init/runtime.d.ts +7 -0
- package/dist/src/replicationProgress.d.ts +10 -1
- package/dist/src/sdk.js +346 -346
- package/dist/src/utils.d.ts +2 -2
- package/package.json +1 -1
package/dist/src/utils.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import type { InstallCommand, PackageManagerRunner, PackageManagerType } from '@
|
|
|
2
2
|
import type { SemVer } from '@std/semver';
|
|
3
3
|
import type { SupabaseClient } from '@supabase/supabase-js';
|
|
4
4
|
import type { Buffer } from 'node:buffer';
|
|
5
|
+
import type { UploadSpinner } from './bundle/reporter';
|
|
5
6
|
import type { CapacitorConfig, ExtConfigPairs } from './config';
|
|
6
7
|
import type { Compatibility, CompatibilityDetails, NativePackage } from './schemas/common';
|
|
7
8
|
import type { Database } from './types/supabase.types';
|
|
8
|
-
import { spinner as spinnerC } from '@clack/prompts';
|
|
9
9
|
export declare const baseKey = ".capgo_key";
|
|
10
10
|
export declare const baseKeyV2 = ".capgo_key_v2";
|
|
11
11
|
export declare const baseKeyPub = ".capgo_key.pub";
|
|
@@ -5677,7 +5677,7 @@ export type manifestType = Awaited<ReturnType<typeof generateManifest>>;
|
|
|
5677
5677
|
export declare function zipFile(filePath: string): Promise<Buffer>;
|
|
5678
5678
|
export declare function zipFileUnix(filePath: string): Buffer<ArrayBufferLike>;
|
|
5679
5679
|
export declare function zipFileWindows(filePath: string): Promise<Buffer>;
|
|
5680
|
-
export declare function uploadTUS(apikey: string, data: Buffer, orgId: string, appId: string, name: string, spinner:
|
|
5680
|
+
export declare function uploadTUS(apikey: string, data: Buffer, orgId: string, appId: string, name: string, spinner: UploadSpinner, localConfig: CapgoConfig, chunkSize: number): Promise<boolean>;
|
|
5681
5681
|
export declare function deletedFailedVersion(supabase: SupabaseClient<Database>, appId: string, name: string): Promise<void>;
|
|
5682
5682
|
export interface VersionManifestEntry {
|
|
5683
5683
|
file_name: string;
|