Comparing version 0.2.1 to 0.2.2
@@ -10,2 +10,14 @@ # Changelog | ||
This release fixes a small discrepancy in the types used by `withUrqlClient` and the public API defined by our `index.d.ts` file. | ||
### Fixed | ||
- Use `NextUrqlClientConfig` in lieu of `NextUrqlClientOptions` in `index.d.ts` to match implementation of `withUrqlClient`. PR by @kylealwyn [here](https://github.com/FormidableLabs/next-urql/pull/9). | ||
### Diff | ||
https://github.com/FormidableLabs/next-urql/compare/v0.2.1...v0.2.2 | ||
## [0.2.1] - 2019-12-17 | ||
This release fixes a regression introduced in 0.2.0 involving circular structures created bt `withUrqlClient`'s `getInitialProps` method. | ||
@@ -12,0 +24,0 @@ |
@@ -26,3 +26,3 @@ import React from 'react'; | ||
declare const withUrqlClient: <T = any, IP = any>( | ||
clientOptions: NextUrqlClientOptions, | ||
clientOptions: NextUrqlClientConfig, | ||
mergeExchanges?: (ssrEx: SSRExchange) => Exchange[], | ||
@@ -29,0 +29,0 @@ ) => ( |
{ | ||
"name": "next-urql", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Convenience wrappers for using urql with NextJS.", | ||
@@ -5,0 +5,0 @@ "repository": "https://www.github.com/FormidableLabs/next-urql", |
22048