UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

12 lines • 628 B
/** Pure so it's testable without stubbing `window.location`/`import.meta.env`. */ export declare function computeIsOwnDomain(hostname: string, isDevServer: boolean): boolean; /** * Whether we're allowed to mutate `document.title` on this page: true on our * own event subdomains, false when `load()` mounted the SDK into a `<div>` * on a third-party page with no iframe — same `document` as the host, and * indistinguishable from a direct visit by `window.self === window.top` * alone, so only the hostname tells them apart. */ declare const val: boolean; export default val; //# sourceMappingURL=is-own-domain.d.ts.map