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
Feat/add additional required methods props to wc (#1883)
* add ability to pass additionalRequiredMethods in WalletConnectOptions
* bump minor version to alpha.1
* add documentation for additionalRequiredMethods
* bump @walletconnect/ethereum-provider to ^2.10.0
* Add to internal demo and docs, update readme
---------
Co-authored-by: Kat Leight <[email protected]>
Co-authored-by: Adam Carpenter <[email protected]>
* Additional required methods to be added to the default list of ['eth_sendTransaction', 'personal_sign']
92
+
* Passed methods to be included along with the defaults methods - see https://docs.walletconnect.com/2.0/advanced/providers/ethereum#required-and-optional-methods
93
+
*/
94
+
additionalRequiredMethods?:string[] |undefined
90
95
/**
91
96
* Additional methods to be added to the default list of ['eth_sendTransaction', 'eth_signTransaction', 'personal_sign', 'eth_sign', 'eth_signTypedData', 'eth_signTypedData_v4']
92
97
* Passed methods to be included along with the defaults methods - see https://docs.walletconnect.com/2.0/web/walletConnectModal/options
* Additional required methods to be added to the default list of ['eth_sendTransaction', 'personal_sign']
73
+
* Passed methods to be included along with the defaults methods - see https://docs.walletconnect.com/2.0/advanced/providers/ethereum#required-and-optional-methods
74
+
*/
75
+
additionalRequiredMethods?:string[] |undefined
71
76
/**
72
77
* Additional methods to be added to the default list of ['eth_sendTransaction', 'eth_signTransaction', 'personal_sign', 'eth_sign', 'eth_signTypedData', 'eth_signTypedData_v4']
73
78
* Passed methods to be included along with the defaults methods - see https://docs.walletconnect.com/2.0/web/walletConnectModal/options
Copy file name to clipboardExpand all lines: packages/walletconnect/package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@web3-onboard/walletconnect",
3
-
"version": "2.4.5",
3
+
"version": "2.4.6-alpha.1",
4
4
"description": "WalletConnect SDK module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised 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.",
* Additional required methods to be added to the default list of ['eth_sendTransaction', 'personal_sign']
64
+
* Passed methods to be included along with the defaults methods - see https://docs.walletconnect.com/2.0/advanced/providers/ethereum#required-and-optional-methods
65
+
*/
66
+
additionalRequiredMethods?: string[]|undefined
62
67
/**
63
68
* Additional methods to be added to the default list of ['eth_sendTransaction', 'eth_signTransaction', 'personal_sign', 'eth_sign', 'eth_signTypedData', 'eth_signTypedData_v4']
64
69
* Passed methods to be included along with the defaults methods - see https://docs.walletconnect.com/2.0/web/walletConnectModal/options
0 commit comments