LensClientConfig: {
    environment: Environment;
    headers?: Record<string, string>;
    params?: QueryParams;
    storage?: IStorageProvider;
}

LensClient configuration

Type declaration

  • environment: Environment

    The environment to use. See production or development.

  • Optional headers?: Record<string, string>

    Allows to define extra headers to be sent when making requests to the Lens API. You can set the origin or user-agent headers here.

  • Optional params?: QueryParams

    The common query params allow you to customize some aspects of the returned data.

    Default Value

    see individual fields of {@link QueryParams}
    
  • Optional storage?: IStorageProvider

    The storage provider to use.

    Default Value

    {@link InMemoryStorageProvider}