@payloadcms/live-preview-react
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -17,2 +17,3 @@ "use strict"; | ||
const [isLoading, setIsLoading] = (0, _react.useState)(true); | ||
const hasSentReadyMessage = (0, _react.useRef)(false); | ||
const onChange = (0, _react.useCallback)((mergedData)=>{ | ||
@@ -29,2 +30,8 @@ setData(mergedData); | ||
}); | ||
if (!hasSentReadyMessage.current) { | ||
hasSentReadyMessage.current = true; | ||
(0, _livepreview.ready)({ | ||
serverURL | ||
}); | ||
} | ||
return ()=>{ | ||
@@ -45,2 +52,2 @@ (0, _livepreview.unsubscribe)(subscription); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBzdWJzY3JpYmUsIHVuc3Vic2NyaWJlIH0gZnJvbSAnQHBheWxvYWRjbXMvbGl2ZS1wcmV2aWV3J1xuaW1wb3J0IHsgdXNlQ2FsbGJhY2ssIHVzZUVmZmVjdCwgdXNlU3RhdGUgfSBmcm9tICdyZWFjdCdcblxuLy8gVG8gcHJldmVudCB0aGUgZmxpY2tlciBvZiBtaXNzaW5nIGRhdGEgb24gaW5pdGlhbCBsb2FkLFxuLy8geW91IGNhbiBwYXNzIGluIHRoZSBpbml0aWFsIHBhZ2UgZGF0YSBmcm9tIHRoZSBzZXJ2ZXJcbi8vIFRvIHByZXZlbnQgdGhlIGZsaWNrZXIgb2Ygc3RhbGUgZGF0YSB3aGlsZSB0aGUgcG9zdCBtZXNzYWdlIGlzIGJlaW5nIHNlbnQsXG4vLyB5b3UgY2FuIGNvbmRpdGlvbmFsbHkgcmVuZGVyIGxvYWRpbmcgVUkgYmFzZWQgb24gdGhlIGBpc0xvYWRpbmdgIHN0YXRlXG5cbmV4cG9ydCBjb25zdCB1c2VMaXZlUHJldmlldyA9IDxUIGV4dGVuZHMgYW55Pihwcm9wczoge1xuICBkZXB0a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GlCQUFpQixDQUFnQkM7SUFRNUMsTUFBTSxFQUFFQyxRQUFRLENBQUMsRUFBRUMsV0FBVyxFQUFFQyxTQUFTLEVBQUUsR0FBR0g7SUFDOUMsTUFBTSxDQUFDSSxNQUFNQyxRQUFRLEdBQUdDLElBQUFBLGVBQVEsRUFBSUo7SUFDcEMsTUFBTSxDQUFDSyxXQUFXQyxhQUFhLEdBQUdGLElBQUFBLGVBQVEsRUFBVTtJQUNwRCxNQUFNRyxzQkFBc0JDLElBQUFBLGFBQU0sRUFBVTtJQUU1QyxNQUFNQyxXQUFXQyxJQUFBQSxrQkFBVyxFQUFDLENBQUNDO1FBQzVCUixRQUFRUTtRQUNSTCxhQUFhO0lBQ2YsR0FBRyxFQUFFO0lBRUxNLElBQUFBLGdCQUFTLEVBQUM7UUFDUixNQUFNQyxlQUFlQyxJQUFBQSxzQkFBUyxFQUFDO1lBQzdCQyxVQUFVTjtZQUNWVjtZQUNBQztZQUNBQztRQUNGO1FBRUEsSUFBSSxDQUFDTSxvQkFBb0JTLE9BQU8sRUFBRTtZQUNoQ1Qsb0JBQW9CUyxPQUFPLEdBQUc7WUFFOUJDLElBQUFBLGtCQUFLLEVBQUM7Z0JBQ0poQjtZQUNGO1FBQ0Y7UUFFQSxPQUFPO1lBQ0xpQixJQUFBQSx3QkFBVyxFQUFDTDtRQUNkO0lBQ0YsR0FBRztRQUFDWjtRQUFXUTtRQUFVVjtRQUFPQztLQUFZO0lBRTVDLE9BQU87UUFDTEU7UUFDQUc7SUFDRjtBQUNGIn0= |
@@ -17,2 +17,3 @@ "use strict"; | ||
const [isLoading, setIsLoading] = (0, _react.useState)(true); | ||
const hasSentReadyMessage = (0, _react.useRef)(false); | ||
const onChange = (0, _react.useCallback)((mergedData)=>{ | ||
@@ -29,2 +30,8 @@ setData(mergedData); | ||
}); | ||
if (!hasSentReadyMessage.current) { | ||
hasSentReadyMessage.current = true; | ||
(0, _livepreview.ready)({ | ||
serverURL | ||
}); | ||
} | ||
return ()=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FBVTtJQUU1QyxNQUFNQyxXQUFXQyxJQUFBQSxrQkFBVyxFQUFDLENBQUNDO1FBQzVCUixRQUFRUTtRQUNSTCxhQUFhO0lBQ2YsR0FBRyxFQUFFO0lBRUxNLElBQUFBLGdCQUFTLEVBQUM7UUFDUixNQUFNQyxlQUFlQyxJQUFBQSxzQkFBUyxFQUFDO1lBQzdCQyxVQUFVTjtZQUNWVjtZQUNBQztZQUNBQztRQUNGO1FBRUEsSUFBSSxDQUFDTSxvQkFBb0JTLE9BQU8sRUFBRTtZQUNoQ1Qsb0JBQW9CUyxPQUFPLEdBQUc7WUFFOUJDLElBQUFBLGtCQUFLLEVBQUM7Z0JBQ0poQjtZQUNGO1FBQ0Y7UUFFQSxPQUFPO1lBQ0xpQixJQUFBQSx3QkFBVyxFQUFDTDtRQUNkO0lBQ0YsR0FBRztRQUFDWjtRQUFXUTtRQUFVVjtRQUFPQztLQUFZO0lBRTVDLE9BQU87UUFDTEU7UUFDQUc7SUFDRjtBQUNGIn0= |
{ | ||
"name": "@payloadcms/live-preview-react", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "The official live preview React SDK for Payload", | ||
@@ -12,3 +12,3 @@ "repository": "https://github.com/payloadcms/payload", | ||
"dependencies": { | ||
"@payloadcms/live-preview": "0.1.2" | ||
"@payloadcms/live-preview": "0.1.3" | ||
}, | ||
@@ -18,3 +18,3 @@ "devDependencies": { | ||
"@payloadcms/eslint-config": "0.0.1", | ||
"payload": "2.0.3" | ||
"payload": "2.0.5" | ||
}, | ||
@@ -21,0 +21,0 @@ "peerDependencies": { |
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
10522
104
+ Added@payloadcms/live-preview@0.1.3(transitive)
- Removed@payloadcms/live-preview@0.1.2(transitive)