@riocrypto/common 1.0.749 → 1.0.751

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/build/index.d.ts CHANGED
@@ -134,6 +134,7 @@ export * from "./types/user-query";
134
134
  export * from "./types/bank-account-query";
135
135
  export * from "./types/mexico-fiscal-regimen";
136
136
  export * from "./types/bridge-customer";
137
+ export * from "./types/bridge-transfer";
137
138
  export * from "./classes/Asset";
138
139
  export * from "./classes/CountryAsset";
139
140
  export * from "./classes/CryptoAsset";
package/build/index.js CHANGED
@@ -150,6 +150,7 @@ __exportStar(require("./types/user-query"), exports);
150
150
  __exportStar(require("./types/bank-account-query"), exports);
151
151
  __exportStar(require("./types/mexico-fiscal-regimen"), exports);
152
152
  __exportStar(require("./types/bridge-customer"), exports);
153
+ __exportStar(require("./types/bridge-transfer"), exports);
153
154
  __exportStar(require("./classes/Asset"), exports);
154
155
  __exportStar(require("./classes/CountryAsset"), exports);
155
156
  __exportStar(require("./classes/CryptoAsset"), exports);
@@ -0,0 +1,4 @@
1
+ export interface BridgeTransfer {
2
+ userId: string;
3
+ bridgeTransferId: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.749",
3
+ "version": "1.0.751",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",