Skip to content

Commit

Permalink
fix(api): export api
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Mar 31, 2024
1 parent d7595f0 commit 1c0b381
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/createTransport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import {
import { Transport } from './transport';
import type { TransportOptions } from './interface';

interface TransportOptionsMap {
export interface TransportOptionsMap {
IFrameMain: IFrameMainTransportOptions;
IFrameInternal: IFrameTransportInternalOptions;
BrowserExtensions: BrowserExtensionsGenericTransportOptions;
Expand All @@ -68,7 +68,7 @@ interface TransportOptionsMap {
ChildProcess: ChildProcessTransportOptions;
}

interface Transports {
export interface Transports {
Base: Transport;
MessageTransport: MessageTransport;
IFrameMain: IFrameMainTransport;
Expand All @@ -90,7 +90,7 @@ interface Transports {
ChildProcess: ChildProcessTransport;
}

const TransportMap = {
export const TransportMap = {
Base: Transport,
MessageTransport: MessageTransport,
IFrameMain: IFrameTransport.Main,
Expand Down

0 comments on commit 1c0b381

Please sign in to comment.