Skip to content

Commit ebdb835

Browse files
authored
Update +page.md
1 parent abc102a commit ebdb835

File tree

1 file changed

+13
-1
lines changed
  • docs/src/routes/docs/[...4]wallets/[...36]finoaconnect

1 file changed

+13
-1
lines changed

docs/src/routes/docs/[...4]wallets/[...36]finoaconnect/+page.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ npm install @web3-onboard/core @web3-onboard/finoaconnect
2525

2626
## Usage
2727

28+
Optional initialization object
29+
```typescript
30+
/** Optional object provided to the initiation of the wallet connector.
31+
* When not included, the wallet connector service connects to FinoaConnect production systems.
32+
* @field {url} URL of the FinoaConnect backend systems to be used
33+
* @field {labelSuffix} arbitrary string label to denote the context of the URL field */
34+
export interface FinoaWalletOption {
35+
url?: string
36+
labelSuffix?: string
37+
}
38+
```
39+
2840
```typescript
2941
import Onboard from '@web3-onboard/core'
3042
import finoaConnectModule from '@web3-onboard/finoaconnect'
@@ -42,4 +54,4 @@ const onboard = Onboard({
4254

4355
const connectedWallets = await onboard.connectWallet()
4456
console.log(connectedWallets)
45-
```
57+
```

0 commit comments

Comments
 (0)