fix(client,sdk): permit cross-domain message communication
All checks were successful
arcad/edge/pipeline/head This commit looks good
All checks were successful
arcad/edge/pipeline/head This commit looks good
This commit is contained in:
parent
da73b842e1
commit
34c6a089b5
2
pkg/sdk/client/dist/client.js
vendored
2
pkg/sdk/client/dist/client.js
vendored
@ -4104,7 +4104,7 @@ var Edge = (() => {
|
||||
if (!target)
|
||||
return;
|
||||
this._log("sending crossframe message", message);
|
||||
target.postMessage(message);
|
||||
target.postMessage(message, "*");
|
||||
}
|
||||
_log(...args) {
|
||||
if (!this.debug)
|
||||
|
4
pkg/sdk/client/dist/client.js.map
vendored
4
pkg/sdk/client/dist/client.js.map
vendored
File diff suppressed because one or more lines are too long
@ -27,7 +27,7 @@ export class CrossFrameMessenger extends EventTarget {
|
||||
post(message: CrossFrameMessage, target: Window = window.parent) {
|
||||
if (!target) return;
|
||||
this._log("sending crossframe message", message);
|
||||
target.postMessage(message)
|
||||
target.postMessage(message, '*');
|
||||
}
|
||||
|
||||
_log(...args) {
|
||||
|
Loading…
Reference in New Issue
Block a user