Skip to content

Commit ced3d0f

Browse files
authored
Merge pull request #1984 from blocknative/update/MM_in_node_envs
Update - MetaMask module handling in node envs, update docs
2 parents 2fbf197 + b7df4b0 commit ced3d0f

File tree

6 files changed

+617
-26
lines changed

6 files changed

+617
-26
lines changed

docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ We recommend you add the [Core Repo](../../modules/core.md#install) and consider
176176
- [Frame](../../wallets/frame.md#install)
177177
- [Safe](../../wallets/gnosis.md#install)
178178
- [Magic](../../wallets/magic.md#login-options)
179+
- [MetaMask](../../wallets/metamask.md#install)
179180
- [MEW](../../wallets/mewwallet.md#install)
180181
- [Portis](../../wallets/portis.md#install)
181182
- [Web3Auth](../../wallets/web3auth.md#install)

docs/src/routes/docs/[...3]modules/[...4]solid/+page.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Function to open the onboard modal and connect to a wallet provider. For referen
130130

131131
#### Example usage
132132

133-
```tsx
133+
```typescript
134134
function SampleConnect() {
135135
const { connectWallet } = useOnboard()
136136

@@ -144,7 +144,7 @@ Property that contains the current chain to which `connectedChain` is connected
144144

145145
#### Example usage
146146

147-
```tsx
147+
```typescript
148148
function SampleConnect() {
149149
const { connectedChain } = useOnboard()
150150

@@ -157,7 +157,7 @@ Property that contains the latest connected wallet
157157
158158
#### Example usage
159159
160-
```tsx
160+
```typescript
161161
function SampleConnect() {
162162
const { connectedWallet } = useOnboard()
163163
return <span>Connected Wallet: {connectedWallet()?.label}</span>
@@ -170,7 +170,7 @@ Function to disconnect the `connectedWallet`
170170
171171
#### Example usage
172172
173-
```tsx
173+
```typescript
174174
import { useOnboard } from '@web3-onboard/solid'
175175
function SampleConnect() {
176176
const { disconnectConnectedWallet } = useOnboard()
@@ -189,7 +189,7 @@ Function that returns the current chain a wallet is connected to
189189
190190
#### Example usage
191191
192-
```tsx
192+
```typescript
193193
import { useOnboard } from '@web3-onboard/solid'
194194
function SampleConnect() {
195195
const { getChain } = useOnboard()
@@ -203,7 +203,7 @@ Function to set the chain of a wallet
203203
204204
#### Example usage
205205
206-
```tsx
206+
```typescript
207207
import { useOnboard } from '@web3-onboard/solid'
208208
function SampleConnect() {
209209
const { setChain } = useOnboard()
@@ -222,7 +222,7 @@ Readonly boolean ref that tracks the status of setting the chain
222222
223223
#### Example usage
224224
225-
```tsx
225+
```typescript
226226
import { useOnboard } from '@web3-onboard/solid'
227227
function SampleConnect() {
228228
const { settingChain } = useOnboard()
@@ -236,7 +236,7 @@ Readonly ref that contains every wallet that has been connected
236236
237237
#### Example usage
238238
239-
```tsx
239+
```typescript
240240
import { useOnboard } from '@web3-onboard/solid'
241241
function SampleConnect() {
242242
const { wallets } = useOnboard()
@@ -260,7 +260,7 @@ Readonly ref that contains the last time that the user connected a wallet in mil
260260
261261
#### Example usage
262262
263-
```tsx
263+
```typescript
264264
import { useOnboard } from '@web3-onboard/solid'
265265
function SampleConnect() {
266266
const { lastConnectedTimestamp } = useOnboard()

0 commit comments

Comments
 (0)