@frontapp/ui-bridge
Advanced tools
Comparing version 2.0.0-beta7 to 2.0.0-beta8
@@ -245,2 +245,10 @@ import { ApplicationCancelToken } from './asyncTypesV2'; | ||
} | ||
export interface SingleConversationPopoverContext extends Omit<SingleConversationContext, 'type'> { | ||
type: 'singleConversationPopover'; | ||
/** | ||
* Closes the popover. | ||
* * @param cancelToken Cancel the request. | ||
*/ | ||
requestClose(cancelToken?: ApplicationCancelToken): Promise<void>; | ||
} | ||
export interface MultiConversationsContext extends ExistingConversationBaseContext { | ||
@@ -252,3 +260,3 @@ type: 'multiConversations'; | ||
export declare type ExistingConversationContext = SingleConversationContext | MultiConversationsContext; | ||
export declare type ConversationContext = NoConversationContext | SingleConversationContext | MultiConversationsContext; | ||
export declare type ConversationContext = NoConversationContext | SingleConversationContext | SingleConversationPopoverContext | MultiConversationsContext; | ||
export interface MessageContext extends ApplicationContextBase { | ||
@@ -255,0 +263,0 @@ type: 'message'; |
{ | ||
"name": "@frontapp/ui-bridge", | ||
"version": "2.0.0-beta7", | ||
"version": "2.0.0-beta8", | ||
"description": "Helpers and TypeScript definitions for the Front SDK bridge", | ||
@@ -5,0 +5,0 @@ "author": { |
45876
1012