@sanity/preview-kit
Advanced tools
Comparing version 1.2.5 to 1.2.6
@@ -104,2 +104,8 @@ import type { Config } from '@sanity/groq-store' | ||
/** | ||
* The maximum number of documents, to prevent using too much memory unexpectedly | ||
* Throws on the first operation (query, retrieval, subscription) if reaching this limit. | ||
* @defaultValue 3000 | ||
*/ | ||
documentLimit?: number | ||
/** | ||
* You want to throw an error in this function if it's considered a failure if draft documents can't be queried. | ||
@@ -135,8 +141,2 @@ * | ||
/** | ||
* The maximum number of documents, to prevent using too much memory unexpectedly | ||
* Throws on the first operation (query, retrieval, subscription) if reaching this limit. | ||
* @defaultValue 3000 | ||
*/ | ||
documentLimit?: number | ||
/** | ||
* Lazy load `@sanity/groq-store` either using Suspense or `React.use` and `React.cache`. | ||
@@ -143,0 +143,0 @@ */ |
{ | ||
"name": "@sanity/preview-kit", | ||
"version": "1.2.5", | ||
"version": "1.2.6", | ||
"description": "General purpose live previews, like next-sanity", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -39,9 +39,2 @@ import type { Config, GroqStore } from '@sanity/groq-store' | ||
/** | ||
* The maximum number of documents, to prevent using too much memory unexpectedly | ||
* Throws on the first operation (query, retrieval, subscription) if reaching this limit. | ||
* @defaultValue 3000 | ||
*/ | ||
documentLimit?: number | ||
/** | ||
* Lazy load `@sanity/groq-store` either using Suspense or `React.use` and `React.cache`. | ||
@@ -207,2 +200,8 @@ */ | ||
/** | ||
* The maximum number of documents, to prevent using too much memory unexpectedly | ||
* Throws on the first operation (query, retrieval, subscription) if reaching this limit. | ||
* @defaultValue 3000 | ||
*/ | ||
documentLimit?: number | ||
/** | ||
* You want to throw an error in this function if it's considered a failure if draft documents can't be queried. | ||
@@ -209,0 +208,0 @@ * |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
82184