@riocrypto/common 1.0.888 → 1.0.889

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.
@@ -62,7 +62,7 @@ export declare class RioClient {
62
62
  createOrder(order: OrderInput): Promise<Order>;
63
63
  cancelOrder(id?: string): Promise<Order>;
64
64
  getOrder(id: string): Promise<Order>;
65
- createBankPayout(oid: string, accountNumber: string, swiftCode?: string): Promise<BankPayout>;
65
+ createBankPayout(oid: string, bankAccountId: string): Promise<BankPayout>;
66
66
  getBankPayout(orderId: string): Promise<BankPayout>;
67
67
  getBridgeOnboardingLinks(userId: string): Promise<{
68
68
  tosLink: string;
@@ -197,12 +197,11 @@ class RioClient {
197
197
  return response.data;
198
198
  });
199
199
  }
200
- createBankPayout(oid, accountNumber, swiftCode) {
200
+ createBankPayout(oid, bankAccountId) {
201
201
  return __awaiter(this, void 0, void 0, function* () {
202
202
  const response = yield this.axios.post(`/api/payouts/bank`, {
203
203
  orderId: oid,
204
- accountNumber,
205
- swiftCode,
204
+ bankAccountId,
206
205
  });
207
206
  return response.data;
208
207
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.888",
3
+ "version": "1.0.889",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",