Skip to content

Commit

Permalink
Update dependencies, add rainbow wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrotkk committed Jan 29, 2024
1 parent 149914d commit 5d20642
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
Binary file modified bun.lockb
Binary file not shown.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@skalenetwork/metaport",
"version": "2.0.3",
"version": "2.1.0",
"description": "SKALE Metaport Widget",
"keywords": [
"skale",
Expand Down Expand Up @@ -34,13 +34,13 @@
"version": "node -e \"console.log(require('./package.json').version);\""
},
"devDependencies": {
"@storybook/addon-essentials": "7.4.0",
"@storybook/addon-interactions": "7.4.0",
"@storybook/addon-links": "7.4.0",
"@storybook/addon-essentials": "^7.6.10",
"@storybook/addon-interactions": "^7.6.10",
"@storybook/addon-links": "^7.6.10",
"@storybook/addon-styling": "1.3.7",
"@storybook/blocks": "7.4.0",
"@storybook/react": "7.4.0",
"@storybook/react-vite": "7.4.0",
"@storybook/blocks": "^7.6.10",
"@storybook/react": "^7.6.10",
"@storybook/react-vite": "^7.6.10",
"@storybook/testing-library": "0.2.0",
"@testing-library/react": "14.0.0",
"@types/node": "20.4.9",
Expand All @@ -67,26 +67,26 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.65.1",
"storybook": "7.4.0",
"storybook": "^7.6.10",
"typescript": "5.1.6",
"vite": "4.4.9",
"vite-plugin-dts": "3.5.1",
"vite-plugin-sass-dts": "^1.3.9",
"vitest": "0.34.1"
},
"dependencies": {
"@mui/material": "^5.15.3",
"@mui/lab": "^5.0.0-alpha.143",
"@mui/icons-material": "^5.14.8",
"@mui/material": "^5.15.6",
"@mui/lab": "^5.0.0-alpha.162",
"@mui/icons-material": "^5.15.6",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@rainbow-me/rainbowkit": "^1.3.3",
"@skalenetwork/ima-js": "2.0.0-beta.0",
"coingecko-api-v3": "^0.0.29",
"react-jazzicon": "^1.0.4",
"viem": "^1.21.4",
"wagmi": "^1.4.1",
"zustand": "^4.4.1"
"wagmi": "^1.4.13",
"zustand": "^4.5.0"
},
"peerDependencies": {
"react": "18.2.0",
Expand All @@ -100,4 +100,4 @@
"prettier -w"
]
}
}
}
4 changes: 3 additions & 1 deletion src/components/MetaportProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ import {
injectedWallet,
coinbaseWallet,
metaMaskWallet,
enkryptWallet
enkryptWallet,
rainbowWallet
} from '@rainbow-me/rainbowkit/wallets'

import { MetaportConfig, ActionStateUpdate } from '../core/interfaces'
Expand Down Expand Up @@ -81,6 +82,7 @@ export default function MetaportProvider(props: {

if (props.config.projectId) {
wallets.push(metaMaskWallet({ chains, projectId: props.config.projectId }))
wallets.push(rainbowWallet({ chains, projectId: props.config.projectId }))
}

const connectors = connectorsForWallets([
Expand Down

0 comments on commit 5d20642

Please sign in to comment.