@riocrypto/common 1.0.648 → 1.0.649

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.
@@ -69,7 +69,7 @@ export declare class RioAdminClient {
69
69
  createBankPayout(oid: string, accountNumber: string, swiftCode?: string): Promise<BankPayout>;
70
70
  getBankPayout(orderId: string): Promise<BankPayout>;
71
71
  createCheckedAddress(address: string, crypto: Crypto): Promise<CheckedAddress>;
72
- createBankAccount(country: Country, fiat: Fiat, accountNumber: string, swiftCode?: string, notes?: string): Promise<BankAccount>;
72
+ createBankAccount(userId: string, country: Country, fiat: Fiat, accountNumber: string, swiftCode?: string, notes?: string): Promise<BankAccount>;
73
73
  deleteBankAccount(id: string): Promise<void>;
74
74
  getFeesByVolume(): Promise<{
75
75
  days: number;
@@ -248,9 +248,10 @@ class RioAdminClient {
248
248
  return response.data;
249
249
  });
250
250
  }
251
- createBankAccount(country, fiat, accountNumber, swiftCode, notes) {
251
+ createBankAccount(userId, country, fiat, accountNumber, swiftCode, notes) {
252
252
  return __awaiter(this, void 0, void 0, function* () {
253
253
  const response = yield this.axios.post(`/api/bank/accounts`, {
254
+ userId,
254
255
  country,
255
256
  fiat,
256
257
  accountNumber,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.648",
3
+ "version": "1.0.649",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",