@riocrypto/common 1.0.1428 → 1.0.1429

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.
@@ -177,6 +177,7 @@ export declare class RioAdminClient {
177
177
  approved?: boolean;
178
178
  }): Promise<BankAccount>;
179
179
  deleteBankAccount(id: string): Promise<void>;
180
+ deleteAddress(id: string): Promise<void>;
180
181
  getFeesByVolume(): Promise<{
181
182
  days: number;
182
183
  fee: number;
@@ -665,6 +665,11 @@ class RioAdminClient {
665
665
  yield this.axios.delete(`/api/bank/accounts/${id}`);
666
666
  });
667
667
  }
668
+ deleteAddress(id) {
669
+ return __awaiter(this, void 0, void 0, function* () {
670
+ yield this.axios.delete(`/api/addresses/${id}`);
671
+ });
672
+ }
668
673
  getFeesByVolume() {
669
674
  return __awaiter(this, void 0, void 0, function* () {
670
675
  const response = yield this.axios.get(`/api/quotes/fees/by-volume`);
@@ -80,6 +80,7 @@ export declare class RioClient {
80
80
  label: string;
81
81
  }>;
82
82
  deleteBankAccount(id: string): Promise<void>;
83
+ deleteAddress(id: string): Promise<void>;
83
84
  deleteAPIKey(id: string): Promise<void>;
84
85
  confirmBankPayout(orderId: string): Promise<any>;
85
86
  getUser(userId?: string): Promise<User>;
@@ -231,6 +231,11 @@ class RioClient {
231
231
  yield this.axios.delete(`/api/bank/accounts/${id}`);
232
232
  });
233
233
  }
234
+ deleteAddress(id) {
235
+ return __awaiter(this, void 0, void 0, function* () {
236
+ yield this.axios.delete(`/api/addresses/${id}`);
237
+ });
238
+ }
234
239
  deleteAPIKey(id) {
235
240
  return __awaiter(this, void 0, void 0, function* () {
236
241
  yield this.axios.delete(`/api/auth/api-key/${id}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1428",
3
+ "version": "1.0.1429",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",