@riocrypto/common 1.0.1081 → 1.0.1083

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.
@@ -91,7 +91,7 @@ export declare class RioClient {
91
91
  createBridgePlaidLink(userId: string): Promise<string>;
92
92
  createBridgeExternalAccount(userId: string, bankName: string, accountNumber: string, routingNumber: string, accountOwnerName: string, streetLine1: string, streetLine2: string, city: string, state: string, postalCode: string, country: CountryOfOrigin): Promise<string>;
93
93
  createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CLABE?: string, CCI?: string, notes?: string): Promise<BankAccount>;
94
- updateBankAccount(id: string, userId?: string, country?: Country, fiat?: Fiat, bankName?: string, accountHolderName?: string, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
94
+ updateBankAccount(id: string, country?: Country, fiat?: Fiat, bankName?: string, accountHolderName?: string, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
95
95
  getFeesByVolume(): Promise<{
96
96
  days: number;
97
97
  fee: number;
@@ -328,10 +328,9 @@ class RioClient {
328
328
  return response.data;
329
329
  });
330
330
  }
331
- updateBankAccount(id, userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, notes, approved) {
331
+ updateBankAccount(id, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, notes, approved) {
332
332
  return __awaiter(this, void 0, void 0, function* () {
333
333
  const response = yield this.axios.patch(`/api/bank/accounts/${id}`, {
334
- userId,
335
334
  country,
336
335
  fiat,
337
336
  bankName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1081",
3
+ "version": "1.0.1083",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",