Skip to main content

config

Sets the config

Import

You can import the entire package and access the function:


_10
import * as fcl from "@onflow/fcl"
_10
_10
fcl.config(values)

Or import directly the specific function:


_10
import { config } from "@onflow/fcl"
_10
_10
config(values)

Parameters

values (optional)

  • Type:

_10
Record<string, unknown>

  • Description: - The values to set

Returns


_12
{
_12
put: typeof put;
_12
get: typeof get;
_12
all: typeof all;
_12
first: typeof first;
_12
update: typeof update;
_12
delete: typeof _delete;
_12
where: typeof where;
_12
subscribe: typeof subscribe;
_12
overload: typeof overload;
_12
load: typeof load;
_12
}

The config object


Rate this page