@elliemae/ssf-host 2.22.0 → 2.22.2

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.
@@ -60,6 +60,14 @@ export type HostOption = {
60
60
  */
61
61
  onGuestEventSubscribe?: GuestEventSubscribeCallback;
62
62
  onGuestEventUnsubscribe?: GuestEventUnsubscribeCallback;
63
+ /**
64
+ * **UNSAFE**: When true, uses '*' as the targetOrigin for all outbound postMessage calls from host to guest,
65
+ * allowing messages to be delivered regardless of the guest window's current origin. This means any window
66
+ * can receive messages intended for the guest, potentially exposing sensitive data.
67
+ * Only enable this if you fully understand the security implications.
68
+ * @default false
69
+ */
70
+ unsafeAllowAnyGuestOrigin?: boolean;
63
71
  };
64
72
  /**
65
73
  * parameters for rendering a guest