Skip to content

VantageClientOptions

Defined in: packages/sdk/src/request.ts:19

optional baseUrl?: string

Defined in: packages/sdk/src/request.ts:23

API host, no trailing slash. Defaults to production.


optional fetch?: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defined in: packages/sdk/src/request.ts:28

Optional fetch override. Useful for tests, custom retry logic, or running inside a proxy. Defaults to the global fetch.

(input, init?): Promise<Response>

MDN Reference

URL | RequestInfo

RequestInit

Promise<Response>

(input, init?): Promise<Response>

MDN Reference

string | URL | Request

RequestInit

Promise<Response>


token: string

Defined in: packages/sdk/src/request.ts:21

vc_pat_… personal access token. Required.