Type alias ClientConfig

ClientConfig: ClientHeadersType & {
    API_KEY?: string;
    WITH_CREDENTIALS?: boolean;
}

A configuration object we can pass with the request to the server.

Type declaration

  • Optional API_KEY?: string
  • Optional WITH_CREDENTIALS?: boolean

Param: API_KEY

api key generated from developer portal https://developers.aptoslabs.com/manage/api-keys}

Param: HEADERS

extra headers we want to send with the request

Param: WITH_CREDENTIALS

whether to carry cookies. By default, it is set to true and cookies will be sent

Generated using TypeDoc