@payloadcms/live-preview
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -18,2 +18,5 @@ "use strict"; | ||
}, | ||
ready: function() { | ||
return _ready.ready; | ||
}, | ||
subscribe: function() { | ||
@@ -28,5 +31,6 @@ return _subscribe.subscribe; | ||
const _mergeData = require("./mergeData"); | ||
const _ready = require("./ready"); | ||
const _subscribe = require("./subscribe"); | ||
const _unsubscribe = require("./unsubscribe"); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBoYW5kbGVNZXNzYWdlIH0gZnJvbSAnLi9oYW5kbGVNZXNzYWdlJ1xuZXhwb3J0IHsgbWVyZ2VEYXRhIH0gZnJvbSAnLi9tZXJnZURhdGEnXG5leHBvcnQgeyBzdWJzY3JpYmUgfSBmcm9tICcuL3N1YnNjcmliZSdcbmV4cG9ydCB7IHVuc3Vic2NyaWJlIH0gZnJvbSAnLi91bnN1YnNjcmliZSdcbiJdLCJuYW1lcyI6WyJoYW5kbGVNZXNzYWdlIiwibWVyZ2VEYXRhIiwic3Vic2NyaWJlIiwidW5zdWJzY3JpYmUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBQVNBLGFBQWE7ZUFBYkEsNEJBQWE7O0lBQ2JDLFNBQVM7ZUFBVEEsb0JBQVM7O0lBQ1RDLFNBQVM7ZUFBVEEsb0JBQVM7O0lBQ1RDLFdBQVc7ZUFBWEEsd0JBQVc7OzsrQkFIVTsyQkFDSjsyQkFDQTs2QkFDRSJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBoYW5kbGVNZXNzYWdlIH0gZnJvbSAnLi9oYW5kbGVNZXNzYWdlJ1xuZXhwb3J0IHsgbWVyZ2VEYXRhIH0gZnJvbSAnLi9tZXJnZURhdGEnXG5leHBvcnQgeyByZWFkeSB9IGZyb20gJy4vcmVhZHknXG5leHBvcnQgeyBzdWJzY3JpYmUgfSBmcm9tICcuL3N1YnNjcmliZSdcbmV4cG9ydCB7IHVuc3Vic2NyaWJlIH0gZnJvbSAnLi91bnN1YnNjcmliZSdcbiJdLCJuYW1lcyI6WyJoYW5kbGVNZXNzYWdlIiwibWVyZ2VEYXRhIiwicmVhZHkiLCJzdWJzY3JpYmUiLCJ1bnN1YnNjcmliZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7SUFBU0EsYUFBYTtlQUFiQSw0QkFBYTs7SUFDYkMsU0FBUztlQUFUQSxvQkFBUzs7SUFDVEMsS0FBSztlQUFMQSxZQUFLOztJQUNMQyxTQUFTO2VBQVRBLG9CQUFTOztJQUNUQyxXQUFXO2VBQVhBLHdCQUFXOzs7K0JBSlU7MkJBQ0o7dUJBQ0o7MkJBQ0k7NkJBQ0UifQ== |
@@ -16,3 +16,3 @@ "use strict"; | ||
const eventData = JSON.parse(event?.data); | ||
if (eventData.type === 'livePreview') { | ||
if (eventData.type === 'payload-live-preview') { | ||
const mergedData = await (0, _.mergeData)({ | ||
@@ -31,2 +31,2 @@ depth, | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9oYW5kbGVNZXNzYWdlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IG1lcmdlRGF0YSB9IGZyb20gJy4nXG5cbmV4cG9ydCBjb25zdCBoYW5kbGVNZXNzYWdlID0gYXN5bmMgPFQ+KGFyZ3M6IHtcbiAgZGVwdGg6IG51bWJlclxuICBldmVudDogTWVzc2FnZUV2ZW50XG4gIGluaXRpYWxEYXRhOiBUXG4gIHNlcnZlclVSTDogc3RyaW5nXG59KTogUHJvbWlzZTxUPiA9PiB7XG4gIGNvbnN0IHsgZGVw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LE9BQU9SO0FBQ1QifQ== |
export { handleMessage } from './handleMessage'; | ||
export { mergeData } from './mergeData'; | ||
export { ready } from './ready'; | ||
export { subscribe } from './subscribe'; | ||
export { unsubscribe } from './unsubscribe'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,2 +18,5 @@ "use strict"; | ||
}, | ||
ready: function() { | ||
return _ready.ready; | ||
}, | ||
subscribe: function() { | ||
@@ -28,5 +31,6 @@ return _subscribe.subscribe; | ||
const _mergeData = require("./mergeData"); | ||
const _ready = require("./ready"); | ||
const _subscribe = require("./subscribe"); | ||
const _unsubscribe = require("./unsubscribe"); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBoYW5kbGVNZXNzYWdlIH0gZnJvbSAnLi9oYW5kbGVNZXNzYWdlJ1xuZXhwb3J0IHsgbWVyZ2VEYXRhIH0gZnJvbSAnLi9tZXJnZURhdGEnXG5leHBvcnQgeyBzdWJzY3JpYmUgfSBmcm9tICcuL3N1YnNjcmliZSdcbmV4cG9ydCB7IHVuc3Vic2NyaWJlIH0gZnJvbSAnLi91bnN1YnNjcmliZSdcbiJdLCJuYW1lcyI6WyJoYW5kbGVNZXNzYWdlIiwibWVyZ2VEYXRhIiwic3Vic2NyaWJlIiwidW5zdWJzY3JpYmUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBQVNBLGFBQWE7ZUFBYkEsNEJBQWE7O0lBQ2JDLFNBQVM7ZUFBVEEsb0JBQVM7O0lBQ1RDLFNBQVM7ZUFBVEEsb0JBQVM7O0lBQ1RDLFdBQVc7ZUFBWEEsd0JBQVc7OzsrQkFIVTsyQkFDSjsyQkFDQTs2QkFDRSJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBoYW5kbGVNZXNzYWdlIH0gZnJvbSAnLi9oYW5kbGVNZXNzYWdlJ1xuZXhwb3J0IHsgbWVyZ2VEYXRhIH0gZnJvbSAnLi9tZXJnZURhdGEnXG5leHBvcnQgeyByZWFkeSB9IGZyb20gJy4vcmVhZHknXG5leHBvcnQgeyBzdWJzY3JpYmUgfSBmcm9tICcuL3N1YnNjcmliZSdcbmV4cG9ydCB7IHVuc3Vic2NyaWJlIH0gZnJvbSAnLi91bnN1YnNjcmliZSdcbiJdLCJuYW1lcyI6WyJoYW5kbGVNZXNzYWdlIiwibWVyZ2VEYXRhIiwicmVhZHkiLCJzdWJzY3JpYmUiLCJ1bnN1YnNjcmliZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7SUFBU0EsYUFBYTtlQUFiQSw0QkFBYTs7SUFDYkMsU0FBUztlQUFUQSxvQkFBUzs7SUFDVEMsS0FBSztlQUFMQSxZQUFLOztJQUNMQyxTQUFTO2VBQVRBLG9CQUFTOztJQUNUQyxXQUFXO2VBQVhBLHdCQUFXOzs7K0JBSlU7MkJBQ0o7dUJBQ0o7MkJBQ0k7NkJBQ0UifQ== |
@@ -14,18 +14,17 @@ "use strict"; | ||
const { callback, depth, initialData, serverURL } = args; | ||
const onMessage = async (event)=>{ | ||
const mergedData = await (0, _.handleMessage)({ | ||
depth, | ||
event, | ||
initialData, | ||
serverURL | ||
}); | ||
callback(mergedData); | ||
}; | ||
if (typeof window !== 'undefined') { | ||
const handleMessageCallback = async (event)=>{ | ||
const mergedData = await (0, _.handleMessage)({ | ||
depth, | ||
event, | ||
initialData, | ||
serverURL | ||
}); | ||
callback(mergedData); | ||
}; | ||
window.addEventListener('message', handleMessageCallback); | ||
window.parent.postMessage('ready', serverURL); | ||
return handleMessageCallback; | ||
window.addEventListener('message', onMessage); | ||
} | ||
return onMessage; | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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
"name": "@payloadcms/live-preview", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "The official live preview JavaScript SDK for Payload", | ||
@@ -13,3 +13,3 @@ "repository": "https://github.com/payloadcms/payload", | ||
"@payloadcms/eslint-config": "0.0.1", | ||
"payload": "2.0.3" | ||
"payload": "2.0.5" | ||
}, | ||
@@ -16,0 +16,0 @@ "exports": null, |
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
46621
29
432