next-sanity 13.0.0-cache-components.31 → 13.0.0-cache-components.32

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/constants.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const revalidate = 31536e3;
2
2
  const cacheTagPrefixes = {
3
3
  published: "sanity:",
4
- drafts: "sanity:drafts:"
4
+ drafts: "sanity-drafts:"
5
5
  };
6
6
  export { revalidate as n, cacheTagPrefixes as t };
7
7
 
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","names":[],"sources":["../src/live/shared/constants.ts"],"sourcesContent":["import type {CacheTagPrefixes} from './types'\n\n/**\n * Sanity Live handles on-demand revalidation, so the default 15min time based revalidation is too short\n */\nexport const revalidate = 31_536_000 // 365 days\n\nexport const cacheTagPrefixes = {\n published: 'sanity:',\n drafts: 'sanity:drafts:',\n} satisfies CacheTagPrefixes\n"],"mappings":"AAKA,MAAa,aAAa;AAE1B,MAAa,mBAAmB;CAC9B,WAAW;CACX,QAAQ;CACT"}
1
+ {"version":3,"file":"constants.js","names":[],"sources":["../src/live/shared/constants.ts"],"sourcesContent":["import type {CacheTagPrefixes} from './types'\n\n/**\n * Sanity Live handles on-demand revalidation, so the default 15min time based revalidation is too short\n */\nexport const revalidate = 31_536_000 // 365 days\n\nexport const cacheTagPrefixes = {\n published: 'sanity:',\n drafts: 'sanity-drafts:',\n} satisfies CacheTagPrefixes\n"],"mappings":"AAKA,MAAa,aAAa;AAE1B,MAAa,mBAAmB;CAC9B,WAAW;CACX,QAAQ;CACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-sanity",
3
- "version": "13.0.0-cache-components.31",
3
+ "version": "13.0.0-cache-components.32",
4
4
  "description": "Sanity.io toolkit for Next.js",
5
5
  "keywords": [
6
6
  "live",
@@ -66,12 +66,11 @@
66
66
  "@sanity/comlink": "^4.0.1",
67
67
  "@sanity/presentation-comlink": "^2.0.1",
68
68
  "@sanity/preview-url-secret": "^4.0.4",
69
- "@sanity/visual-editing": "^5.3.1",
69
+ "@sanity/visual-editing": "^5.3.2",
70
70
  "@sanity/webhook": "^4.0.4",
71
71
  "dequal": "^2.0.3",
72
72
  "groq": "^5.17.1",
73
- "history": "^5.3.0",
74
- "server-only": "^0.0.1"
73
+ "history": "^5.3.0"
75
74
  },
76
75
  "devDependencies": {
77
76
  "@sanity/tsconfig": "^2.1.0",
@@ -86,7 +85,7 @@
86
85
  "publint": "^0.3.18",
87
86
  "react": "^19.2.4",
88
87
  "react-dom": "^19.2.4",
89
- "styled-components": "^6.3.12",
88
+ "styled-components": "npm:@sanity/styled-components@6.1.23",
90
89
  "tsdown": "0.20.3",
91
90
  "typedoc": "^0.28.17",
92
91
  "typescript": "5.9.3",