···11+---
22+'@urql/exchange-persisted': minor
33+---
44+55+Allow persisted query logic to be skipped by the `persistedExchange` if the passed `generateHash` function resolves to a nullish value. This allows (A)PQ to be selectively disabled for individual operations.
···6868 * hashes at compile-time, or need to use a custom SHA-256 function,
6969 * you may pass one here.
7070 *
7171+ * If `generateHash` returns either `null` or `undefined`, the
7272+ * operation will not be treated as a persisted operation, which
7373+ * essentially skips this exchange’s logic for a given operation.
7474+ *
7175 * Hint: The default SHA-256 function uses the WebCrypto API. This
7276 * API is unavailable on React Native, which may require you to
7377 * pass a custom function here.
···7579 generateHash?(
7680 query: string,
7781 document: TypedDocumentNode<any, any>
7878- ): Promise<string>;
8282+ ): Promise<string | undefined | null>;
7983 /** Enables persisted queries to be used for mutations.
8084 *
8185 * @remarks