UNPKG

hp-app-bundle-sdk

Version:

A comprehensive SDK for building mini-applications.

23 lines 1.4 kB
import { MiniApp } from "./MiniApp"; export { MiniApp } from "./MiniApp"; export { ConfigManager } from "./ConfigManager"; export { EventManager } from "./EventManager"; export { NativeBridge } from "./NativeBridge"; export type { MiniAppSDKConfig, MiniAppModule, PlatformOverrides, ApiEndpoints, BaseUrls, Timeouts, Features, BridgeMessage, EventDetail, TypedEventListener, LogLevel } from "./types"; export { SDK_VERSION, PLATFORM, DEFAULT_CONFIG, type PlatformType } from "./constants"; export { MINI_APP_NOT_FOUND, SERVER_ERROR, UNKNOWN_ERROR, NO_CONSENT_ERROR, USER_NOT_LOGGED_IN_ERROR, LOGIN_CANCELLED_ERROR, ACCESS_TOKEN_EXCEPTION, UNAUTHORIZED_DOMAIN, NOT_IMPLEMENTED_ERROR, RESULT_NOT_IMPLEMENTED_ERROR, NETWORK_ERROR, SUSPENDED_MINI_APP, APP_BUNDLE_NOT_INITIALIZED, MINI_APP_NOT_INITIALIZED, UNSUPPORTED_PLATFORM, MINI_APP_ID_REQUIRED, INITIALIZATION_ERROR, LOGOUT_ERROR, SESSION_EXPIRED, EMPTY_RESULT_WHILE_PARSING, ACCESS_TOKEN_NOT_RESOLVED } from "./errors"; declare global { interface Window { Hamropatro_MiniApp_Interface?: any; Hamropatro_AppBundle_Interface?: any; webkit?: { messageHandlers?: { Hamropatro_MiniApp_Interface?: any; Hamropatro_AppBundle_Interface?: any; }; }; miniapp?: MiniApp; } } export { myEventTarget } from "./types"; //# sourceMappingURL=index.d.ts.map