@riocrypto/common-server 1.0.1793 → 1.0.1795

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.
@@ -205,9 +205,6 @@ class BridgeClient {
205
205
  }
206
206
  createExternalAccount(bridgeCustomerId, bankName, accountNumber, routingNumber, accountOwnerName, address) {
207
207
  return __awaiter(this, void 0, void 0, function* () {
208
- if ([common_1.RioEnv.Sandbox, common_1.RioEnv.Local].includes(process.env.RIO_ENV)) {
209
- throw new Error("Bridge external accounts are disabled in sandbox mode.");
210
- }
211
208
  const { data } = yield axios_with_logging_1.default.post(`${this.baseUrl}/v0/customers/${bridgeCustomerId}/external_accounts`, {
212
209
  type: "wire",
213
210
  bank_name: bankName,
@@ -9,7 +9,6 @@ interface BankAccountAttrs {
9
9
  fiat: Fiat;
10
10
  accountNumber?: string;
11
11
  approved: boolean;
12
- swiftCode?: string;
13
12
  CCI?: string;
14
13
  CLABE?: string;
15
14
  notes?: string;
@@ -25,7 +24,6 @@ interface BankAccountDoc extends Document {
25
24
  fiat: Fiat;
26
25
  accountNumber?: string;
27
26
  approved: boolean;
28
- swiftCode?: string;
29
27
  CCI?: string;
30
28
  CLABE?: string;
31
29
  notes?: string;
@@ -35,9 +35,6 @@ const buildBankAccount = (mongoose) => {
35
35
  accountNumber: {
36
36
  type: String,
37
37
  },
38
- swiftCode: {
39
- type: String,
40
- },
41
38
  CLABE: {
42
39
  type: String,
43
40
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1793",
3
+ "version": "1.0.1795",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",