@payloadcms/live-preview-react
Advanced tools
Comparing version 3.0.0-canary.ca3dd1c to 3.0.0-canary.cb7fa00
@@ -29,2 +29,4 @@ 'use client'; | ||
}); | ||
// refresh after the ready message is sent to get the latest data | ||
refresh(); | ||
} | ||
@@ -40,3 +42,4 @@ return ()=>{ | ||
depth, | ||
apiRoute | ||
apiRoute, | ||
refresh | ||
]); | ||
@@ -43,0 +46,0 @@ return null; |
{ | ||
"name": "@payloadcms/live-preview-react", | ||
"version": "3.0.0-canary.ca3dd1c", | ||
"description": "The official live preview React SDK for Payload", | ||
"version": "3.0.0-canary.cb7fa00", | ||
"description": "The official React SDK for Payload Live Preview", | ||
"homepage": "https://payloadcms.com", | ||
@@ -27,3 +27,3 @@ "repository": { | ||
"dependencies": { | ||
"@payloadcms/live-preview": "3.0.0-canary.ca3dd1c" | ||
"@payloadcms/live-preview": "3.0.0-canary.cb7fa00" | ||
}, | ||
@@ -33,8 +33,8 @@ "devDependencies": { | ||
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0", | ||
"payload": "3.0.0-canary.ca3dd1c", | ||
"@payloadcms/eslint-config": "3.0.0-beta.59" | ||
"@payloadcms/eslint-config": "3.0.0-beta.59", | ||
"payload": "3.0.0-canary.cb7fa00" | ||
}, | ||
"peerDependencies": { | ||
"react": "^19.0.0 || ^19.0.0-rc-6230622a1a-20240610", | ||
"react-dom": "^19.0.0 || ^19.0.0-rc-6230622a1a-20240610" | ||
"react": "^19.0.0 || ^19.0.0-rc-06d0b89e-20240801", | ||
"react-dom": "^19.0.0 || ^19.0.0-rc-06d0b89e-20240801" | ||
}, | ||
@@ -41,0 +41,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11526
110
+ Added@payloadcms/live-preview@3.0.0-canary.cb7fa00(transitive)
- Removed@payloadcms/live-preview@3.0.0-canary.ca3dd1c(transitive)