next-sanity 9.8.45 → 9.8.47

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 -0
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -779,6 +779,7 @@ In your `sanity.config.ts`, set the `previewMode.enable` option for `presentatio
779
779
 
780
780
  ```ts
781
781
  // sanity.config.ts
782
+ 'use client'
782
783
 
783
784
  import {defineConfig} from 'sanity'
784
785
  import {presentationTool} from 'next-sanity'
@@ -1045,6 +1046,7 @@ npx sanity@latest init
1045
1046
 
1046
1047
  ```ts
1047
1048
  // ./sanity.config.ts
1049
+ 'use client'
1048
1050
 
1049
1051
  import {defineConfig} from 'sanity'
1050
1052
  import {structureTool} from 'sanity/structure'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-sanity",
3
- "version": "9.8.45",
3
+ "version": "9.8.47",
4
4
  "description": "Sanity.io toolkit for Next.js",
5
5
  "keywords": [
6
6
  "sanity",
@@ -139,17 +139,17 @@
139
139
  "dependencies": {
140
140
  "@portabletext/react": "^3.2.0",
141
141
  "@sanity/client": "^6.27.2",
142
- "@sanity/next-loader": "1.2.21",
142
+ "@sanity/next-loader": "1.2.22",
143
143
  "@sanity/preview-kit": "5.2.2",
144
144
  "@sanity/preview-url-secret": "2.1.4",
145
- "@sanity/visual-editing": "2.12.10",
146
- "groq": "^3.71.2",
145
+ "@sanity/visual-editing": "2.12.11",
146
+ "groq": "^3.72.1",
147
147
  "history": "^5.3.0"
148
148
  },
149
149
  "devDependencies": {
150
150
  "@sanity/browserslist-config": "^1.0.5",
151
151
  "@sanity/eslint-config-studio": "^5.0.1",
152
- "@sanity/pkg-utils": "^7.0.3",
152
+ "@sanity/pkg-utils": "^7.0.4",
153
153
  "@sanity/webhook": "4.0.4",
154
154
  "@types/react": "^19.0.8",
155
155
  "@types/react-dom": "^19.0.3",
@@ -174,11 +174,11 @@
174
174
  "peerDependencies": {
175
175
  "@sanity/client": "^6.27.2",
176
176
  "@sanity/icons": "^3.5.7",
177
- "@sanity/types": "^3.71.2",
178
- "@sanity/ui": "^2.11.6",
177
+ "@sanity/types": "^3.72.1",
178
+ "@sanity/ui": "^2.11.7",
179
179
  "next": "^14.2 || ^15.0.0-0",
180
180
  "react": "^18.3 || ^19.0.0-0",
181
- "sanity": "^3.71.2",
181
+ "sanity": "^3.72.1",
182
182
  "styled-components": "^6.1"
183
183
  },
184
184
  "engines": {