chore: updates @walletconnect deps (#157)
* chore: updates `@walletconnect` deps * fix: cosmos provider * fix: updates web3wallet example * fix: eip155 legacy session request type --------- Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
This commit is contained in:
co-authored by
Gancho Radkov
parent
c6e9c2d614
commit
2810f0178f
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "react-dapp-v2-with-ethers",
|
||||
"name": "react-dapp-v2-with-web3",
|
||||
"version": "2.0.0-beta.26",
|
||||
"private": true,
|
||||
"keywords": [
|
||||
@@ -30,10 +30,10 @@
|
||||
"dependencies": {
|
||||
"@ethereumjs/tx": "^3.5.0",
|
||||
"@walletconnect/encoding": "^1.0.1",
|
||||
"@walletconnect/types": "2.1.1",
|
||||
"@walletconnect/universal-provider": "2.1.4",
|
||||
"@walletconnect/utils": "2.1.4",
|
||||
"@web3modal/standalone": "^2.0.0-beta.10",
|
||||
"@walletconnect/types": "2.7.2",
|
||||
"@walletconnect/universal-provider": "2.7.2",
|
||||
"@walletconnect/utils": "2.7.2",
|
||||
"@web3modal/standalone": "^2.3.7",
|
||||
"axios": "^0.21.1",
|
||||
"blockies-ts": "^1.0.0",
|
||||
"caip-api": "^2.0.0-beta.1",
|
||||
|
||||
@@ -17,6 +17,7 @@ import { DEFAULT_LOGGER, DEFAULT_PROJECT_ID, DEFAULT_RELAY_URL } from "../consta
|
||||
import { utils } from "ethers";
|
||||
import { AccountBalances, ChainNamespaces, getAllChainNamespaces } from "../helpers";
|
||||
import { PairingTypes, SessionTypes } from "@walletconnect/types";
|
||||
|
||||
/**
|
||||
* Types
|
||||
*/
|
||||
@@ -149,7 +150,8 @@ export function ClientContextProvider({ children }: { children: ReactNode | Reac
|
||||
});
|
||||
|
||||
const web3Modal = new Web3Modal({
|
||||
projectId: DEFAULT_PROJECT_ID,
|
||||
projectId: DEFAULT_PROJECT_ID || "",
|
||||
walletConnectVersion: 2,
|
||||
});
|
||||
|
||||
setEthereumProvider(provider);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { useState } from "react";
|
||||
import { version } from "@walletconnect/universal-provider/package.json";
|
||||
import { RELAYER_SDK_VERSION as version } from "@walletconnect/core";
|
||||
import * as encoding from "@walletconnect/encoding";
|
||||
import { utils } from "ethers";
|
||||
import { TypedDataField } from "@ethersproject/abstract-signer";
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user