@urql/exchange-request-policy
Advanced tools
Comparing version 1.1.0 to 1.2.0-canary-0204e044
# Changelog | ||
## 1.2.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)) | ||
## 1.1.0 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@urql/exchange-request-policy", | ||
"version": "1.1.0", | ||
"version": "1.2.0-canary-0204e044", | ||
"description": "An exchange for operation request-policy upgrading in urql", | ||
@@ -43,6 +43,9 @@ "sideEffects": false, | ||
"graphql": "^16.0.0", | ||
"@urql/core": "4.3.0" | ||
"@urql/core": "5.0.3" | ||
}, | ||
"peerDependencies": { | ||
"@urql/core": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"@urql/core": ">=4.3.0", | ||
"@urql/core": "^5.0.0", | ||
"wonka": "^6.3.2" | ||
@@ -49,0 +52,0 @@ }, |
@@ -19,3 +19,3 @@ # @urql/exchange-request-policy (Exchange factory) | ||
```js | ||
import { createClient, dedupExchange, cacheExchange, fetchExchange } from 'urql'; | ||
import { createClient, cacheExchange, fetchExchange } from 'urql'; | ||
import { requestPolicyExchange } from '@urql/exchange-request-policy'; | ||
@@ -26,3 +26,2 @@ | ||
exchanges: [ | ||
dedupExchange, | ||
requestPolicyExchange({ | ||
@@ -29,0 +28,0 @@ // The amount of time in ms that has to go by before upgrading, default is 5 minutes. |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
40414
3
2
39
Updated@urql/core@^5.0.0