Skip to main content

Class: SDKConfig

The SDK config of the module.

Extends​

  • BaseClient

Constructors​

Constructor​

new SDKConfig(ctx?, _id?, _source?): SDKConfig

Constructor is used for internal usage only, do not create object from it.

Parameters​

ctx?​

Context

_id?​

SDKConfigID

_source?​

string

Returns​

SDKConfig

Overrides​

BaseClient.constructor

Methods​

id()​

id(): Promise<SDKConfigID>

A unique identifier for this SDKConfig.

Returns​

Promise<SDKConfigID>


source()​

source(): Promise<string>

Source of the SDK. Either a name of a builtin SDK or a module source ref string pointing to the SDK's implementation.

Returns​

Promise<string>