Skip to content

Commit bbd8052

Browse files
authored
Update README.md
1 parent ebdb835 commit bbd8052

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

packages/finoaconnect/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@
88

99
## Usage
1010

11+
Optional initialization object
12+
```typescript
13+
/** Optional object provided to the initiation of the wallet connector.
14+
* When not included, the wallet connector service connects to FinoaConnect production systems.
15+
* @field {url} URL of the FinoaConnect backend systems to be used
16+
* @field {labelSuffix} arbitrary string label to denote the context of the URL field */
17+
export interface FinoaWalletOption {
18+
url?: string
19+
labelSuffix?: string
20+
}
21+
```
22+
1123
```typescript
1224
import Onboard from '@web3-onboard/core';
1325
import finoaConnectModule from '@web3-onboard/finoaconnect';
@@ -36,4 +48,4 @@ const onboard = Onboard({
3648

3749
const connectedWallets = await onboard.connectWallet()
3850
console.log(connectedWallets)
39-
```
51+
```

0 commit comments

Comments
 (0)