@wagmi/connectors 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/walletConnect.js +7 -2
- package/package.json +2 -2
package/dist/walletConnect.js
CHANGED
|
@@ -20,10 +20,15 @@ var defaultV2Config = {
|
|
|
20
20
|
namespace: "eip155",
|
|
21
21
|
methods: [
|
|
22
22
|
"eth_sendTransaction",
|
|
23
|
+
"eth_sendRawTransaction",
|
|
23
24
|
"eth_sign",
|
|
24
25
|
"eth_signTransaction",
|
|
25
26
|
"eth_signTypedData",
|
|
26
|
-
"
|
|
27
|
+
"eth_signTypedData_v3",
|
|
28
|
+
"eth_signTypedData_v4",
|
|
29
|
+
"personal_sign",
|
|
30
|
+
"wallet_switchEthereumChain",
|
|
31
|
+
"wallet_addEthereumChain"
|
|
27
32
|
],
|
|
28
33
|
events: ["accountsChanged", "chainChanged"]
|
|
29
34
|
};
|
|
@@ -287,7 +292,7 @@ createWeb3Modal_fn = async function() {
|
|
|
287
292
|
_initUniversalProvider = new WeakSet();
|
|
288
293
|
initUniversalProvider_fn = async function() {
|
|
289
294
|
const WalletConnectProvider = (await import("@walletconnect/universal-provider")).default;
|
|
290
|
-
if (WalletConnectProvider) {
|
|
295
|
+
if (typeof WalletConnectProvider?.init === "function") {
|
|
291
296
|
__privateSet(this, _provider, await WalletConnectProvider.init(
|
|
292
297
|
this.options
|
|
293
298
|
));
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@wagmi/connectors",
|
|
3
3
|
"description": "A collection of connectors for wagmi",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.3",
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@wagmi/core": ">=0.9.x",
|
|
8
8
|
"ethers": ">=5.5.1",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@coinbase/wallet-sdk": "^3.5.4",
|
|
21
21
|
"@ledgerhq/connect-kit-loader": "^1.0.1",
|
|
22
22
|
"@walletconnect/ethereum-provider": "^1.8.0",
|
|
23
|
-
"@walletconnect/universal-provider": "^2.3.
|
|
23
|
+
"@walletconnect/universal-provider": "^2.3.3",
|
|
24
24
|
"@web3modal/standalone": "^2.0.0",
|
|
25
25
|
"abitype": "^0.3.0",
|
|
26
26
|
"eventemitter3": "^4.0.7"
|