@soundxyz/graphql-react-ws
Advanced tools
Comparing version 1.0.0-alpha-31e4760.0 to 1.0.0-alpha-3de4fe6.0
# @soundxyz/graphql-react-ws | ||
## 1.0.0-alpha-31e4760.0 | ||
## 1.0.0-alpha-3de4fe6.0 | ||
@@ -5,0 +5,0 @@ ### Major Changes |
@@ -168,4 +168,6 @@ import { createClient } from 'graphql-ws'; | ||
setData(result); | ||
latestData.current = result; | ||
if (!errors && latestError.current) { | ||
setError(null); | ||
latestError.current = null; | ||
} | ||
@@ -181,2 +183,3 @@ } | ||
setError(result); | ||
latestError.current = result; | ||
} | ||
@@ -183,0 +186,0 @@ } |
{ | ||
"name": "@soundxyz/graphql-react-ws", | ||
"version": "1.0.0-alpha-31e4760.0", | ||
"version": "1.0.0-alpha-3de4fe6.0", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
{ | ||
"name": "@soundxyz/graphql-react-ws", | ||
"version": "1.0.0-alpha-31e4760.0", | ||
"version": "1.0.0-alpha-3de4fe6.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "PabloSzx <pablosaez1995@gmail.com>", |
@@ -254,5 +254,7 @@ import { createClient, ClientOptions, SubscribePayload, ExecutionResult } from 'graphql-ws'; | ||
setData(result); | ||
latestData.current = result; | ||
if (!errors && latestError.current) { | ||
setError(null); | ||
latestError.current = null; | ||
} | ||
@@ -270,2 +272,3 @@ } | ||
setError(result); | ||
latestError.current = result; | ||
} | ||
@@ -272,0 +275,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32232
698