UNPKG

next-pocketbase-auth

Version:

Wrapper for Next.js applications using PocketBase, with support for both client and server components

4 lines (3 loc) 225 B
import PocketBase from "pocketbase"; import { CookieOptions } from "./types"; export declare function createBrowserClient<T extends PocketBase = PocketBase>(baseUrl?: string, lang?: string, cookieOptions?: CookieOptions): T;