Skip to content

Commit

Permalink
Merge pull request #105 from Premian-Labs/issue/errorPolicy
Browse files Browse the repository at this point in the history
Add errorPolicy to watchQuery
  • Loading branch information
froggiedev committed Apr 30, 2024
2 parents 705728f + 1c00700 commit fc48bbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@premia/v3-sdk",
"version": "2.6.3",
"version": "2.7.0",
"description": "The official SDK for building applications on Premia V3.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ export const Addresses: AddressMap = {
export const DefaultApolloClientOptions: DefaultOptions = {
watchQuery: {
fetchPolicy: 'no-cache',
errorPolicy: 'ignore',
},
query: {
fetchPolicy: 'no-cache',
errorPolicy: 'all',
errorPolicy: 'ignore',
},
}

0 comments on commit fc48bbf

Please sign in to comment.