You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/core/README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ type InitOptions {
28
28
wallets: WalletInit[]
29
29
chains: Chain[]
30
30
appMetadata?: AppMetadata
31
+
connect?: ConnectModalOptions
31
32
i18n?: i18nOptions
32
33
accountCenter?: AccountCenterOptions
33
34
apiKey?: string
@@ -85,6 +86,15 @@ type RecommendedInjectedWallets = {
85
86
}
86
87
```
87
88
89
+
**`connect`**
90
+
An object that allows for customization of the Connect Modal and accepts the type ConnectModalOptions.
91
+
92
+
```typescript
93
+
typeConnectModalOptions= {
94
+
showSidebar?:boolean
95
+
}
96
+
```
97
+
88
98
**`i18n`**
89
99
An object that defines the display text for different locales. Can also be used to override the default text. To override the default text, pass in a object for the `en` locale.
Copy file name to clipboardExpand all lines: packages/core/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@web3-onboard/core",
3
-
"version": "2.6.0",
3
+
"version": "2.7.0-alpha.1",
4
4
"description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
0 commit comments