domani 1.0.4 → 1.0.5
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 +6 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -740,6 +740,9 @@ export interface AccountInfo {
|
|
|
740
740
|
workspace_plans: string[];
|
|
741
741
|
/** Whether the user has a card on file (required before buying domains) */
|
|
742
742
|
has_payment_method: boolean;
|
|
743
|
+
preferred_payment_method: "card" | "usdc" | null;
|
|
744
|
+
/** Locale used by Domani interfaces and transactional communications */
|
|
745
|
+
preferred_locale: "en" | "fr" | "es" | "pt-BR" | "ja" | "zh-Hans" | "it";
|
|
743
746
|
/** Whether the user has set WHOIS contact info (required before purchasing domains) */
|
|
744
747
|
has_contact: boolean;
|
|
745
748
|
/** Registrant contact info (null if not set) */
|
|
@@ -2569,9 +2572,11 @@ export declare class Domani {
|
|
|
2569
2572
|
}): Promise<unknown>;
|
|
2570
2573
|
/** Update account preferences (PUT /api/me) */
|
|
2571
2574
|
updateAccount(body: {
|
|
2572
|
-
preferred_payment_method
|
|
2575
|
+
preferred_payment_method?: "card" | "usdc" | null;
|
|
2576
|
+
preferred_locale?: "en" | "fr" | "es" | "pt-BR" | "ja" | "zh-Hans" | "it";
|
|
2573
2577
|
}): Promise<{
|
|
2574
2578
|
preferred_payment_method?: string | null;
|
|
2579
|
+
preferred_locale?: "en" | "fr" | "es" | "pt-BR" | "ja" | "zh-Hans" | "it";
|
|
2575
2580
|
hint?: string;
|
|
2576
2581
|
}>;
|
|
2577
2582
|
/** Dismiss or restore first-run guidance (PUT /api/me/activation) */
|