@builder.io/sdk
Advanced tools
Comparing version 0.0.102 to 0.0.103
@@ -95,2 +95,3 @@ /// <reference types="virtual-dom" /> | ||
constructor(apiKey?: string | null); | ||
private messageFrameLoaded(); | ||
private blockContentLoading; | ||
@@ -97,0 +98,0 @@ private bindMessageListeners(); |
@@ -596,2 +596,3 @@ 'use strict'; | ||
this.loadFullStory(); | ||
this.messageFrameLoaded(); | ||
} | ||
@@ -801,2 +802,10 @@ } | ||
}; | ||
Builder.prototype.messageFrameLoaded = function () { | ||
window.top.postMessage({ | ||
type: 'builder.loaded', | ||
data: { | ||
value: true, | ||
}, | ||
}, '*'); | ||
}; | ||
Builder.prototype.bindMessageListeners = function () { | ||
@@ -803,0 +812,0 @@ var _this = this; |
@@ -590,2 +590,3 @@ import uniqueSelector from 'unique-selector'; | ||
this.loadFullStory(); | ||
this.messageFrameLoaded(); | ||
} | ||
@@ -795,2 +796,10 @@ } | ||
}; | ||
Builder.prototype.messageFrameLoaded = function () { | ||
window.top.postMessage({ | ||
type: 'builder.loaded', | ||
data: { | ||
value: true, | ||
}, | ||
}, '*'); | ||
}; | ||
Builder.prototype.bindMessageListeners = function () { | ||
@@ -797,0 +806,0 @@ var _this = this; |
{ | ||
"name": "@builder.io/sdk", | ||
"version": "0.0.102", | ||
"version": "0.0.103", | ||
"browser": "./dist/index.umd.min.js", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1041896
15955