@elliemae/pui-app-bridge 2.29.2 → 2.31.0

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.
@@ -58,7 +58,10 @@ export declare class CAppBridge<AppObjects extends ScriptingObjects = Partial<Sc
58
58
  */
59
59
  closeAllApps: () => Promise<void>;
60
60
  /**
61
- * Close guest micro frontend application
61
+ * Closes a guest micro frontend application.
62
+ *
63
+ * Tears down the guest session, removes the iframe, and clears guest-scoped
64
+ * scripting objects registered for {@link instanceId}.
62
65
  * @param instanceId unique instance id of the application
63
66
  */
64
67
  closeApp: (instanceId: string) => Promise<void>;
@@ -71,5 +71,11 @@ export declare class EventManager<AppEvents extends EventListeners = Events> {
71
71
  * Unsubscribe from all events
72
72
  */
73
73
  unsubscribeAll: () => void;
74
+ /**
75
+ * Removes every listener registered for a guest iframe host instance.
76
+ * Global listeners (no guestId) are preserved.
77
+ * @param guestId openApp instance id
78
+ */
79
+ unsubscribeByGuestId: (guestId: string) => void;
74
80
  }
75
81
  export {};
@@ -12,6 +12,7 @@ export declare class AppraisalService extends ScriptingObject implements IModule
12
12
  #private;
13
13
  Close: Event<Events>;
14
14
  Unloading: Event<Events>;
15
+ Unmount: Event<Events>;
15
16
  onPreCommit: Event<AppraisalServiceEvents>;
16
17
  onSaved: Event<AppraisalServiceEvents>;
17
18
  constructor({ loanId, creditScore, }: {