Config

SDK initialization configuration object. Set environment type and caching options with Config.

Example

{
  "env": "dev",
  "cache": true
}

Type Signature

type Config = {
  env?: Env;
  cache?: boolean;
};

Fields

Param
Type
Default Value
Description

env

"dev"

dev provides verbose logging. prod provides minimal logging, best for production environment.

cache

boolean

true

Caching configuration. true to cache results, otherwise set to false.

Last updated

#300: add-user-details

Change request updated