@elliemae/pui-app-bridge 2.29.1 → 2.30.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.
- package/dist/cjs/appBridge.js +113 -38
- package/dist/cjs/eventManager.js +25 -5
- package/dist/cjs/microfeHost.js +12 -9
- package/dist/esm/appBridge.js +113 -38
- package/dist/esm/eventManager.js +25 -5
- package/dist/esm/microfeHost.js +12 -9
- package/dist/public/e2e-host.html +1 -1
- package/dist/public/e2e-index.html +1 -1
- package/dist/public/frame.html +1 -1
- package/dist/public/index.html +1 -1
- package/dist/public/js/emuiAppBridge.d8a9395e996486ac9991.js +17 -0
- package/dist/public/js/emuiAppBridge.d8a9395e996486ac9991.js.br +0 -0
- package/dist/public/js/emuiAppBridge.d8a9395e996486ac9991.js.gz +0 -0
- package/dist/public/js/emuiAppBridge.d8a9395e996486ac9991.js.map +1 -0
- package/dist/types/lib/eventManager.d.ts +7 -1
- package/dist/types/lib/microfeHost.d.ts +4 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/umd/index.js +6 -6
- package/dist/umd/index.js.br +0 -0
- package/dist/umd/index.js.gz +0 -0
- package/dist/umd/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/public/js/emuiAppBridge.02aa5aed856e7e070591.js +0 -17
- package/dist/public/js/emuiAppBridge.02aa5aed856e7e070591.js.br +0 -0
- package/dist/public/js/emuiAppBridge.02aa5aed856e7e070591.js.gz +0 -0
- package/dist/public/js/emuiAppBridge.02aa5aed856e7e070591.js.map +0 -1
|
@@ -9,6 +9,10 @@ type EventListenerDetails = {
|
|
|
9
9
|
* filter criteria for the event listener
|
|
10
10
|
*/
|
|
11
11
|
criteria?: FilterCriteria;
|
|
12
|
+
/**
|
|
13
|
+
* guest instance id when subscribed via a guest iframe host
|
|
14
|
+
*/
|
|
15
|
+
guestId?: string;
|
|
12
16
|
/**
|
|
13
17
|
* event listener
|
|
14
18
|
*/
|
|
@@ -55,7 +59,9 @@ export declare class EventManager<AppEvents extends EventListeners = Events> {
|
|
|
55
59
|
* Subscribe to an event
|
|
56
60
|
* @param {SubscribeParam<EventId, AppEvents[EventId]>} param - parameters for subscribing to an event
|
|
57
61
|
*/
|
|
58
|
-
subscribe: <EventId extends Extract<keyof AppEvents, string>>(param: SubscribeParam<EventId, AppEvents[EventId]>
|
|
62
|
+
subscribe: <EventId extends Extract<keyof AppEvents, string>>(param: SubscribeParam<EventId, AppEvents[EventId]> & {
|
|
63
|
+
guestId?: string;
|
|
64
|
+
}) => string;
|
|
59
65
|
/**
|
|
60
66
|
* Unsubscribe from an event
|
|
61
67
|
* @param {UnsubscribeParam<EventId>} param - parameters for unsubscribing from an event
|
|
@@ -16,6 +16,10 @@ export type CMicroFEHostParams<AppObjects extends ScriptingObjects, AppEvents ex
|
|
|
16
16
|
* unique id of the guest application
|
|
17
17
|
*/
|
|
18
18
|
guest: GuestContext;
|
|
19
|
+
/**
|
|
20
|
+
* unique instance id for this open guest (openApp uuid / iframe id)
|
|
21
|
+
*/
|
|
22
|
+
instanceId: string;
|
|
19
23
|
/**
|
|
20
24
|
* release version of the host application
|
|
21
25
|
*/
|