next-sanity 7.1.0 → 7.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +12 -12
package/README.md CHANGED
@@ -524,7 +524,7 @@ Be aware that you can get errors if you use the `cache` and the `revalidate` c
524
524
 
525
525
  > **Note**
526
526
  >
527
- > [Content Source Maps][content-source-maps-intro] are available [as an API][content-source-maps] for select [Sanity enterprise customers][enterprise-cta]. [Contact our sales team for more information.][sales-cta]
527
+ > [Vercel Visual Editing][visual-editing] is available on [Vercel's Pro and Enterprise plans][vercel-enterprise] and on all Sanity plans.
528
528
 
529
529
  The `createClient` method in `next-sanity` supports [visual editing][visual-editing-intro], it supports all the same options as [`@sanity/preview-kit/client`][preview-kit-client]. Add `studioUrl` to your client configuration and it'll automatically show up on Vercel Preview Deployments:
530
530
 
@@ -756,3 +756,4 @@ MIT-licensed. See [LICENSE][LICENSE].
756
756
  [visual-editing-intro]: https://www.sanity.io/blog/visual-editing-sanity-vercel?utm_source=github&utm_medium=readme&utm_campaign=next-sanity
757
757
  [visual-editing]: https://www.sanity.io/docs/vercel-visual-editing?utm_source=github&utm_medium=readme&utm_campaign=next-sanity
758
758
  [webhook-template]: https://www.sanity.io/manage/webhooks/share?name=Tag-based+Revalidation+Hook+for+Next.js+13%2B&description=%5B%C2%A0%5D+Replace+URL+with+the+production*+URL+for+your+revalidation+handler+in+your+Next.js+app%0A%5B+%5D%C2%A0Insert%2Freplace+the+document+types+you+want+to+be+able+to+make+tags+for+in+the+Filter+array%0A%5B+%5D%C2%A0Make+a+Secret+that+you+also+add+to+your+app%27s+environment+variables+%28SANITY_REVALIDATE_SECRET%29%0A%0A*Or+preview+URL+for+preliminary+testing%0A%0AFor+complete+instructions%2C+see+the+README+on%3A%0Ahttps%3A%2F%2Fgithub.com%2Fsanity-io%2Fnext-sanity&url=https%3A%2F%2FYOUR-PRODUCTION-URL.TLD%2Fapi%2Frevalidate&on=create&on=update&on=delete&filter=_type+in+%5B%22post%22%2C+%22home%22%2C+%22OTHER_DOCUMENT_TYPE%22%5D&projection=%7B_type%7D&httpMethod=POST&apiVersion=v2021-03-25&includeDrafts=&headers=%7B%7D
759
+ [vercel-enterprise]: https://vercel.com/docs/accounts/plans/enterprise
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-sanity",
3
- "version": "7.1.0",
3
+ "version": "7.1.2",
4
4
  "description": "Sanity.io toolkit for Next.js",
5
5
  "keywords": [
6
6
  "sanity",
@@ -174,9 +174,9 @@
174
174
  "singleQuote": true
175
175
  },
176
176
  "dependencies": {
177
- "@sanity/client": "^6.12.3",
177
+ "@sanity/client": "^6.12.4",
178
178
  "@sanity/preview-kit": "5.0.19",
179
- "@sanity/visual-editing": "1.0.1",
179
+ "@sanity/visual-editing": "1.2.1",
180
180
  "@sanity/webhook": "4.0.0",
181
181
  "groq": "^3.19"
182
182
  },
@@ -184,14 +184,14 @@
184
184
  "@next/bundle-analyzer": "^14.1.0",
185
185
  "@next/eslint-plugin-next": "14.1.0",
186
186
  "@rollup/plugin-terser": "^0.4.4",
187
- "@sanity/browserslist-config": "^1.0.0",
187
+ "@sanity/browserslist-config": "^1.0.1",
188
188
  "@sanity/eslint-config-studio": "^3.0.1",
189
189
  "@sanity/image-url": "^1.0.2",
190
- "@sanity/pkg-utils": "^4.1.3",
191
- "@sanity/ui": "^2.0.1",
192
- "@sanity/vision": "3.27.1",
190
+ "@sanity/pkg-utils": "^4.1.5",
191
+ "@sanity/ui": "^2.0.2",
192
+ "@sanity/vision": "3.28.0",
193
193
  "@types/react": "^18.2.55",
194
- "@types/react-dom": "^18.2.18",
194
+ "@types/react-dom": "^18.2.19",
195
195
  "@typescript-eslint/eslint-plugin": "^6.21.0",
196
196
  "@vitest/coverage-v8": "^1.2.2",
197
197
  "autoprefixer": "^10.4.17",
@@ -204,7 +204,7 @@
204
204
  "groqd": "^0.15.10",
205
205
  "ls-engines": "^0.9.1",
206
206
  "next": "14.1.0",
207
- "postcss": "^8.4.34",
207
+ "postcss": "^8.4.35",
208
208
  "prettier": "^3.2.5",
209
209
  "prettier-plugin-packagejson": "^2.4.10",
210
210
  "prettier-plugin-tailwindcss": "^0.5.11",
@@ -212,7 +212,7 @@
212
212
  "react-dom": "^18.2.0",
213
213
  "react-is": "^18.2.0",
214
214
  "rollup": "^4.9.6",
215
- "sanity": "3.27.1",
215
+ "sanity": "3.28.0",
216
216
  "server-only": "^0.0.1",
217
217
  "styled-components": "^6.1.8",
218
218
  "suspend-react": "^0.1.3",
@@ -223,7 +223,7 @@
223
223
  "vitest-github-actions-reporter": "^0.11.1"
224
224
  },
225
225
  "peerDependencies": {
226
- "@sanity/client": "^6.12.3",
226
+ "@sanity/client": "^6.12.4",
227
227
  "@sanity/icons": "^2.8",
228
228
  "@sanity/types": "^3.25",
229
229
  "@sanity/ui": "^1.8 || ^2.0.0-beta || ^2.0",
@@ -233,6 +233,6 @@
233
233
  "styled-components": "^5.2 || ^6.0"
234
234
  },
235
235
  "engines": {
236
- "node": ">=18"
236
+ "node": ">=18.17"
237
237
  }
238
238
  }