@payloadcms/live-preview-react
Advanced tools
Comparing version 3.0.0-canary.03427d3 to 3.0.0-canary.0374de4
@@ -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.03427d3", | ||
"description": "The official live preview React SDK for Payload", | ||
"version": "3.0.0-canary.0374de4", | ||
"description": "The official React SDK for Payload Live Preview", | ||
"homepage": "https://payloadcms.com", | ||
@@ -17,4 +17,4 @@ "repository": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
} | ||
@@ -28,13 +28,13 @@ }, | ||
"dependencies": { | ||
"@payloadcms/live-preview": "3.0.0-canary.03427d3" | ||
"@payloadcms/live-preview": "3.0.0-canary.0374de4" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "npm:types-react@19.0.0-beta.2", | ||
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2", | ||
"payload": "3.0.0-canary.03427d3", | ||
"@payloadcms/eslint-config": "1.1.1" | ||
"@types/react": "npm:types-react@19.0.0-rc.0", | ||
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0", | ||
"payload": "3.0.0-canary.0374de4", | ||
"@payloadcms/eslint-config": "3.0.0-beta.97" | ||
}, | ||
"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-06d0b89e-20240801", | ||
"react-dom": "^19.0.0 || ^19.0.0-rc-06d0b89e-20240801" | ||
}, | ||
@@ -45,4 +45,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.0", | ||
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0" | ||
}, | ||
@@ -54,4 +54,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
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
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
11584
110
+ Added@payloadcms/live-preview@3.0.0-canary.0374de4(transitive)
- Removed@payloadcms/live-preview@3.0.0-canary.03427d3(transitive)