Skip to content

Commit

Permalink
chore: bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Dec 27, 2023
1 parent dff8105 commit 26a2608
Show file tree
Hide file tree
Showing 7 changed files with 354 additions and 521 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"cpy-cli": "^5.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"lerna": "8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/wallet-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
"lifi"
],
"dependencies": {
"@lifi/sdk": "^3.0.0-alpha.41",
"@lifi/sdk": "^3.0.0-alpha.42",
"react": "^18.2.0",
"wagmi": "^2.0.0-beta.9"
"wagmi": "^2.0.0-rc.1"
},
"devDependencies": {
"cpy-cli": "^5.0.0",
Expand Down
14 changes: 7 additions & 7 deletions packages/widget-embedded/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@
"dependencies": {
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@lifi/sdk": "^3.0.0-alpha.41",
"@lifi/sdk": "^3.0.0-alpha.42",
"@lifi/wallet-management": "^3.0.0-alpha.7",
"@lifi/widget": "^3.0.0-alpha.11",
"@mui/icons-material": "^5.15.1",
"@mui/lab": "^5.0.0-alpha.157",
"@mui/material": "^5.15.1",
"@mui/icons-material": "^5.15.2",
"@mui/lab": "^5.0.0-alpha.158",
"@mui/material": "^5.15.2",
"@opensea/seaport-js": "2.0.8",
"@tanstack/react-query": "^5.14.2",
"@tanstack/react-query": "^5.15.0",
"bignumber.js": "^9.1.2",
"ethers": "^5.7.2",
"events": "^3.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.0",
"wagmi": "^2.0.0-beta.9"
"react-router-dom": "^6.21.1",
"wagmi": "^2.0.0-rc.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
Expand Down
16 changes: 8 additions & 8 deletions packages/widget-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@
},
"author": "Eugene Chybisov <eugene@li.finance>",
"dependencies": {
"@lifi/sdk": "^3.0.0-alpha.41",
"@lifi/sdk": "^3.0.0-alpha.42",
"@lifi/wallet-management": "^3.0.0-alpha.7",
"@lifi/widget": "^3.0.0-alpha.11",
"@mui/icons-material": "^5.15.1",
"@mui/lab": "^5.0.0-alpha.157",
"@mui/material": "^5.15.1",
"@tanstack/react-query": "^5.14.2",
"@mui/icons-material": "^5.15.2",
"@mui/lab": "^5.0.0-alpha.158",
"@mui/material": "^5.15.2",
"@tanstack/react-query": "^5.15.0",
"ethers": "^5.7.2",
"events": "^3.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.0",
"viem": "^2.0.0-rc.0",
"wagmi": "^2.0.0-beta.9"
"react-router-dom": "^6.21.1",
"viem": "^2.0.0-rc.3",
"wagmi": "^2.0.0-rc.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
Expand Down
20 changes: 10 additions & 10 deletions packages/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,31 +54,31 @@
"lifi"
],
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@lifi/sdk": "^3.0.0-alpha.41",
"@lifi/sdk": "^3.0.0-alpha.42",
"@lifi/wallet-management": "^3.0.0-alpha.7",
"@mui/icons-material": "^5.15.1",
"@mui/lab": "^5.0.0-alpha.157",
"@mui/material": "^5.15.1",
"@mui/icons-material": "^5.15.2",
"@mui/lab": "^5.0.0-alpha.158",
"@mui/material": "^5.15.2",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/wallet-adapter-wallets": "^0.19.24",
"@solana/web3.js": "^1.87.6",
"@tanstack/react-query": "^5.14.2",
"@tanstack/react-query": "^5.15.0",
"@tanstack/react-virtual": "^3.0.1",
"i18next": "^23.7.11",
"microdiff": "^1.3.2",
"mitt": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^13.5.0",
"react-i18next": "^14.0.0",
"react-intersection-observer": "^9.5.3",
"react-router-dom": "^6.21.0",
"react-router-dom": "^6.21.1",
"react-timer-hook": "^3.0.7",
"uuid": "^9.0.1",
"viem": "^2.0.0-rc.0",
"wagmi": "^2.0.0-beta.9",
"viem": "^2.0.0-rc.3",
"wagmi": "^2.0.0-rc.1",
"zustand": "^4.4.7"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/widget/src/providers/WalletProvider/SDKProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export const SDKProviders = () => {
EVM({
getWalletClient: () => getWalletClient(wagmiConfig),
switchChain: async (chainId: number) => {
await switchChain(wagmiConfig, { chainId });
return getWalletClient(wagmiConfig);
const chain = await switchChain(wagmiConfig, { chainId });
return getWalletClient(wagmiConfig, { chainId: chain.id });
},
}),
Solana({
Expand Down
Loading

0 comments on commit 26a2608

Please sign in to comment.