diff options
Diffstat (limited to 'packages/frontend-embed/src/post-message.ts')
| -rw-r--r-- | packages/frontend-embed/src/post-message.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend-embed/src/post-message.ts b/packages/frontend-embed/src/post-message.ts index 93b57c380b..f44b58acd3 100644 --- a/packages/frontend-embed/src/post-message.ts +++ b/packages/frontend-embed/src/post-message.ts @@ -28,7 +28,7 @@ let defaultIframeId: string | null = null; export function setIframeId(id: string): void { if (defaultIframeId != null) return; - if (_DEV_) console.log('setIframeId', id); + if (_DEV_) console.debug('setIframeId', id); defaultIframeId = id; } @@ -40,7 +40,7 @@ export function postMessageToParentWindow<T extends PostMessageEventType = PostM if (_iframeId == null) { _iframeId = defaultIframeId; } - if (_DEV_) console.log('postMessageToParentWindow', type, _iframeId, payload); + if (_DEV_) console.debug('postMessageToParentWindow', type, _iframeId, payload); window.parent.postMessage({ type, iframeId: _iframeId, |