@prismicio/editor-support
Advanced tools
Comparing version 0.4.7 to 0.4.8
export declare function toURL(str: string): URL | undefined; | ||
export declare const isDebugMode: boolean; |
@@ -1,4 +0,4 @@ | ||
function t(e) { | ||
function r(t) { | ||
try { | ||
return new URL(e); | ||
return new URL(t); | ||
} catch { | ||
@@ -8,6 +8,4 @@ return; | ||
} | ||
const r = new URL(location.href), n = r.searchParams.has("debug"); | ||
export { | ||
n as isDebugMode, | ||
t as toURL | ||
r as toURL | ||
}; |
@@ -63,3 +63,3 @@ { | ||
}, | ||
"version": "0.4.7" | ||
"version": "0.4.8" | ||
} |
17947
603