UNPKG

@donmahallem/trapeze-client-desktop

Version:

An electron app to be used with trapeze endpoints

35 lines (34 loc) 821 B
/*! * Source https://github.com/donmahallem/trapeze */ import { IConfig } from './cli-commands'; export declare class TrapezeApp { private readonly config; /** * Main Window */ private mainWindow; /** * Api Proxy Server */ private apiServer; /** * Secure Token to be used for communication between the client and the local api */ private secureToken; /** * Trapeze Client APP * @param config Config to be setup */ constructor(config: IConfig); /** * creates a random string */ createSecureToken(): string; /** * Inits the client and starts up the app */ init(): Promise<void>; setupNetworkInterceptors(session: Electron.Session): void; private createWindow; }