@urql/exchange-auth
Advanced tools
Comparing version 2.1.6 to 2.2.0-canary-019b1bb0
# Changelog | ||
## 2.2.0-canary-019b1bb0 | ||
### Minor Changes | ||
- Mark `@urql/core` as a peer dependency as well as a regular dependency | ||
Submitted by [@kitten](https://github.com/kitten) (See [#3579](https://github.com/urql-graphql/urql/pull/3579)) | ||
## 2.1.6 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@urql/exchange-auth", | ||
"version": "2.1.6", | ||
"version": "2.2.0-canary-019b1bb0", | ||
"description": "An exchange for managing authentication and token refresh in urql", | ||
@@ -42,4 +42,7 @@ "sideEffects": false, | ||
], | ||
"peerDependencies": { | ||
"@urql/core": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"@urql/core": ">=4.1.0", | ||
"@urql/core": "^5.0.0", | ||
"wonka": "^6.3.2" | ||
@@ -49,3 +52,3 @@ }, | ||
"graphql": "^16.0.0", | ||
"@urql/core": "4.1.1" | ||
"@urql/core": "5.0.3" | ||
}, | ||
@@ -52,0 +55,0 @@ "publishConfig": { |
@@ -20,3 +20,3 @@ <h2 align="center">@urql/exchange-auth</h2> | ||
```js | ||
import { createClient, dedupExchange, cacheExchange, fetchExchange } from 'urql'; | ||
import { createClient, cacheExchange, fetchExchange } from 'urql'; | ||
import { makeOperation } from '@urql/core'; | ||
@@ -28,3 +28,2 @@ import { authExchange } from '@urql/exchange-auth'; | ||
exchanges: [ | ||
dedupExchange, | ||
cacheExchange, | ||
@@ -31,0 +30,0 @@ authExchange(async utils => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
115189
3
2
103
Updated@urql/core@^5.0.0