@hatang/sdk
    Preparing search index...

    Interface HatangOptions

    interface HatangOptions {
        baseUrl?: string;
        environment?: "production" | "development";
        fetch?: (
            input: string | URL | Request,
            init?: RequestInit,
        ) => Promise<Response>;
        userAgent?: string;
    }
    Index
    baseUrl?: string

    API origin; defaults to HATANG_BASE_URL, then EMAIL_API_URL, then https://api.hatang.dev.

    environment?: "production" | "development"

    Payments only: which environment to use. Sent as the Hatang-Environment header; without it a ht_test_ key uses development and any other key production.

    fetch?: (input: string | URL | Request, init?: RequestInit) => Promise<Response>
    userAgent?: string