next-sanity 10.0.12 → 10.0.13

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 CHANGED
@@ -597,9 +597,6 @@ An end-to-end tutorial of [how to configure Sanity and Next.js for Visual Editin
597
597
 
598
598
  [The Live Content API][live-content-api] can be used to receive real time updates in your application when viewing both draft content in contexts like Presentation tool, and published content in your user-facing production application.
599
599
 
600
- > [!NOTE]
601
- > The Live Content API is currently considered experimental and may change in the future.
602
-
603
600
  ### Setup
604
601
 
605
602
  #### 1. Configure `defineLive`
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { lazy, Suspense } from "react";
3
+ import { Suspense, lazy } from "react";
4
4
  const NextStudioClientComponent = lazy(() => import("../_chunks-es/NextStudio.js"));
5
5
  function NextStudioLazyClientComponent(props) {
6
6
  return /* @__PURE__ */ jsx(Suspense, { fallback: null, children: /* @__PURE__ */ jsx(NextStudioClientComponent, { ...props }) });
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { lazy, Suspense } from "react";
3
+ import { Suspense, lazy } from "react";
4
4
  const VisualEditingClientComponent = lazy(() => import("../_chunks-es/VisualEditing.js"));
5
5
  function VisualEditingLazyClientComponent(props) {
6
6
  return /* @__PURE__ */ jsx(Suspense, { fallback: null, children: /* @__PURE__ */ jsx(VisualEditingClientComponent, { ...props }) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-sanity",
3
- "version": "10.0.12",
3
+ "version": "10.0.13",
4
4
  "description": "Sanity.io toolkit for Next.js",
5
5
  "keywords": [
6
6
  "sanity",
@@ -102,16 +102,16 @@
102
102
  "dependencies": {
103
103
  "@portabletext/react": "^3.2.1",
104
104
  "@sanity/client": "^7.8.2",
105
- "@sanity/next-loader": "^2.0.0",
105
+ "@sanity/next-loader": "^2.1.0",
106
106
  "@sanity/preview-url-secret": "^2.1.14",
107
107
  "@sanity/visual-editing": "^3.0.3",
108
- "groq": "^4.4.1",
108
+ "groq": "^4.5.0",
109
109
  "history": "^5.3.0"
110
110
  },
111
111
  "devDependencies": {
112
112
  "@sanity/browserslist-config": "^1.0.5",
113
- "@sanity/pkg-utils": "^7.11.9",
114
- "@sanity/types": "^4.4.1",
113
+ "@sanity/pkg-utils": "^8.0.3",
114
+ "@sanity/types": "^4.5.0",
115
115
  "@sanity/webhook": "4.0.4",
116
116
  "@types/react": "^19.1.8",
117
117
  "@types/react-dom": "^19.1.6",
@@ -129,7 +129,7 @@
129
129
  "next": "^15.1",
130
130
  "react": "^19",
131
131
  "react-dom": "^19",
132
- "sanity": "^4.4.1",
132
+ "sanity": "^4.5.0",
133
133
  "styled-components": "^6.1"
134
134
  },
135
135
  "engines": {