WIP API updates for tutorial and more

This commit is contained in:
Benedicte Quimbert 2021-11-10 19:04:06 +01:00
parent 353577b1d7
commit 99dfd77600
7 changed files with 115 additions and 15 deletions

View file

@ -195,6 +195,7 @@ export const isIframeQuery = (event: any): event is IframeQuery<keyof IframeQuer
const result = iframeQueryMapTypeGuards[type].query(event.data);
if (!result) {
console.warn('Received a query with type "' + type + '" but the payload is invalid.');
console.log(event);
}
return result;
};