@duely/client
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@duely/client", | ||
"type": "module", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"repository": "github:uoleevi/duely", | ||
@@ -17,2 +17,3 @@ "description": "GraphQL client by Duely (wrapper for @apollo/client)", | ||
"@apollo/client": "^3.2.5", | ||
"graphql": "^15.4.0", | ||
"subscriptions-transport-ws": "^0.9.18" | ||
@@ -25,3 +26,6 @@ }, | ||
"eslint": "^7.12.1" | ||
}, | ||
"peerDependencies": { | ||
"react": "^17.0.1" | ||
} | ||
} |
@@ -36,3 +36,5 @@ import { gql } from '@apollo/client'; | ||
result: d => d['log_in'], | ||
async after(cache, result) { | ||
async onCompleted(d) { | ||
const result = d['log_in'] | ||
if (!result.success) return; | ||
@@ -58,3 +60,5 @@ | ||
result: d => d['log_out'], | ||
async after(cache, result) { | ||
async onCompleted(d) { | ||
const result = d['log_out']; | ||
if (!result.success) return; | ||
@@ -61,0 +65,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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
3
25220
4
14
938
+ Addedgraphql@^15.4.0
+ Addedgraphql@15.9.0(transitive)
+ Addedreact@17.0.2(transitive)
- Removedgraphql@16.9.0(transitive)