@riocrypto/common 1.0.778 → 1.0.780

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
- getBridgeKYCLinks(userId: string): Promise<{
46
+ getBridgeOnboardingLinks(userId: string): Promise<{
47
47
  tosLink: string;
48
48
  kycLink: string;
49
49
  }>;
@@ -109,9 +109,9 @@ class RioAdminClient {
109
109
  return data;
110
110
  });
111
111
  }
112
- getBridgeKYCLinks(userId) {
112
+ getBridgeOnboardingLinks(userId) {
113
113
  return __awaiter(this, void 0, void 0, function* () {
114
- const { data } = yield this.axios.post(`/api/users/${userId}/us/kyc-link`);
114
+ const { data } = yield this.axios.get(`/api/users/${userId}/us/onboarding-links`);
115
115
  return data;
116
116
  });
117
117
  }
@@ -216,7 +216,7 @@ class RioAdminClient {
216
216
  }
217
217
  createBridgePlaidLink(userId) {
218
218
  return __awaiter(this, void 0, void 0, function* () {
219
- const response = yield this.axios.post(`/api/bank/us/link`, {
219
+ const response = yield this.axios.post(`/api/bank/us/accounts/link`, {
220
220
  userId,
221
221
  });
222
222
  return response.data.url;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.778",
3
+ "version": "1.0.780",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",