Skip to content

Commit

Permalink
Remove Cross Fetch Dependency (#72)
Browse files Browse the repository at this point in the history
Remove Cross Fetch Dependency & Yarn Upgrade
  • Loading branch information
bh2smith authored Nov 12, 2024
1 parent ffb6410 commit 2488450
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 334 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"lint": "eslint ./src"
},
"dependencies": {
"cross-fetch": "^4.0.0",
"deprecated": "^0.0.2",
"loglevel": "^1.8.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/api/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class DuneClient {
results = await this.runQuery({ queryId, ...args });
} finally {
if (archiveAfter) {
this.query.archiveQuery(queryId);
await this.query.archiveQuery(queryId);
}
}

Expand Down
1 change: 0 additions & 1 deletion src/api/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
payloadSearchParams,
} from "../types";
import { version } from "../../package.json";
import fetch from "cross-fetch";
import log from "loglevel";
import { logPrefix } from "../utils";

Expand Down
Loading

0 comments on commit 2488450

Please sign in to comment.