@shipstatic/ship 0.4.7 → 0.4.8

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/browser.d.ts CHANGED
@@ -104,7 +104,7 @@ interface ShipClientOptions {
104
104
  * Event map for Ship SDK events
105
105
  * Core events for observability: request, response, error
106
106
  */
107
- interface ShipEvents extends Record<string, any[]> {
107
+ interface ShipEvents {
108
108
  /** Emitted before each API request */
109
109
  request: [url: string, init: RequestInit];
110
110
  /** Emitted after successful API response */
@@ -644,6 +644,8 @@ declare class Ship extends Ship$1 {
644
644
  protected resolveInitialConfig(options: ShipClientOptions): ResolvedConfig;
645
645
  protected loadFullConfig(): Promise<void>;
646
646
  protected processInput(input: DeployInput, options: DeploymentOptions): Promise<StaticFile[]>;
647
+ /** Type guard that validates all elements are File objects */
648
+ private isFileArray;
647
649
  protected getDeployBodyCreator(): DeployBodyCreator;
648
650
  }
649
651