Skip to content

Commit

Permalink
Merge pull request #30 from WalletConnect/feat/disable-req-queue
Browse files Browse the repository at this point in the history
feat: disable req queue
  • Loading branch information
ganchoradkov authored May 9, 2024
2 parents 29c009d + 320f574 commit 7e5d9d3
Show file tree
Hide file tree
Showing 11 changed files with 428 additions and 383 deletions.
6 changes: 3 additions & 3 deletions examples/dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"dependencies": {
"@ethereumjs/tx": "^3.5.0",
"@walletconnect/encoding": "^1.0.1",
"@walletconnect/ethereum-provider": "2.11.2",
"@walletconnect/ethereum-provider": "2.13.0",
"@walletconnect/modal": "^2.5.4",
"@walletconnect/types": "2.11.2",
"@walletconnect/utils": "2.11.2",
"@walletconnect/types": "2.13.0",
"@walletconnect/utils": "2.13.0",
"axios": "^0.21.1",
"blockies-ts": "^1.0.0",
"cosmos-wallet": "^1.1.0",
Expand Down
292 changes: 153 additions & 139 deletions examples/dapp/yarn.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
"dependencies": {
"@json-rpc-tools/utils": "1.7.6",
"@nextui-org/react": "1.0.0-beta.12",
"@walletconnect/core": "2.11.2",
"@walletconnect/se-sdk": "1.7.1-canary.1",
"@walletconnect/utils": "2.11.2",
"@walletconnect/core": "2.13.0",
"@walletconnect/se-sdk": "1.8.0-rc.1",
"@walletconnect/utils": "2.13.0",
"@walletconnect/types": "2.13.0",
"ethers": "5.7.2",
"framer-motion": "9.0.2",
"next": "12.2.0",
Expand All @@ -28,7 +29,6 @@
"devDependencies": {
"@types/node": "18.13.0",
"@types/react": "18.0.28",
"@walletconnect/types": "2.11.2",
"eslint": "8.34.0",
"eslint-config-next": "13.1.6",
"eslint-config-prettier": "8.6.0",
Expand Down
24 changes: 7 additions & 17 deletions examples/wallet/src/pages/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,19 @@ export default function SettingsPage() {
</Text>
<Row justify="space-between" align="center">
<Text color="$gray400">@walletconnect/se-sdk</Text>
<Text color="$gray400">
{packageJSON.dependencies["@walletconnect/se-sdk"]}
</Text>
<Text color="$gray400">{packageJSON.dependencies["@walletconnect/se-sdk"]}</Text>
</Row>
<Row justify="space-between" align="center">
<Text color="$gray400">@walletconnect/core</Text>
<Text color="$gray400">
{packageJSON.dependencies["@walletconnect/core"]}
</Text>
<Text color="$gray400">{packageJSON.dependencies["@walletconnect/core"]}</Text>
</Row>
<Row justify="space-between" align="center">
<Text color="$gray400">@walletconnect/utils</Text>
<Text color="$gray400">
{packageJSON.dependencies["@walletconnect/utils"]}
</Text>
<Text color="$gray400">{packageJSON.dependencies["@walletconnect/utils"]}</Text>
</Row>
<Row justify="space-between" align="center">
<Text color="$gray400">@walletconnect/types</Text>
<Text color="$gray400">
{packageJSON.devDependencies["@walletconnect/types"]}
</Text>
<Text color="$gray400">{packageJSON.dependencies["@walletconnect/types"]}</Text>
</Row>

<Divider y={2} />
Expand Down Expand Up @@ -71,17 +63,15 @@ export default function SettingsPage() {
padding: 0,
}}
>
Warning: mnemonics and secret keys are provided for development purposes
only and should not be used elsewhere!
Warning: mnemonics and secret keys are provided for development purposes only and should not
be used elsewhere!
</Text>

<Text h4 css={{ marginTop: "$5", marginBottom: "$5" }}>
EIP155 Mnemonic
</Text>
<Card variant="bordered" css={{ minHeight: "100px", padding: 10 }}>
<Text css={{ fontFamily: "$mono" }}>
{eip155Wallets[eip155Address].getMnemonic()}
</Text>
<Text css={{ fontFamily: "$mono" }}>{eip155Wallets[eip155Address].getMnemonic()}</Text>
</Card>
</Fragment>
);
Expand Down
1 change: 1 addition & 0 deletions examples/wallet/src/utils/WalletConnectUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export async function createWeb3Wallet() {
url: "https://walletconnect.com/",
icons: ["https://avatars.githubusercontent.com/u/37784886"],
},
chainId: 1,
});

SettingsStore.setWeb3WalletReady(true);
Expand Down
Loading

0 comments on commit 7e5d9d3

Please sign in to comment.