@payloadcms/live-preview-react
Advanced tools
Comparing version 3.0.0-canary.5390729 to 3.0.0-canary.5624723
@@ -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.5390729", | ||
"description": "The official live preview React SDK for Payload", | ||
"version": "3.0.0-canary.5624723", | ||
"description": "The official React SDK for Payload Live Preview", | ||
"homepage": "https://payloadcms.com", | ||
@@ -13,2 +13,9 @@ "repository": { | ||
"author": "Payload <dev@payloadcms.com> (https://payloadcms.com)", | ||
"maintainers": [ | ||
{ | ||
"name": "Payload", | ||
"email": "info@payloadcms.com", | ||
"url": "https://payloadcms.com" | ||
} | ||
], | ||
"type": "module", | ||
@@ -28,13 +35,13 @@ "exports": { | ||
"dependencies": { | ||
"@payloadcms/live-preview": "3.0.0-canary.5390729" | ||
"@payloadcms/live-preview": "3.0.0-canary.5624723" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "npm:types-react@19.0.0-beta.2", | ||
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2", | ||
"@payloadcms/eslint-config": "1.1.1", | ||
"payload": "3.0.0-canary.5390729" | ||
"@types/react": "npm:types-react@19.0.0-rc.1", | ||
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1", | ||
"payload": "3.0.0-canary.5624723", | ||
"@payloadcms/eslint-config": "3.0.0-beta.112" | ||
}, | ||
"peerDependencies": { | ||
"react": "^19.0.0 || ^19.0.0-rc-f994737d14-20240522", | ||
"react-dom": "^19.0.0 || ^19.0.0-rc-f994737d14-20240522" | ||
"react": "^19.0.0 || ^19.0.0-rc-65a56d0e-20241020", | ||
"react-dom": "^19.0.0 || ^19.0.0-rc-65a56d0e-20241020" | ||
}, | ||
@@ -45,4 +52,4 @@ "publishConfig": { | ||
"overrides": { | ||
"@types/react": "npm:types-react@19.0.0-beta.2", | ||
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2" | ||
"@types/react": "npm:types-react@19.0.0-rc.1", | ||
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1" | ||
}, | ||
@@ -54,4 +61,6 @@ "scripts": { | ||
"clean": "rimraf {dist,*.tsbuildinfo}", | ||
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/" | ||
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12823
14
110
+ Added@payloadcms/live-preview@3.0.0-canary.5624723(transitive)
- Removed@payloadcms/live-preview@3.0.0-canary.5390729(transitive)