Introduced


import { WebClient } from "@valapi/web-client";

Config

interface Config {
    /**
     * Authenticated User
     */
    user: AuthUserInfo;

    /**
     * Account Region
     */
    region?: Region.ID;
}

Client

const client = new WebClient([config]);