Skip to content

Commit

Permalink
node-fetch 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric committed Jun 12, 2023
1 parent 07ff704 commit 35b7030
Show file tree
Hide file tree
Showing 4 changed files with 171 additions and 216 deletions.
2 changes: 1 addition & 1 deletion example/imagine.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function main() {
SalaiToken: process.env.SALAI_TOKEN,
Debug: true,
SessionId: process.env.SALAI_TOKEN || "8bb7f5b79c7a49f7d0824ab4b8773a81",
} );
});
const msg = await client.Imagine("A little pink elephant", (uri) => {
console.log("loading", uri);
});
Expand Down
171 changes: 99 additions & 72 deletions 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
Expand Up @@ -35,6 +35,7 @@
"homepage": "https://github.com/erictik/midjourney-api#readme",
"devDependencies": {
"@types/node": "^18.16.0",
"@types/node-fetch": "^2.6.4",
"@types/ws": "^8.5.4",
"dotenv": "^16.0.3",
"prettier": "^2.8.8",
Expand All @@ -46,7 +47,7 @@
"@huggingface/inference": "^2.5.0",
"https-proxy-agent": "^7.0.0",
"isomorphic-ws": "^5.0.0",
"node-fetch": "^3.3.1",
"node-fetch": "^2.6.11",
"p-queue": "^6.6.2",
"snowyflake": "^2.0.0",
"throat": "^6.0.2",
Expand Down
Loading

0 comments on commit 35b7030

Please sign in to comment.