UNPKG

@clerk/shared

Version:

Internal package utils used by the Clerk SDKs

14 lines (12 loc) 551 B
declare function isValidProxyUrl(key: string | undefined): boolean; declare function isHttpOrHttps(key: string | undefined): boolean; declare function isProxyUrlRelative(key: string): boolean; declare function proxyUrlToAbsoluteURL(url: string | undefined): string; /** * @deprecated Use `buildRequestUrl` from @clerk/backend */ declare function getRequestUrl({ request, relativePath }: { request: Request; relativePath?: string; }): URL; export { getRequestUrl, isHttpOrHttps, isProxyUrlRelative, isValidProxyUrl, proxyUrlToAbsoluteURL };