Skip to main content

config

Sets the config

Import

You can import the entire package and access the function:


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

Or import directly the specific function:


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

Parameters

values (optional)

  • Type:

_10
Record<string, unknown>

  • Description: - The values to set

Returns


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

The config object


Rate this page