@aurigami/sdk 1.20.3 → 1.20.4

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/sdk.esm.js CHANGED
@@ -1543,9 +1543,7 @@ function _fetchPriceFromDefiLlamaAPI() {
1543
1543
  while (1) switch (_context4.prev = _context4.next) {
1544
1544
  case 0:
1545
1545
  _context4.next = 2;
1546
- return axios.post("https://coins.llama.fi/prices", {
1547
- coins: [id]
1548
- }).then(function (res) {
1546
+ return axios.get("https://coins.llama.fi/prices/current/" + id).then(function (res) {
1549
1547
  return res.data.coins[id].price;
1550
1548
  })["catch"](function (err) {
1551
1549
  console.log("unable to fetch price from DefiLlama API: " + err);