@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 +12 -0
- package/package.json +1 -1
- package/src/index.ts +3 -0
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
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
|
/**
|