Changes
Page history
Update generated documentation
authored
Jun 26, 2024
by
Bartek Wrona
Show whitespace changes
Inline
Side-by-side
functions/default.md
0 → 100644
View page @
213565a5
[
@hiveio/beekeeper v1.27.6-rc1-stable.240626220315
](
../globals
)
/ default
# Function: default()
> **default**(...`args`): `Promise`\<[`IBeekeeperInstance`](../interfaces/IBeekeeperInstance)\>
Creates a Beekeeper instance able to own sessions and wallets
## Parameters
• ...
**args**
:
[
`Partial`\<[`IBeekeeperOptions`
](
../interfaces/IBeekeeperOptions
)
\>
]
## Returns
`Promise`
\<
[
`IBeekeeperInstance`
](
../interfaces/IBeekeeperInstance
)
\>
Beekeeper API Instance
## Throws
on any beekeeper API-related error (error parsing response, invalid input, timeout error, fs sync error etc.)
## Source
[
src/web.ts:21
](
https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/838166b567c1d62715351c14be1f8e327570995c/programs/beekeeper/beekeeper_wasm/src/web.ts#L21
)