StorageKeys: {
    ACCESSTOKEN: string;
    AWS_CREDENTIALS: string;
    IDTOKEN: string;
    NCFG_VERSIONS: string;
    NODE_CONFIG_PREFIX: string;
    REFRESHTOKEN: string;
    TEMPORARY_AWS_CREDENTIALS: string;
    USER_DEVICETOKEN_MAP: string;
} = ...

Storage keys use namespacing: rmneo (SDK) → module → key to avoid collisions when multiple SDKs share the same storage adapter.

Type declaration

  • ACCESSTOKEN: string

    rmneo.auth.* – auth tokens

  • AWS_CREDENTIALS: string

    rmneo.credentials.* – AWS credentials

  • IDTOKEN: string
  • NCFG_VERSIONS: string

    Single blob storing { [nodeId]: string } — the last-seen ncfg_ver from each node's IoT shadow. The value is a lowercase hex SHA256 of the generated node config (previously an integer timestamp; legacy numbers are normalized to strings). Used to detect schema changes and invalidate the local config cache. See hasNcfgVersionChanged.

  • NODE_CONFIG_PREFIX: string

    Local-storage key prefix for cached node configs. Full key = NODE_CONFIG_PREFIX + nodeId (e.g. rmneo.nodes.config.<nodeId>). Read when getNode / getNodes are called with cache: true; written on every successful cloud fetch.

  • REFRESHTOKEN: string
  • TEMPORARY_AWS_CREDENTIALS: string

    Temporary AWS credentials (e.g. from GetTemporaryAWSCredentials).

  • USER_DEVICETOKEN_MAP: string