Skip to content

Commit

Permalink
Bump rainbowkit and wagmi requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan DesRosier committed Jun 26, 2023
1 parent 79b4b19 commit b4f6bc9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 21 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@pooltogether/etherplex": "^1.1.2",
"@pooltogether/react-components": "^2.0.0-beta.13",
"@pooltogether/utilities": "^0.6.2",
"@rainbow-me/rainbowkit": "^0.8.1",
"@rainbow-me/rainbowkit": "0.12.15",
"@size-limit/preset-small-lib": "^7.0.8",
"@storybook/addon-essentials": "^6.4.19",
"@storybook/addon-info": "^5.3.21",
Expand All @@ -67,7 +67,7 @@
"@types/react": "^18.0.20",
"@types/react-dom": "^18.0.6",
"@types/uuid": "^9.0.0",
"@wagmi/chains": "^0.1.13",
"@wagmi/chains": "1.3.0",
"autoprefixer": "^10.4.0",
"babel-loader": "^8.2.3",
"beautiful-react-hooks": "^3.6.2",
Expand All @@ -92,16 +92,16 @@
"tailwindcss": "^2.2.7",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.8.3",
"typescript": "4",
"uuid": "^9.0.0",
"wagmi": "0.9.0"
},
"peerDependencies": {
"@pooltogether/etherplex": "^1.1.2",
"@pooltogether/react-components": "^2.0.0-beta.13",
"@pooltogether/utilities": "^0.6.2",
"@rainbow-me/rainbowkit": "^0.8.1",
"@wagmi/chains": "^0.1.13",
"@rainbow-me/rainbowkit": "0.12.15",
"@wagmi/chains": "1.3.0",
"beautiful-react-hooks": "^3.6.2",
"classnames": "^2.3.1",
"eth-revert-reason": "^1.0.3",
Expand All @@ -119,7 +119,7 @@
"react-toastify": "^8.2.0",
"tailwindcss": "^2.2.7",
"uuid": "^9.0.0",
"wagmi": "0.9.0"
"wagmi": "0.12.17"
},
"dependencies": {
"@download/blockies": "^1.0.3"
Expand Down
6 changes: 2 additions & 4 deletions src/components/WalletConnectionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ export const WalletConnectionList = (props: {
return (
<>
<ul className={classNames('space-y-2 mx-auto', className)}>
{/* Hide the RainbowWallet connector since we can't identify it */}
{/* Hide the WalletConnect connector since it breaks the flow */}
{connectors
.filter(
(connector) => connector.id !== 'walletConnect' || connector.options.qrcode !== false
)
.filter((connector) => connector.id !== 'walletConnect')
.map((connector) => (
<FullWalletConnectionButton
key={connector.id}
Expand Down
4 changes: 2 additions & 2 deletions src/hooks/useSendTransaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createTransactionsAtom, updateTransactionsAtom } from '../atoms'
import { SendTransactionOptions, TransactionCallbacks } from '../interfaces'
import { TransactionReceipt, TransactionResponse } from '@ethersproject/providers'
import { toast, ToastContentProps } from 'react-toastify'
import v4 from 'uuid/v4.js'
import * as uuid from 'uuid'
import { TransactionState, TransactionStatus } from '../constants'
import { useUsersAddress } from './useUsersAddress'
import { useWalletChainId } from './useWalletChainId'
Expand Down Expand Up @@ -189,7 +189,7 @@ export const useSendTransaction = (

return (options: SendTransactionOptions) => {
const { name, callTransaction, callbacks } = options
const id: string = v4()
const id: string = uuid.v4()
createTransaction({ id, name, chainId, usersAddress })
sendTransaction(id, name, chainId, callTransaction, callbacks)
return id
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2204,10 +2204,10 @@
resolved "https://registry.yarnpkg.com/@pooltogether/utilities/-/utilities-0.6.2.tgz#71a4e6dd56c6f0a03feea95b4f3a1b8eeee04329"
integrity sha512-vGqf8wqdKbP3Sk0xsF8W6wkRJgyPEGCIyeH1YM3kPjzNn4mCMAc08tGlBtq0CvjkvaNwWgLAMv2/L7Jh//wbbw==

"@rainbow-me/rainbowkit@^0.8.1":
version "0.8.1"
resolved "https://registry.yarnpkg.com/@rainbow-me/rainbowkit/-/rainbowkit-0.8.1.tgz#de93b55a4629cdd33a9acf6a8699a7cd70b29ccd"
integrity sha512-A8BjihvgCY/xjQWOpqgOce+uO4mmIV4Qlo3XMF87kk5WNmyLLaPx2oYTJQz1uOinWE77h4G0HozJr5wnrermgw==
"@rainbow-me/rainbowkit@0.12.15":
version "0.12.15"
resolved "https://registry.yarnpkg.com/@rainbow-me/rainbowkit/-/rainbowkit-0.12.15.tgz#b5c785ac1759a12fd3bdf58a94810c51e5cfeb5c"
integrity sha512-FL2EiH3Cr1Pjoda21cGexvcxzUGUB0eNojMeRpM5xu9tLVVGMwsaLLrmVztFRi77zcxTFzP5whbjo0LJb3r2bQ==
dependencies:
"@vanilla-extract/css" "1.9.1"
"@vanilla-extract/dynamic" "2.0.2"
Expand Down Expand Up @@ -14958,16 +14958,16 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==

typescript@4:
version "4.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==

typescript@^3.7.3:
version "3.9.10"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"
integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==

typescript@^4.8.3:
version "4.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88"
integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==

ua-parser-js@^0.7.24, ua-parser-js@^0.7.30:
version "0.7.31"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.31.tgz#649a656b191dffab4f21d5e053e27ca17cbff5c6"
Expand Down

0 comments on commit b4f6bc9

Please sign in to comment.