@riocrypto/common 1.0.935 → 1.0.937
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.
|
@@ -347,7 +347,7 @@ class RioAdminClient {
|
|
|
347
347
|
}
|
|
348
348
|
createCryptoAddress(address, crypto, userId, label) {
|
|
349
349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
350
|
-
const response = yield this.axios.post(`/api/
|
|
350
|
+
const response = yield this.axios.post(`/api/addresses`, {
|
|
351
351
|
address,
|
|
352
352
|
crypto,
|
|
353
353
|
userId,
|
|
@@ -239,9 +239,11 @@ class RioClient {
|
|
|
239
239
|
}
|
|
240
240
|
createCryptoAddress(address, crypto, userId, label) {
|
|
241
241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
242
|
-
const response = yield this.axios.post(`/api/
|
|
242
|
+
const response = yield this.axios.post(`/api/addresses`, {
|
|
243
243
|
address,
|
|
244
244
|
crypto,
|
|
245
|
+
userId,
|
|
246
|
+
label,
|
|
245
247
|
});
|
|
246
248
|
return response.data;
|
|
247
249
|
});
|