@riocrypto/common-server 1.0.1174 → 1.0.1175

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.
@@ -175,7 +175,7 @@ declare class BridgeClient {
175
175
  last_4: string;
176
176
  }[]>;
177
177
  exchangePlaidPublicToken(linkToken: string, publicToken: string): Promise<void>;
178
- createExternalAccount(bridgeCustomerId: string, bankName: string, accountName: string, accountNumber: string, routingNumber: string, accountOwnerName: string, address: {
178
+ createExternalAccount(bridgeCustomerId: string, bankName: string, accountNumber: string, routingNumber: string, accountOwnerName: string, address: {
179
179
  streetLine1: string;
180
180
  streetLine2?: string;
181
181
  city: string;
@@ -179,12 +179,11 @@ class BridgeClient {
179
179
  return data;
180
180
  });
181
181
  }
182
- createExternalAccount(bridgeCustomerId, bankName, accountName, accountNumber, routingNumber, accountOwnerName, address) {
182
+ createExternalAccount(bridgeCustomerId, bankName, accountNumber, routingNumber, accountOwnerName, address) {
183
183
  return __awaiter(this, void 0, void 0, function* () {
184
184
  const { data } = yield axios_1.default.post(`${this.baseUrl}/v0/customers/${bridgeCustomerId}/external_accounts`, {
185
185
  type: "wire",
186
186
  bank_name: bankName,
187
- account_name: accountName,
188
187
  account_number: accountNumber,
189
188
  routing_number: routingNumber,
190
189
  account_owner_name: accountOwnerName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1174",
3
+ "version": "1.0.1175",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@aws-sdk/client-s3": "^3.297.0",
27
27
  "@everapi/currencyapi-js": "^1.0.6",
28
28
  "@google-cloud/storage": "^6.9.5",
29
- "@riocrypto/common": "^1.0.1054",
29
+ "@riocrypto/common": "^1.0.1056",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^0.27.2",
32
32
  "ccxt": "^3.0.30",