graphql-hooks
Advanced tools
Comparing version 6.2.1 to 6.2.2
@@ -504,3 +504,6 @@ (function (global, factory) { | ||
if (this.url) { | ||
return this.requestViaHttp(updatedOperation, options).then(transformResponse).then(resolve).catch(reject); | ||
return this.requestViaHttp( | ||
updatedOperation, | ||
options | ||
).then(transformResponse).then(resolve).catch(reject); | ||
} | ||
@@ -982,3 +985,6 @@ reject(new Error("GraphQLClient: config.url is required")); | ||
); | ||
mutationsEmitter.removeListener(Events.DATA_UPDATED, dataUpdatedCallback); | ||
mutationsEmitter.removeListener( | ||
Events.DATA_UPDATED, | ||
dataUpdatedCallback | ||
); | ||
} | ||
@@ -985,0 +991,0 @@ }; |
@@ -297,3 +297,6 @@ import React, { useContext, useRef, useEffect } from 'react'; | ||
if (this.url) { | ||
return this.requestViaHttp(updatedOperation, options).then(transformResponse).then(resolve).catch(reject); | ||
return this.requestViaHttp( | ||
updatedOperation, | ||
options | ||
).then(transformResponse).then(resolve).catch(reject); | ||
} | ||
@@ -700,3 +703,6 @@ reject(new Error("GraphQLClient: config.url is required")); | ||
); | ||
mutationsEmitter.removeListener(Events.DATA_UPDATED, dataUpdatedCallback); | ||
mutationsEmitter.removeListener( | ||
Events.DATA_UPDATED, | ||
dataUpdatedCallback | ||
); | ||
} | ||
@@ -703,0 +709,0 @@ }; |
@@ -306,3 +306,6 @@ 'use strict'; | ||
if (this.url) { | ||
return this.requestViaHttp(updatedOperation, options).then(transformResponse).then(resolve).catch(reject); | ||
return this.requestViaHttp( | ||
updatedOperation, | ||
options | ||
).then(transformResponse).then(resolve).catch(reject); | ||
} | ||
@@ -709,3 +712,6 @@ reject(new Error("GraphQLClient: config.url is required")); | ||
); | ||
mutationsEmitter.removeListener(Events.DATA_UPDATED, dataUpdatedCallback); | ||
mutationsEmitter.removeListener( | ||
Events.DATA_UPDATED, | ||
dataUpdatedCallback | ||
); | ||
} | ||
@@ -712,0 +718,0 @@ }; |
{ | ||
"name": "graphql-hooks", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"description": "Graphql Hooks", | ||
@@ -39,3 +39,3 @@ "main": "lib/graphql-hooks.js", | ||
"dependencies": { | ||
"@aws-crypto/sha256-browser": "^3.0.0", | ||
"@aws-crypto/sha256-browser": "^4.0.0", | ||
"buffer": "^6.0.3", | ||
@@ -47,7 +47,7 @@ "dequal": "^2.0.0", | ||
"devDependencies": { | ||
"@testing-library/react": "^13.0.0", | ||
"@testing-library/react": "^14.0.0", | ||
"@types/extract-files": "^8.1.1", | ||
"cross-env": "^7.0.3", | ||
"formdata-node": "^4.3.2", | ||
"graphql-hooks-memcache": "^3.1.0", | ||
"graphql-hooks-memcache": "^3.1.1", | ||
"graphql-hooks-ssr": "^3.0.0", | ||
@@ -68,4 +68,3 @@ "graphql-ws": "^5.5.5", | ||
}, | ||
"homepage": "https://github.com/nearform/graphql-hooks#readme", | ||
"gitHead": "8a0e5066e58e628b746bb7854ffc51a53288d263" | ||
"homepage": "https://github.com/nearform/graphql-hooks#readme" | ||
} |
243668
4247
+ Added@aws-crypto/ie11-detection@4.0.0(transitive)
+ Added@aws-crypto/sha256-browser@4.0.0(transitive)
+ Added@aws-crypto/sha256-js@4.0.0(transitive)
+ Added@aws-crypto/supports-web-crypto@4.0.0(transitive)
+ Added@aws-crypto/util@4.0.0(transitive)
- Removed@aws-crypto/ie11-detection@3.0.0(transitive)
- Removed@aws-crypto/sha256-browser@3.0.0(transitive)
- Removed@aws-crypto/sha256-js@3.0.0(transitive)
- Removed@aws-crypto/supports-web-crypto@3.0.0(transitive)
- Removed@aws-crypto/util@3.0.0(transitive)