@elliemae/pui-app-sdk 5.31.0-beta.2 → 5.31.0-beta.4

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.
@@ -48,6 +48,7 @@ const useAppRenderer = (props) => {
48
48
  const {
49
49
  microappManager = MicroAppManager.APPSDK,
50
50
  hostUrl,
51
+ title,
51
52
  name
52
53
  } = getConfig();
53
54
  if (microappManager === MicroAppManager.SSF) {
@@ -59,7 +60,7 @@ const useAppRenderer = (props) => {
59
60
  const guest = ssfHost.loadGuest({
60
61
  id,
61
62
  url: hostUrl,
62
- title: name,
63
+ title: title ?? name,
63
64
  targetElement: document.getElementById(containerId),
64
65
  searchParams,
65
66
  onLoad: onLoadComplete,
@@ -75,6 +75,7 @@ export declare class CMicroAppHost<AppObjects extends ScriptingObjects = Partial
75
75
  /**
76
76
  * dispatch event to child microapp
77
77
  * @param {DispatchEventParams<EventId, Params>} params - event parameters
78
+ * @returns {Promise<any>} A promise that resolves with the combined results of dispatched events.
78
79
  */
79
80
  dispatchEvent<EventId extends Extract<keyof AppEvents, string>, Params extends Parameters<AppEvents[EventId]>[0]['eventParams'], Options extends EventOptions>(params: DispatchEventParam<EventId, Params, Options>): Promise<void | any[]>;
80
81
  /**