@sanity/react-loader
Advanced tools
Comparing version 0.5.3-pink-lizard to 0.6.0-pink-lizard
@@ -9,2 +9,21 @@ # Changelog | ||
## [0.6.0-pink-lizard](https://github.com/sanity-io/visual-editing/compare/react-loader-v0.5.3-pink-lizard...react-loader-v0.6.0-pink-lizard) (2023-11-08) | ||
### Features | ||
* support SSR-only mode ([96d82f2](https://github.com/sanity-io/visual-editing/commit/96d82f2873d358353102181a10913d34949d645f)) | ||
### Bug Fixes | ||
* **deps:** update dependency @sanity/client to v6.8.0-pink-lizard.8 ([#291](https://github.com/sanity-io/visual-editing/issues/291)) ([9623639](https://github.com/sanity-io/visual-editing/commit/9623639ac7c333ee7b13c253a61a7f9d4f9f599a)) | ||
### Dependencies | ||
* The following workspace dependencies were updated | ||
* dependencies | ||
* @sanity/core-loader bumped to 0.6.0-pink-lizard | ||
## [0.5.3-pink-lizard](https://github.com/sanity-io/visual-editing/compare/react-loader-v0.5.2-pink-lizard...react-loader-v0.5.3-pink-lizard) (2023-11-08) | ||
@@ -11,0 +30,0 @@ |
import type { ContentSourceMap } from '@sanity/client' | ||
import { createQueryStore as createQueryStore_2 } from '@sanity/core-loader' | ||
import { CreateQueryStoreOptions } from '@sanity/core-loader' | ||
@@ -20,2 +21,3 @@ import { EnableLiveModeOptions } from '@sanity/core-loader' | ||
}> | ||
setServerClient: ReturnType<typeof createQueryStore_2>['setServerClient'] | ||
useQuery: UseQueryHook | ||
@@ -22,0 +24,0 @@ useLiveMode: UseLiveModeHook |
@@ -6,2 +6,3 @@ import { createQueryStore as createQueryStore$1 } from '@sanity/core-loader'; | ||
createFetcherStore, | ||
setServerClient, | ||
enableLiveMode, | ||
@@ -40,2 +41,3 @@ unstable__cache | ||
allowStudioOrigin, | ||
client, | ||
onConnect, | ||
@@ -47,2 +49,3 @@ onDisconnect | ||
allowStudioOrigin, | ||
client, | ||
onConnect, | ||
@@ -52,3 +55,3 @@ onDisconnect | ||
return () => disableLiveMode(); | ||
}, [allowStudioOrigin, onConnect, onDisconnect]); | ||
}, [allowStudioOrigin, client, onConnect, onDisconnect]); | ||
}; | ||
@@ -74,2 +77,3 @@ const query = async (query2, params = {}) => { | ||
useQuery, | ||
setServerClient, | ||
useLiveMode | ||
@@ -76,0 +80,0 @@ }; |
{ | ||
"name": "@sanity/react-loader", | ||
"version": "0.5.3-pink-lizard", | ||
"version": "0.6.0-pink-lizard", | ||
"homepage": "https://github.com/sanity-io/visual-editing/tree/main/packages/react-loader#readme", | ||
@@ -123,6 +123,6 @@ "bugs": { | ||
"dependencies": { | ||
"@sanity/core-loader": "0.5.3-pink-lizard" | ||
"@sanity/core-loader": "0.6.0-pink-lizard" | ||
}, | ||
"devDependencies": { | ||
"@sanity/client": "6.8.0-pink-lizard.7", | ||
"@sanity/client": "6.8.0-pink-lizard.8", | ||
"@sanity/pkg-utils": "^3.2.3", | ||
@@ -142,3 +142,3 @@ "@types/react": "^18.2.37", | ||
"peerDependencies": { | ||
"@sanity/client": "6.8.0-pink-lizard.7", | ||
"@sanity/client": "6.8.0-pink-lizard.8", | ||
"react": "^18.2.0" | ||
@@ -145,0 +145,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
373534
1531
+ Added@sanity/client@6.8.0-pink-lizard.8(transitive)
+ Added@sanity/core-loader@0.6.0-pink-lizard(transitive)
+ Added@sanity/groq-store@5.2.3-pink-lizard(transitive)
- Removed@sanity/client@6.8.0-pink-lizard.7(transitive)
- Removed@sanity/core-loader@0.5.3-pink-lizard(transitive)
- Removed@sanity/groq-store@5.2.2-pink-lizard(transitive)