next-sanity 13.3.3 → 13.3.4
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/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as isCorsOriginError } from "./isCorsOriginError.js";
|
|
2
|
-
import { createClient
|
|
2
|
+
import { createClient } from "@sanity/client";
|
|
3
3
|
import { ClientReturnStega, StegaBranded, StegaBranded as StegaBranded$1, StegaCleaned, StegaCleaned as StegaCleaned$1, StegaString, stegaBrand, stegaClean } from "@sanity/client/stega";
|
|
4
4
|
import { CreateDataAttribute, CreateDataAttributeProps, createDataAttribute } from "@sanity/visual-editing/create-data-attribute";
|
|
5
5
|
import { InferComponents as InferComponents$1, InferStrictComponents as InferStrictComponents$1, InferValue as InferValue$1 } from "@portabletext/react";
|
|
@@ -135,5 +135,5 @@ type InferStrictComponents<T> = InferStrictComponents$1<StegaAware<T>>;
|
|
|
135
135
|
* @public
|
|
136
136
|
*/
|
|
137
137
|
declare const variantsApiVersion = "X";
|
|
138
|
-
export { type ClientReturnStega, type CreateDataAttribute, type CreateDataAttributeProps, type InferComponents, type InferStrictComponents, type InferValue, type StegaBranded, type StegaCleaned, type StegaString, createClient, createDataAttribute, defineQuery, groq, isCorsOriginError, stegaBrand, stegaClean,
|
|
138
|
+
export { type ClientReturnStega, type CreateDataAttribute, type CreateDataAttributeProps, type InferComponents, type InferStrictComponents, type InferValue, type StegaBranded, type StegaCleaned, type StegaString, createClient, createDataAttribute, defineQuery, groq, isCorsOriginError, stegaBrand, stegaClean, variantsApiVersion };
|
|
139
139
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as isCorsOriginError } from "./isCorsOriginError.js";
|
|
2
|
-
import { createClient
|
|
2
|
+
import { createClient } from "@sanity/client";
|
|
3
3
|
import { stegaBrand, stegaClean } from "@sanity/client/stega";
|
|
4
4
|
import { createDataAttribute } from "@sanity/visual-editing/create-data-attribute";
|
|
5
5
|
import groq, { defineQuery } from "groq";
|
|
@@ -11,6 +11,6 @@ export * from "@portabletext/react";
|
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
13
|
const variantsApiVersion = "X";
|
|
14
|
-
export { createClient, createDataAttribute, defineQuery, groq, isCorsOriginError, stegaBrand, stegaClean,
|
|
14
|
+
export { createClient, createDataAttribute, defineQuery, groq, isCorsOriginError, stegaBrand, stegaClean, variantsApiVersion };
|
|
15
15
|
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-sanity",
|
|
3
|
-
"version": "13.3.
|
|
3
|
+
"version": "13.3.4",
|
|
4
4
|
"description": "Sanity.io toolkit for Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"live",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"@sanity/preview-url-secret": "^4.1.4",
|
|
65
65
|
"@sanity/visual-editing": "^6.0.4",
|
|
66
66
|
"@sanity/webhook": "^4.0.4",
|
|
67
|
-
"groq": "^6.
|
|
67
|
+
"groq": "^6.11.0",
|
|
68
68
|
"history": "^5.3.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@sanity/tsconfig": "^2.2.1",
|
|
72
72
|
"@types/node": "^24.13.3",
|
|
73
73
|
"@types/react": "^19.2.18",
|
|
74
|
-
"@types/react-dom": "^19.2.
|
|
74
|
+
"@types/react-dom": "^19.2.5",
|
|
75
75
|
"@vercel/stega": "^1.1.0",
|
|
76
76
|
"@vitejs/plugin-react": "^6.0.5",
|
|
77
77
|
"@vitest/browser-playwright": "^4.1.10",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"publint": "^0.3.23",
|
|
83
83
|
"react": "^19.2.8",
|
|
84
84
|
"react-dom": "^19.2.8",
|
|
85
|
-
"styled-components": "^6.5.
|
|
85
|
+
"styled-components": "^6.5.3",
|
|
86
86
|
"tsdown": "^0.22.14",
|
|
87
87
|
"typescript": "7.0.2",
|
|
88
88
|
"vite": "^8.2.1",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"vitest-package-exports": "^1.2.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@sanity/client": "^7.26.2",
|
|
94
|
+
"@sanity/client": "^7.26.2 || ^8.0.0",
|
|
95
95
|
"next": "^16.0.0-0",
|
|
96
96
|
"react": "^19.2.3",
|
|
97
97
|
"react-dom": "^19.2.3",
|