Skip to content

Commit

Permalink
feat: valora fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Jun 29, 2023
1 parent 36d6424 commit 09ed14a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 16 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@acusti/react-code-input": "^3.11.0",
"@babel/preset-typescript": "^7.21.5",
"@celo/rainbowkit-celo": "^0.11.2",
"@celo/rainbowkit-celo": "^1.0.1",
"@masa-finance/masa-contracts-identity": "^1.8.0",
"@masa-finance/masa-sdk": "^3.4.11",
"@metamask/providers": "^11.0.0",
Expand Down Expand Up @@ -70,12 +70,12 @@
"@size-limit/preset-big-lib": "^8.2.4",
"@size-limit/webpack-why": "^8.2.4",
"@storybook/addon-essentials": "^7.0.2",
"@storybook/components": "^7.0.23",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^7.0.22",
"@storybook/addon-mdx-gfm": "^7.0.23",
"@storybook/addon-styling": "^1.0.8",
"@storybook/addons": "^7.0.22",
"@storybook/components": "^7.0.23",
"@storybook/react": "^7.0.18",
"@storybook/react-webpack5": "^7.0.20",
"@tanstack/eslint-plugin-query": "^4.29.9",
Expand Down
Expand Up @@ -52,7 +52,7 @@ const walletConnectorsList: Record<
}),
valora: (chains: Chain[]) => ({
groupName: 'Celo',
wallets: [Valora({ chains })],
wallets: [Valora({ chains, projectId: PROJECT_ID })],
}),

walletconnect: (chains: Chain[]) => ({
Expand Down
2 changes: 1 addition & 1 deletion src/refactor/wallet-client/constants.ts
Expand Up @@ -22,7 +22,7 @@ export const walletConnectorsList: Record<
}),
valora: (chains: Chain[]) => ({
groupName: 'Celo',
wallets: [Valora({ chains })],
wallets: [Valora({ chains, projectId: PROJECT_ID })],
}),

walletconnect: (chains: Chain[]) => ({
Expand Down
2 changes: 1 addition & 1 deletion stories/masa.stories.tsx
Expand Up @@ -243,7 +243,7 @@ const TemplateWithRainbowKit: Story = (props: Args) => {
<>
<MasaProvider
company="Masa"
walletsToUse={['metamask', 'walletconnect']}
walletsToUse={['metamask', 'walletconnect', 'valora']}
useRainbowKitWalletConnect
forceNetwork="alfajores"
rainbowKitModalSize={'wide'}
Expand Down
15 changes: 4 additions & 11 deletions yarn.lock
Expand Up @@ -1418,12 +1418,10 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@celo/rainbowkit-celo@^0.11.2":
version "0.11.2"
resolved "https://registry.yarnpkg.com/@celo/rainbowkit-celo/-/rainbowkit-celo-0.11.2.tgz#9e9f5435964585cb6dfa94a6766341bb5075cf42"
integrity sha512-pgHPe/2vhLc2+BPsqQtdqnqA+jORhxUo6qs4Br/o/65SOANixF6p5v5iVBObtClRtp5O0Ou+rzaN+VUfh/PvmA==
dependencies:
"@wagmi/chains" ">=0.2.1"
"@celo/rainbowkit-celo@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@celo/rainbowkit-celo/-/rainbowkit-celo-1.0.1.tgz#6d07481e7bce43a4d27d936c724f0cd3e49b8c2d"
integrity sha512-YijnvUyOd3qNDjsb/GYedQa/SydJTePubILirMGDZu9F79s9GqMlZkWfki5cyRgZAtONeTYKs7G7fP9w6stD/A==

"@coinbase/wallet-sdk@^3.6.6":
version "3.7.1"
Expand Down Expand Up @@ -4715,11 +4713,6 @@
resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-0.2.22.tgz#25e511e134a00742e4fbf5108613dadf876c5bd9"
integrity sha512-TdiOzJT6TO1JrztRNjTA5Quz+UmQlbvWFG8N41u9tta0boHA1JCAzGGvU6KuIcOmJfRJkKOUIt67wlbopCpVHg==

"@wagmi/chains@>=0.2.1":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-1.3.0.tgz#a17438d44abe98fdf1ec3a91df115c6bfaed39c0"
integrity sha512-7tyr1irTZQpA4/4HoIiJP3XYZuJIZuWiZ1V1j5WEG3cjm8TXIlMEzO0N+hT/cZKw4/UtF2EukvB8GkDWa2S77w==

"@wagmi/connectors@0.3.19":
version "0.3.19"
resolved "https://registry.yarnpkg.com/@wagmi/connectors/-/connectors-0.3.19.tgz#b9e9a55f8c9824116cfcdfc95666136cf431cadc"
Expand Down

0 comments on commit 09ed14a

Please sign in to comment.