@shipstatic/ship 0.2.2 → 0.2.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/browser.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _shipstatic_types from '@shipstatic/types';
2
- import { PingResponse, ConfigResponse, StaticFile, Deployment, DeploymentListResponse, Alias, AliasListResponse, Account, DeployInput, DeploymentResource, AliasResource, AccountResource, KeysResource, PlatformConfig } from '@shipstatic/types';
2
+ import { PingResponse, ConfigResponse, StaticFile, Deployment, DeploymentListResponse, Alias, AliasListResponse, Account, DeployInput, DeploymentResource, AliasResource, AccountResource, PlatformConfig } from '@shipstatic/types';
3
3
  export * from '@shipstatic/types';
4
4
  export { Account, Alias, DEFAULT_API, DeployInput, Deployment, PingResponse, ShipError, ShipErrorType } from '@shipstatic/types';
5
5
 
@@ -193,13 +193,6 @@ declare class ApiHttp {
193
193
  * @returns Promise resolving to account details
194
194
  */
195
195
  getAccount(): Promise<Account>;
196
- /**
197
- * Creates a new API key for the authenticated user
198
- * @returns Promise resolving to the new API key
199
- */
200
- createApiKey(): Promise<{
201
- apiKey: string;
202
- }>;
203
196
  /**
204
197
  * Checks if files represent a SPA structure using AI analysis
205
198
  * @param files - Array of StaticFile objects to analyze
@@ -215,7 +208,6 @@ declare class ApiHttp {
215
208
  declare function createDeploymentResource(getApi: () => ApiHttp, clientDefaults?: ShipClientOptions, ensureInit?: () => Promise<void>, processInput?: (input: DeployInput, options: DeploymentOptions) => Promise<StaticFile[]>): DeploymentResource;
216
209
  declare function createAliasResource(getApi: () => ApiHttp, ensureInit?: () => Promise<void>): AliasResource;
217
210
  declare function createAccountResource(getApi: () => ApiHttp, ensureInit?: () => Promise<void>): AccountResource;
218
- declare function createKeysResource(getApi: () => ApiHttp, ensureInit?: () => Promise<void>): KeysResource;
219
211
 
220
212
  /**
221
213
  * Abstract base class for Ship SDK implementations.
@@ -230,7 +222,6 @@ declare abstract class Ship$1 {
230
222
  protected _deployments: DeploymentResource;
231
223
  protected _aliases: AliasResource;
232
224
  protected _account: AccountResource;
233
- protected _keys: KeysResource;
234
225
  constructor(options?: ShipClientOptions);
235
226
  protected abstract resolveInitialConfig(options: ShipClientOptions): any;
236
227
  protected abstract loadFullConfig(): Promise<void>;
@@ -263,10 +254,6 @@ declare abstract class Ship$1 {
263
254
  * Get account resource
264
255
  */
265
256
  get account(): AccountResource;
266
- /**
267
- * Get keys resource
268
- */
269
- get keys(): KeysResource;
270
257
  }
271
258
 
272
259
  /**
@@ -451,4 +438,4 @@ declare class Ship extends Ship$1 {
451
438
  protected processInput(input: DeployInput, options: DeploymentOptions): Promise<StaticFile[]>;
452
439
  }
453
440
 
454
- export { type ApiDeployOptions, ApiHttp, type Config, type DeployFile, type DeploymentOptions, type ExecutionEnvironment, JUNK_DIRECTORIES, type MD5Result, type ProgressStats, Ship, type ShipClientOptions, __setTestEnvironment, calculateMD5, createAccountResource, createAliasResource, createDeploymentResource, createKeysResource, Ship as default, filterJunk, getENV, loadConfig, mergeDeployOptions, optimizeDeployPaths, pluralize, processFilesForBrowser, resolveConfig, setConfig };
441
+ export { type ApiDeployOptions, ApiHttp, type Config, type DeployFile, type DeploymentOptions, type ExecutionEnvironment, JUNK_DIRECTORIES, type MD5Result, type ProgressStats, Ship, type ShipClientOptions, __setTestEnvironment, calculateMD5, createAccountResource, createAliasResource, createDeploymentResource, Ship as default, filterJunk, getENV, loadConfig, mergeDeployOptions, optimizeDeployPaths, pluralize, processFilesForBrowser, resolveConfig, setConfig };