UNPKG

@casual-simulation/aux-vm-browser

Version:

A set of utilities required to securely run an AUX in a web browser.

7 lines 377 B
export declare function getVMOrigin(configuredOrigin: string | null, defaultOrigin: string, instId: string): string; /** * Gets the base domain of the given origin. That is, the hostname but with all subdomains removed. * @param origin The origin that should be used. */ export declare function getBaseOrigin(origin: string): string; //# sourceMappingURL=AuxVMUtils.d.ts.map