An asynchronous function that opens a Zupass popup window, and returns a
PopupActionResult containing either:
An encoded PCD
An encoded pending PCD
An indication that the popup was closed with no result
An indication that the popup was blocked from opening
By detecting popup blockers and the popup being closed without result, this
offers broader functionality than calling openZupassPopupWithLocalRedirect and
receiveZupassPopupMessage separately. It is added as a new API to
avoid breaking backwards-compatibility for existing code.
An asynchronous function that opens a Zupass popup window, and returns a PopupActionResult containing either:
By detecting popup blockers and the popup being closed without result, this offers broader functionality than calling openZupassPopupWithLocalRedirect and receiveZupassPopupMessage separately. It is added as a new API to avoid breaking backwards-compatibility for existing code.