@shopify/app-bridge-host
Version:
App Bridge Host contains components and middleware to be consumed by the app's host, as well as the host itself. The middleware and `Frame` component are responsible for facilitating communication between the client and host, and used to act on actions se
6 lines (5 loc) • 507 B
TypeScript
import { Payload } from '@shopify/app-bridge-core/actions/Error';
import { ApiClientConfig, AppConfig } from './types';
export declare function isValidConfig(appConfig: AppConfig, config: ApiClientConfig): boolean;
export declare function InvalidConfigError(appConfig: AppConfig, config: ApiClientConfig, action: Payload): import("@shopify/app-bridge-core/actions/Error").AppBridgeError;
export declare function throwInvalidConfigError(appConfig: AppConfig, config: ApiClientConfig, action: Payload): void;