Overview
When embedding the package editor or package signing, the embedded frame will send messages to the parent window that can be used to control your workflow and help with debugging during your integration.Handling embed messages
To handle messages sent from the embedded frame, you need to listen for themessage event on the window object.
The event object contains information about the message, including the action being performed.
Embed message
string
The source of the message, which can be used to customize your workflow.
string
The action being performed.
object
Additional data related to the action being performed. The structure of this object may vary depending on the action.
boolean
Indicates whether the action failed.
string
The error code if the action failed. This field is only present when
failed is true.See the Errors guide for more information.