@riocrypto/common 1.0.762 → 1.0.763

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