@urql/exchange-persisted
Advanced tools
Comparing version 4.2.0 to 4.3.0-canary-0204e044
# @urql/exchange-persisted-fetch | ||
## 4.3.0-canary-0204e044 | ||
### 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)) | ||
## 4.2.0 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@urql/exchange-persisted", | ||
"version": "4.2.0", | ||
"version": "4.3.0-canary-0204e044", | ||
"description": "An exchange that allows for persisted queries support when fetching queries", | ||
@@ -40,4 +40,7 @@ "sideEffects": false, | ||
], | ||
"peerDependencies": { | ||
"@urql/core": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"@urql/core": ">=4.3.0", | ||
"@urql/core": "^5.0.0", | ||
"wonka": "^6.3.2" | ||
@@ -47,3 +50,3 @@ }, | ||
"graphql": "^16.0.0", | ||
"@urql/core": "4.3.0" | ||
"@urql/core": "5.0.3" | ||
}, | ||
@@ -50,0 +53,0 @@ "publishConfig": { |
@@ -20,3 +20,3 @@ # @urql/exchange-persisted | ||
```js | ||
import { createClient, dedupExchange, fetchExchange, cacheExchange } from 'urql'; | ||
import { createClient, fetchExchange, cacheExchange } from 'urql'; | ||
import { persistedExchange } from '@urql/exchange-persisted'; | ||
@@ -27,3 +27,2 @@ | ||
exchanges: [ | ||
dedupExchange, | ||
cacheExchange, | ||
@@ -51,3 +50,3 @@ persistedExchange({ | ||
```js | ||
import { createClient, dedupExchange, fetchExchange, cacheExchange } from 'urql'; | ||
import { createClient, fetchExchange, cacheExchange } from 'urql'; | ||
import { persistedExchange } from '@urql/exchange-persisted'; | ||
@@ -58,3 +57,2 @@ | ||
exchanges: [ | ||
dedupExchange, | ||
cacheExchange, | ||
@@ -61,0 +59,0 @@ persistedExchange({ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
98950
3
2
62
Updated@urql/core@^5.0.0