Skip to content

Commit

Permalink
chore(connectors): bump wc provider
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Aug 30, 2024
1 parent 7906c04 commit b580ad4
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 35 deletions.
5 changes: 5 additions & 0 deletions .changeset/poor-carrots-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/connectors": patch
---

Bumped WalletConnect Provider.
2 changes: 1 addition & 1 deletion packages/connectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@metamask/sdk": "0.27.0",
"@safe-global/safe-apps-provider": "0.18.3",
"@safe-global/safe-apps-sdk": "9.1.0",
"@walletconnect/ethereum-provider": "2.15.1",
"@walletconnect/ethereum-provider": "2.15.2",
"@walletconnect/modal": "2.6.2",
"cbw-sdk": "npm:@coinbase/wallet-sdk@3.9.3"
},
Expand Down
81 changes: 48 additions & 33 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion site/shared/connectors/walletConnect.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@ import { type WalletConnectParameters } from '{{connectorsPackageName}}'

Check out the [WalletConnect docs](https://github.com/WalletConnect/walletconnect-monorepo/tree/v2.0/providers/ethereum-provider) for more info. A few options are omitted that Wagmi manages internally.

### customStoragePrefix <Badge :text="`${packageName === '@wagmi/core' ? '@wagmi/connectors@>=5.1.8' : `${packageName}@>=${packageName === 'wagmi' ? '2.12.8' : packageName === '@wagmi/vue' ? '0.0.40' : ''}`}`" />

`string | undefined`

Custom storage prefix for persisting provider state.

```ts-vue
import { walletConnect } from '{{connectorsPackageName}}'
const connector = walletConnect({
customStoragePrefix: 'wagmi', // [!code focus]
projectId: '3fcc6bba6f1de962d911bb5b5c3dba68',
})
```

### disableProviderPing

`boolean | undefined`
Expand Down Expand Up @@ -197,4 +212,4 @@ const connector = walletConnect({

::: tip
This can be disabled and you can listen for a `'message'` event with payload `{ type: 'display_uri'; data: string }` if you want to render your own QR code.
:::
:::

0 comments on commit b580ad4

Please sign in to comment.