Skip to content

Commit

Permalink
Node support was: 10, 12, 14. Become: 16, 18
Browse files Browse the repository at this point in the history
  • Loading branch information
koresar committed Aug 3, 2023
1 parent c3a5352 commit 58ad8ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node: ['10', '12', '14']
node: ['16', '18']
steps:
- uses: actions/checkout@v2

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Minimalistic (0 dependencies, 1Kb) GraphQL client for browsers and node.js with

## Why this project exists?

ApolloClient is a super cool GraphQL client. Plugable, universal, well documented, multi-protocol, smart caching, insane amount of features, etc. You should use it.
ApolloClient is a super cool GraphQL client. Pluggable, universal, well documented, multi-protocol, smart caching, insane amount of features, etc. You should use it.

However, it was too much for our humble needs. All we wanted is to do HTTP JSON calls which are cached in memory.

Expand Down Expand Up @@ -109,7 +109,7 @@ const graphqlClient = MiniGraphqlHttpClient({
method: "PUT", // default is "POST"

// The `fetch` implementation.
fetch: require("unfetch"), // Will attempt to use global `fetch`. You must provide `fetch` in Node.js.
fetch: require("unfetch"), // Will attempt to use global `fetch`.

// Number of retries if HTTP request fails - network error or 5xx response.
retry: 2, // Default is 0. The value 2 would mean we do total 3 attempts.
Expand Down

0 comments on commit 58ad8ba

Please sign in to comment.