@superblocksteam/library 2.0.70-next.3 → 2.0.70-next.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/index.js +2 -0
- package/dist/lib/index.js.map +1 -1
- package/package.json +2 -2
package/dist/lib/index.js
CHANGED
|
@@ -3207,6 +3207,7 @@ if (isEditMode()) {
|
|
|
3207
3207
|
const setupInitializer = () => {
|
|
3208
3208
|
if (!isEmbeddedBySuperblocksFirstParty()) return;
|
|
3209
3209
|
const handleInit = async ({ data }) => {
|
|
3210
|
+
console.debug("[internal] [iframe-wrappers] handling sb-init");
|
|
3210
3211
|
if (data.payload.windowOriginUrl) initTracerProviderWithOrigin(data.payload.windowOriginUrl);
|
|
3211
3212
|
initializeEditStore();
|
|
3212
3213
|
const editStore = getEditStore();
|
|
@@ -3255,6 +3256,7 @@ const IframeConnected = observer(function IframeConnected$1(props) {
|
|
|
3255
3256
|
const [reloadKey, setReloadKey] = useState(0);
|
|
3256
3257
|
_setReloadKey = setReloadKey;
|
|
3257
3258
|
useEffect(() => {
|
|
3259
|
+
console.debug("[internal] [iframe-wrappers] sending ready");
|
|
3258
3260
|
editorBridge.sendReady();
|
|
3259
3261
|
}, []);
|
|
3260
3262
|
useEffect(() => {
|