@luxfi/bank 1.3.1 → 1.3.3
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 +3 -0
- package/package.json +7 -6
package/dist/index.d.ts
CHANGED
|
@@ -171,6 +171,7 @@ export interface Overview {
|
|
|
171
171
|
account?: Account;
|
|
172
172
|
balances?: Balance[];
|
|
173
173
|
wallet?: Wallet | null;
|
|
174
|
+
wallets?: Wallet[];
|
|
174
175
|
cards?: Card[];
|
|
175
176
|
recentTransactions?: Transaction[];
|
|
176
177
|
}
|
|
@@ -213,6 +214,7 @@ export declare class Bank {
|
|
|
213
214
|
issueCard(currency?: string): Promise<{
|
|
214
215
|
card: Card;
|
|
215
216
|
cvv: string;
|
|
217
|
+
pan: string;
|
|
216
218
|
}>;
|
|
217
219
|
freezeCard(id: string): Promise<Card>;
|
|
218
220
|
unfreezeCard(id: string): Promise<Card>;
|
|
@@ -246,6 +248,7 @@ export declare class Bank {
|
|
|
246
248
|
}>;
|
|
247
249
|
wallet(): Promise<{
|
|
248
250
|
wallet: Wallet;
|
|
251
|
+
wallets: Wallet[];
|
|
249
252
|
holdings: Balance[];
|
|
250
253
|
network: string;
|
|
251
254
|
sandbox: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxfi/bank",
|
|
3
|
-
"version": "1.3.
|
|
4
|
-
"description": "Typed client for the Lux banking API (/v1/bank)
|
|
3
|
+
"version": "1.3.3",
|
|
4
|
+
"description": "Typed client for the Lux banking API (/v1/bank) \u2014 accounts, payments, cards, crypto, FX, and membership plans.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,11 +21,12 @@
|
|
|
21
21
|
"dist",
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"typescript": "^5.9.0"
|
|
26
|
-
},
|
|
27
24
|
"scripts": {
|
|
28
25
|
"build": "tsc",
|
|
26
|
+
"prepublishOnly": "tsc",
|
|
29
27
|
"test": "node --test test/bank.test.ts"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"typescript": "^5.9.0"
|
|
30
31
|
}
|
|
31
|
-
}
|
|
32
|
+
}
|