@shipstatic/types 0.2.7 → 0.2.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/index.d.ts CHANGED
@@ -353,6 +353,18 @@ export interface AliasResource {
353
353
  confirm: (aliasName: string) => Promise<{
354
354
  message: string;
355
355
  }>;
356
+ dns: (aliasName: string) => Promise<{
357
+ alias: string;
358
+ dns: any;
359
+ }>;
360
+ records: (aliasName: string) => Promise<{
361
+ alias: string;
362
+ records: any[];
363
+ }>;
364
+ share: (aliasName: string) => Promise<{
365
+ alias: string;
366
+ hash: string;
367
+ }>;
356
368
  }
357
369
  /**
358
370
  * Account resource interface - the contract all implementations must follow
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Shared types for Shipstatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -597,6 +597,9 @@ export interface AliasResource {
597
597
  list: () => Promise<AliasListResponse>;
598
598
  remove: (aliasName: string) => Promise<void>;
599
599
  confirm: (aliasName: string) => Promise<{ message: string }>;
600
+ dns: (aliasName: string) => Promise<{ alias: string; dns: any }>;
601
+ records: (aliasName: string) => Promise<{ alias: string; records: any[] }>;
602
+ share: (aliasName: string) => Promise<{ alias: string; hash: string }>;
600
603
  }
601
604
 
602
605
  /**