Skip to content

Commit

Permalink
Add ky-universal
Browse files Browse the repository at this point in the history
sunsetlover36 committed Jun 27, 2023
1 parent 5b2e29c commit 85023c3
Showing 4 changed files with 197 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/getUsdPrice.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ky from "ky";
import ky from "ky-universal";

const cache = {};
export const getUsdPrice = async (...tickers) => {
2 changes: 1 addition & 1 deletion api/lifi.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ky from "ky";
import ky from "ky-universal";

/**
* Retrieves a quote for a specific HTTP GET request.
194 changes: 193 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -12,7 +12,8 @@
"console-stamp": "^3.1.1",
"ethers": "^6.5.1",
"figlet": "^1.6.0",
"ky": "^0.33.3"
"ky": "^0.33.3",
"ky-universal": "^0.11.0"
},
"devDependencies": {
"nodemon": "^2.0.22"

0 comments on commit 85023c3

Please sign in to comment.