UNPKG

@uppy/companion-client

Version:

Client library for communication with Companion. Intended for use in Uppy plugins.

3 lines 362 B
export default function getAllowedHosts(companionAllowedHosts: string | RegExp | Array<string | RegExp> | undefined, companionUrl: string): string | RegExp | Array<string | RegExp>; export declare function isOriginAllowed(origin: string, allowedOrigin: string | RegExp | Array<string | RegExp> | undefined): boolean; //# sourceMappingURL=getAllowedHosts.d.ts.map