Fix exports
This commit is contained in:
parent
d445653c2d
commit
c4d672683c
2 changed files with 7 additions and 3 deletions
|
@ -1,12 +1,13 @@
|
|||
import { AppBridge } from "./app-bridge";
|
||||
|
||||
export { AppBridge };
|
||||
|
||||
export * from "./actions";
|
||||
export * from "./events";
|
||||
export * from "./types";
|
||||
|
||||
/**
|
||||
* @deprecated avoid default functions in SDKs
|
||||
* TODO: Expose AppBridge()
|
||||
* @deprecated use new AppBridge()
|
||||
*/
|
||||
export const createApp = (targetDomain?: string) => new AppBridge(targetDomain);
|
||||
export default createApp;
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
import { AppBridge } from "./app-bridge";
|
||||
import { AppBridgeState } from "./app-bridge-state";
|
||||
|
||||
export type App = typeof AppBridge;
|
||||
/**
|
||||
* @deprecated Use AppBridge instead
|
||||
*/
|
||||
export type App = AppBridge;
|
||||
export { AppBridgeState };
|
||||
|
|
Loading…
Reference in a new issue