Skip to content

Commit

Permalink
feat(node): use node-fetch instead of native fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
yquansah committed Jan 15, 2024
1 parent e4b898d commit 021df14
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 77 deletions.
106 changes: 30 additions & 76 deletions flipt-node/package-lock.json

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

2 changes: 1 addition & 1 deletion flipt-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"typescript": "^5.3.3"
},
"dependencies": {
"node-fetch": "^3.3.2"
"node-fetch": "^2.7.0"
}
}
1 change: 1 addition & 0 deletions flipt-node/src/evaluation/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import fetch from "node-fetch";
import { AuthenticationStrategy } from "..";
import {
BatchEvaluationRequest,
Expand Down

0 comments on commit 021df14

Please sign in to comment.