@capgo/cli 8.92.1 → 8.92.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.
@@ -222,6 +222,8 @@ export interface CapgoCliInvokeOptions {
222
222
  signal?: AbortSignal;
223
223
  /** Set false for telemetry-internal calls so perf events never recurse. */
224
224
  instrument?: boolean;
225
+ /** Opt this request into a newer `capgo_api` contract than the CLI default. */
226
+ apiVersion?: string;
225
227
  }
226
228
  export declare function getCapgoCliHttpStatus(error: unknown): number | undefined;
227
229
  export declare function readCapgoCliApiErrorPayload(error: unknown): Promise<{
@@ -422,7 +424,9 @@ export declare function getCompatibilityDetails(pkg: Compatibility): Compatibili
422
424
  * Simple compatibility check (backward compatible)
423
425
  */
424
426
  export declare function isCompatible(pkg: Compatibility): boolean;
425
- export declare function checkCompatibilityCloud(apikey: string, appId: string, channel: string, packageJsonPath: string | undefined, nodeModules: string | undefined, httpOptions?: CliHttpOptions): Promise<{
427
+ export declare function checkCompatibilityCloud(apikey: string, appId: string, channel: string, packageJsonPath: string | undefined, nodeModules: string | undefined, httpOptions?: CliHttpOptions,
428
+ /** Native packages of the channel bundle when the caller already loaded them. */
429
+ remoteNativePackages?: NativePackage[]): Promise<{
426
430
  finalCompatibility: {
427
431
  name: string;
428
432
  localVersion?: string | undefined;