Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

patch(retry): Make options argument optional (#3775)

authored by

Jacek Tomaszewski and committed by
GitHub
92a101a5 8c7ac6e2

+6 -1
+5
.changeset/slow-hotels-yawn.md
··· 1 + --- 2 + "@urql/exchange-retry": patch 3 + --- 4 + 5 + Mark options argument as optional (`retryExchange()`)
+1 -1
exchanges/retry/src/retryExchange.ts
··· 108 108 * }); 109 109 * ``` 110 110 */ 111 - export const retryExchange = (options: RetryExchangeOptions): Exchange => { 111 + export const retryExchange = (options: RetryExchangeOptions = {}): Exchange => { 112 112 const { retryIf, retryWith } = options; 113 113 const MIN_DELAY = options.initialDelayMs || 1000; 114 114 const MAX_DELAY = options.maxDelayMs || 15_000;