@riocrypto/common-server 1.0.1220 → 1.0.1221
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.
|
@@ -69,7 +69,7 @@ class ClusterClient {
|
|
|
69
69
|
noMarkups: quote.noMarkups,
|
|
70
70
|
}, {
|
|
71
71
|
headers: {
|
|
72
|
-
"x-api-key": this.clusterApiKey,
|
|
72
|
+
"x-cluster-api-key": this.clusterApiKey,
|
|
73
73
|
},
|
|
74
74
|
});
|
|
75
75
|
return response.data;
|
|
@@ -81,7 +81,7 @@ class ClusterClient {
|
|
|
81
81
|
userId,
|
|
82
82
|
}, {
|
|
83
83
|
headers: {
|
|
84
|
-
"x-api-key": this.clusterApiKey,
|
|
84
|
+
"x-cluster-api-key": this.clusterApiKey,
|
|
85
85
|
},
|
|
86
86
|
});
|
|
87
87
|
return response.data;
|
|
@@ -91,7 +91,7 @@ class ClusterClient {
|
|
|
91
91
|
return __awaiter(this, void 0, void 0, function* () {
|
|
92
92
|
const rioResponse = yield this.axios.get(`${this.baseUrl}/api/liquidity/${asset}`, {
|
|
93
93
|
headers: {
|
|
94
|
-
"x-api-key": this.clusterApiKey,
|
|
94
|
+
"x-cluster-api-key": this.clusterApiKey,
|
|
95
95
|
},
|
|
96
96
|
});
|
|
97
97
|
return rioResponse.data.balance;
|