@luxfi/bank 1.2.0 → 1.3.0
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 +7 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -186,9 +186,7 @@ export declare class Bank {
|
|
|
186
186
|
}>;
|
|
187
187
|
config(): Promise<Config>;
|
|
188
188
|
plans(): Promise<Plan[]>;
|
|
189
|
-
onboard(profile: Record<string, unknown>): Promise<
|
|
190
|
-
account: Account;
|
|
191
|
-
}>;
|
|
189
|
+
onboard(profile: Record<string, unknown>): Promise<Overview>;
|
|
192
190
|
overview(): Promise<Overview>;
|
|
193
191
|
transactions(): Promise<Transaction[]>;
|
|
194
192
|
accounts(): Promise<Account[]>;
|
|
@@ -205,8 +203,12 @@ export declare class Bank {
|
|
|
205
203
|
wallets(accountId: string): Promise<Wallet[]>;
|
|
206
204
|
accountTransactions(accountId: string): Promise<Transaction[]>;
|
|
207
205
|
beneficiaries(): Promise<Beneficiary[]>;
|
|
208
|
-
createBeneficiary(beneficiary: Record<string, unknown>): Promise<
|
|
209
|
-
|
|
206
|
+
createBeneficiary(beneficiary: Record<string, unknown>): Promise<{
|
|
207
|
+
id: string;
|
|
208
|
+
}>;
|
|
209
|
+
deleteBeneficiary(id: string): Promise<{
|
|
210
|
+
deleted: string;
|
|
211
|
+
}>;
|
|
210
212
|
cards(): Promise<Card[]>;
|
|
211
213
|
issueCard(currency?: string): Promise<{
|
|
212
214
|
card: Card;
|
package/package.json
CHANGED