Skip to content

Commit

Permalink
Upgrade to coinbaseWallet v4.0.2 (#3972)
Browse files Browse the repository at this point in the history
* update coinbase wallet sdk to 4.0.2

* chore: changeset

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
  • Loading branch information
nateReiners and tmm authored May 23, 2024
1 parent a9ddfe0 commit be9e1b8
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 27 deletions.
5 changes: 5 additions & 0 deletions .changeset/quick-onions-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/connectors": patch
---

Bumped Coinbase Wallet SDK.
2 changes: 1 addition & 1 deletion packages/connectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
},
"dependencies": {
"@coinbase/wallet-sdk": "4.0.0",
"@coinbase/wallet-sdk": "4.0.2",
"@metamask/sdk": "0.20.3",
"@safe-global/safe-apps-provider": "0.18.1",
"@safe-global/safe-apps-sdk": "8.1.0",
Expand Down
10 changes: 7 additions & 3 deletions packages/connectors/src/coinbaseWallet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import type { CoinbaseWalletSDK, ProviderInterface } from '@coinbase/wallet-sdk'
import type {
CoinbaseWalletSDK,
Preference,
ProviderInterface,
} from '@coinbase/wallet-sdk'
import {
ChainNotConfiguredError,
type Connector,
Expand Down Expand Up @@ -64,8 +68,8 @@ type Version4Parameters = Mutable<
* Preference for the type of wallet to display.
* @default 'all'
*/
preference?: 'all' | 'smartWalletOnly' | 'eoaOnly' | undefined
keysUrl?: string | undefined
preference?: Preference['options'] | undefined
keysUrl?: Preference['keysUrl'] | undefined
}
>

Expand Down
Loading

0 comments on commit be9e1b8

Please sign in to comment.