Type alias SetAliasPayloadType

SetAliasPayloadType: {
    alias: string;
    apiEndpoint: string | URL;
    apiToken: string;
    destination?: string;
    peerId?: string;
    timeout?: number;
}

setAlias

Type declaration

  • alias: string
  • apiEndpoint: string | URL

    The API endpoint for authentication.

  • apiToken: string

    The API token for authentication.

  • Optional destination?: string
  • Optional peerId?: string
  • Optional timeout?: number

    optional timeout for the requests