next-sanity 9.8.55 → 9.8.56
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.
- package/README.md +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -737,7 +737,7 @@ export async function generateStaticParams() {
|
|
|
737
737
|
|
|
738
738
|
### 4. Integrating with Next.js Draft Mode and Vercel Toolbar's Edit Mode
|
|
739
739
|
|
|
740
|
-
To support previewing draft content when Draft Mode is enabled, the `serverToken` passed to `defineLive` should be assigned the Viewer role, which has the ability to fetch content using the `
|
|
740
|
+
To support previewing draft content when Draft Mode is enabled, the `serverToken` passed to `defineLive` should be assigned the Viewer role, which has the ability to fetch content using the `drafts` perspective.
|
|
741
741
|
|
|
742
742
|
Click the Draft Mode button in the Vercel toolbar to enable draft content:
|
|
743
743
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-sanity",
|
|
3
|
-
"version": "9.8.
|
|
3
|
+
"version": "9.8.56",
|
|
4
4
|
"description": "Sanity.io toolkit for Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -138,12 +138,12 @@
|
|
|
138
138
|
"browserslist": "extends @sanity/browserslist-config",
|
|
139
139
|
"dependencies": {
|
|
140
140
|
"@portabletext/react": "^3.2.1",
|
|
141
|
-
"@sanity/client": "^6.
|
|
142
|
-
"@sanity/next-loader": "1.
|
|
143
|
-
"@sanity/preview-kit": "5.2.
|
|
141
|
+
"@sanity/client": "^6.28.0",
|
|
142
|
+
"@sanity/next-loader": "1.3.0",
|
|
143
|
+
"@sanity/preview-kit": "5.2.6",
|
|
144
144
|
"@sanity/preview-url-secret": "2.1.4",
|
|
145
|
-
"@sanity/visual-editing": "2.13.
|
|
146
|
-
"groq": "^3.
|
|
145
|
+
"@sanity/visual-editing": "2.13.2",
|
|
146
|
+
"groq": "^3.75.0",
|
|
147
147
|
"history": "^5.3.0"
|
|
148
148
|
},
|
|
149
149
|
"devDependencies": {
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"@sanity/webhook": "4.0.4",
|
|
154
154
|
"@types/react": "^19.0.8",
|
|
155
155
|
"@types/react-dom": "^19.0.3",
|
|
156
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
156
|
+
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
|
157
157
|
"@vitest/coverage-v8": "^3.0.5",
|
|
158
158
|
"eslint": "^8.57.1",
|
|
159
159
|
"eslint-config-prettier": "^10.0.1",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"eslint-plugin-react-compiler": "beta",
|
|
164
164
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
165
165
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
166
|
-
"next": "15.1.
|
|
166
|
+
"next": "15.1.7",
|
|
167
167
|
"react": "19.0.0",
|
|
168
168
|
"react-dom": "19.0.0",
|
|
169
169
|
"styled-components": "^6.1.15",
|
|
@@ -172,13 +172,13 @@
|
|
|
172
172
|
"vitest": "^3.0.5"
|
|
173
173
|
},
|
|
174
174
|
"peerDependencies": {
|
|
175
|
-
"@sanity/client": "^6.
|
|
175
|
+
"@sanity/client": "^6.28.0",
|
|
176
176
|
"@sanity/icons": "^3.5.7",
|
|
177
|
-
"@sanity/types": "^3.
|
|
177
|
+
"@sanity/types": "^3.75.0",
|
|
178
178
|
"@sanity/ui": "^2.12.3",
|
|
179
179
|
"next": "^14.2 || ^15.0.0-0",
|
|
180
180
|
"react": "^18.3 || ^19.0.0-0",
|
|
181
|
-
"sanity": "^3.
|
|
181
|
+
"sanity": "^3.75.0",
|
|
182
182
|
"styled-components": "^6.1"
|
|
183
183
|
},
|
|
184
184
|
"engines": {
|