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