config
Sets the config
Import
You can import the entire package and access the function:
_10import * as sdk from "@onflow/sdk"_10_10sdk.config(values)
Or import directly the specific function:
_10import { config } from "@onflow/sdk"_10_10config(values)
Parameters
values
(optional)
- Type:
_10Record<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