import generateId from "uuid/v4"; /** * @internal * * The frame event dispatcher can send and receive events in one frame or over multiple frames. * It is not implemented for nested iframes, so there are only parent and children. * * This class should be instantiated in the main frame and the child frame. * The child frames must have a name attribute, so if you embed an iframe use the name attribute like here: * *