Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/preview-kit

Package Overview
Dependencies
Maintainers
35
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/preview-kit - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

12

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc