@dripfi/drip-sdk 1.0.15 → 1.0.16
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.
- package/dist/DripApi.js +1 -1
- package/package.json +1 -1
package/dist/DripApi.js
CHANGED
@@ -24,7 +24,7 @@ class DripApi {
|
|
24
24
|
}
|
25
25
|
fetchTokenPrice(tokenName) {
|
26
26
|
return __awaiter(this, void 0, void 0, function* () {
|
27
|
-
const res = yield fetch(`${this.route}/api-be/api/tokenPrice
|
27
|
+
const res = yield fetch(`${this.route}/api-be/api/tokenPrice?tokenName=${tokenName}`);
|
28
28
|
if (!res.ok) {
|
29
29
|
throw Error(yield res.text());
|
30
30
|
}
|