@operato/graphql
Advanced tools
Comparing version 1.0.16 to 1.0.22
@@ -6,2 +6,11 @@ # Change Log | ||
### [1.0.22](https://github.com/hatiolab/operato/compare/v1.0.21...v1.0.22) (2022-09-18) | ||
### :bug: Bug Fix | ||
* [hot] escaping CSRF error during file-upload ([57d93b2](https://github.com/hatiolab/operato/commit/57d93b2e31efd932c71631750849bd6477bee6d2)) | ||
### [1.0.16](https://github.com/hatiolab/operato/compare/v1.0.15...v1.0.16) (2022-09-14) | ||
@@ -8,0 +17,0 @@ |
@@ -78,3 +78,4 @@ import { createUploadLink } from 'apollo-upload-client'; | ||
uri: GRAPHQL_URI, | ||
credentials: 'include' | ||
credentials: 'include', | ||
headers: { 'Apollo-Require-Preflight': 'true' } | ||
}; | ||
@@ -93,3 +94,3 @@ const httpLink = ApolloLink.split(operation => operation.getContext().hasUpload, createUploadLink(httpOptions), new HttpLink(httpOptions)); | ||
retryAttempts: 1000000, | ||
shouldRetry: (e) => true, | ||
shouldRetry: e => true, | ||
connectionParams: { | ||
@@ -96,0 +97,0 @@ headers: { |
@@ -6,3 +6,3 @@ { | ||
"author": "heartyoh@hatiolab.com", | ||
"version": "1.0.16", | ||
"version": "1.0.22", | ||
"main": "dist/src/index.js", | ||
@@ -61,3 +61,3 @@ "module": "dist/src/index.js", | ||
"@open-wc/testing": "^3.0.4", | ||
"@types/apollo-upload-client": "^14.1.0", | ||
"@types/apollo-upload-client": "^17.1.0", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
@@ -114,3 +114,3 @@ "@typescript-eslint/parser": "^4.33.0", | ||
}, | ||
"gitHead": "3e0514a3903e5a0278a0df8e4dd368ec4daf812c" | ||
"gitHead": "46518e9f9a36669321e716a4c0b4175683abc700" | ||
} |
@@ -105,3 +105,4 @@ import { createUploadLink } from 'apollo-upload-client' | ||
uri: GRAPHQL_URI, | ||
credentials: 'include' | ||
credentials: 'include', | ||
headers: { 'Apollo-Require-Preflight': 'true' } | ||
} | ||
@@ -129,3 +130,3 @@ | ||
retryAttempts: 1_000_000, | ||
shouldRetry: (e) => true, | ||
shouldRetry: e => true, | ||
connectionParams: { | ||
@@ -132,0 +133,0 @@ headers: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
144080
812