@shipstatic/ship 0.3.0 → 0.3.1

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
@@ -251,6 +251,7 @@ declare abstract class Ship$1 {
251
251
  protected http: ApiHttp;
252
252
  protected readonly clientOptions: ShipClientOptions;
253
253
  protected initPromise: Promise<void> | null;
254
+ protected _config: ConfigResponse | null;
254
255
  protected _deployments: DeploymentResource;
255
256
  protected _domains: DomainResource;
256
257
  protected _account: AccountResource;
@@ -291,6 +292,11 @@ declare abstract class Ship$1 {
291
292
  * Get tokens resource
292
293
  */
293
294
  get tokens(): TokenResource;
295
+ /**
296
+ * Get API configuration (file upload limits, etc.)
297
+ * Reuses platform config fetched during initialization, then caches the result
298
+ */
299
+ getConfig(): Promise<ConfigResponse>;
294
300
  /**
295
301
  * Add event listener
296
302
  * @param event - Event name