Update generated documentation authored by Mateusz Tyszczak's avatar Mateusz Tyszczak
[@hiveio/beekeeper v1.27.8-stable.250128093537](../globals) / default [@hiveio/beekeeper](../globals) / default
# Function: default() # Function: default()
> **default**(...`args`): `Promise`\<[`IBeekeeperInstance`](../interfaces/IBeekeeperInstance)\> > **default**(`options`?): `Promise`\<[`IBeekeeperInstance`](../interfaces/IBeekeeperInstance)\>
Defined in: [src/index.ts:21](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/4e34081251adff620657ddc1a65cfe9aa6c88bf5/programs/beekeeper/beekeeper_wasm/src/index.ts#L21)
Creates a Beekeeper instance able to own sessions and wallets Creates a Beekeeper instance able to own sessions and wallets
## Parameters ## Parameters
• ...**args**: [`Partial`\<[`IBeekeeperOptions`](../interfaces/IBeekeeperOptions)\>] ### options?
`Partial`\<[`IBeekeeperOptions`](../interfaces/IBeekeeperOptions)\>
options passed to the WASM Beekeeper
## Returns ## Returns
...@@ -19,7 +25,3 @@ Beekeeper API Instance ...@@ -19,7 +25,3 @@ Beekeeper API Instance
## Throws ## Throws
on any beekeeper API-related error (error parsing response, invalid input, timeout error, fs sync error etc.) 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/f8a89045f1ddce374b83e55aad21bd4418e71b9e/programs/beekeeper/beekeeper_wasm/src/web.ts#L21)