@luxfi/bank 1.0.1 → 1.1.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +18 -7
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -89,14 +89,24 @@ export interface Transaction {
89
89
  decimals: number;
90
90
  status: string;
91
91
  reference: string;
92
+ txHash?: string;
93
+ network?: string;
92
94
  created: string;
93
95
  }
94
96
  export interface Beneficiary {
95
97
  id: string;
96
98
  name: string;
99
+ bankAccountHolder: string;
97
100
  currency: string;
98
101
  country: string;
99
- [k: string]: unknown;
102
+ paymentType: string;
103
+ bankDetails: {
104
+ iban?: string;
105
+ bic?: string;
106
+ accountNumber?: string;
107
+ sortCode?: string;
108
+ };
109
+ verified: boolean;
100
110
  }
101
111
  export interface CryptoPrice {
102
112
  asset: string;
@@ -156,12 +166,13 @@ export interface CardholderProfile {
156
166
  };
157
167
  }
158
168
  export interface Overview {
159
- account: Account;
160
- balances: Balance[];
161
- wallet: Wallet | null;
162
- cards: Card[];
163
- transactions: Transaction[];
164
- [k: string]: unknown;
169
+ sandbox: boolean;
170
+ onboarded: boolean;
171
+ account?: Account;
172
+ balances?: Balance[];
173
+ wallet?: Wallet | null;
174
+ cards?: Card[];
175
+ recentTransactions?: Transaction[];
165
176
  }
166
177
  export declare class Bank {
167
178
  private baseUrl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxfi/bank",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Typed client for the Lux banking API (/v1/bank) — accounts, payments, cards, crypto, FX, and membership plans.",
5
5
  "license": "MIT",
6
6
  "repository": {