@riocrypto/common 1.0.749 → 1.0.750

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.
@@ -43,7 +43,6 @@ export declare class RioAdminClient {
43
43
  password?: string;
44
44
  newPassword?: string;
45
45
  }): Promise<Admin>;
46
- createBridgeKYCLink(userId: string): Promise<string>;
47
46
  getBridgeKYCLink(userId: string): Promise<string>;
48
47
  getAdminAuth(): Promise<any>;
49
48
  signoutAdmin(): Promise<void>;
@@ -109,15 +109,9 @@ class RioAdminClient {
109
109
  return data;
110
110
  });
111
111
  }
112
- createBridgeKYCLink(userId) {
113
- return __awaiter(this, void 0, void 0, function* () {
114
- const { data } = yield this.axios.post(`/api/users/${userId}/us/kyc-link`);
115
- return data.link;
116
- });
117
- }
118
112
  getBridgeKYCLink(userId) {
119
113
  return __awaiter(this, void 0, void 0, function* () {
120
- const { data } = yield this.axios.get(`/api/users/${userId}/us/kyc-link/`);
114
+ const { data } = yield this.axios.post(`/api/users/${userId}/us/kyc-link`);
121
115
  return data.link;
122
116
  });
123
117
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.749",
3
+ "version": "1.0.750",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",