We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5436396 commit e9a8c6dCopy full SHA for e9a8c6d
src/ps-web-apis.ts
@@ -60,6 +60,7 @@ export type Fetch = (
60
) => Promise<Response>;
61
export type GetRosettaEnvByKey = (key: string) => string | undefined;
62
export type WaitForCapacity = (queue: WaitingRoomQueue) => Promise<void>;
63
+export type RegisterIframeMessageListener = (eventtype: string, listener: (event: any, iframe: HTMLIFrameElement) => void) => void;
64
65
export interface WhoamiV1 {
66
/**
@@ -140,8 +141,8 @@ export interface WhoamiV1 {
140
141
export interface UtilsV1 {
142
fetchWithTimeout: Fetch;
143
getRosettaEnvByKey: GetRosettaEnvByKey;
144
+ registerIframeMessageListener: RegisterIframeMessageListener;
145
}
-
146
export interface WaitingRoomV1 {
147
waitForCapacity: WaitForCapacity;
148
0 commit comments