Skip to content

Commit

Permalink
feat: improve multi-ecosystem compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Jan 15, 2024
1 parent a2e5073 commit c0cc295
Show file tree
Hide file tree
Showing 61 changed files with 2,580 additions and 1,580 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,30 @@
}
},
"devDependencies": {
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.6",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/eslint": "^8.56.0",
"@testing-library/user-event": "^14.5.2",
"@types/eslint": "^8.56.2",
"@types/events": "^3.0.3",
"@types/node": "^20.10.5",
"@types/react": "^18.2.45",
"@types/node": "^20.11.2",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"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.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"lerna": "8.0.1",
"prettier": "^3.1.1",
"lerna": "8.0.2",
"prettier": "^3.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"standard-version": "^9.5.0",
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.45",
"@lifi/sdk": "^3.0.0-alpha.47",
"react": "^18.2.0",
"wagmi": "^2.0.3"
"wagmi": "^2.2.1"
},
"devDependencies": {
"cpy-cli": "^5.0.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/widget-embedded/.env
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
VITE_OPENSEA_API_KEY=ee7460014fda4f58804f25c29a27df35
VITE_WALLET_CONNECT=5432e3507d41270bee46b7b85bbc2ef8

18 changes: 9 additions & 9 deletions packages/widget-embedded/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,27 @@
"dependencies": {
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@lifi/sdk": "^3.0.0-alpha.42",
"@lifi/sdk": "^3.0.0-alpha.47",
"@lifi/wallet-management": "^3.0.0-alpha.8",
"@lifi/widget": "^3.0.0-alpha.12",
"@mui/icons-material": "^5.15.2",
"@mui/lab": "^5.0.0-alpha.158",
"@mui/material": "^5.15.2",
"@mui/icons-material": "^5.15.4",
"@mui/lab": "^5.0.0-alpha.160",
"@mui/material": "^5.15.4",
"@opensea/seaport-js": "2.0.8",
"@tanstack/react-query": "^5.15.0",
"@tanstack/react-query": "^5.17.12",
"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.1",
"wagmi": "^2.0.0-rc.2"
"react-router-dom": "^6.21.2",
"wagmi": "^2.2.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"web-vitals": "^3.5.0"
"vite": "^5.0.11",
"web-vitals": "^3.5.1"
},
"eslintConfig": {
"extends": "../../.eslintrc"
Expand Down
10 changes: 6 additions & 4 deletions packages/widget-embedded/src/providers/WalletProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {
bitpie,
block,
brave,
coinbase,
createCoinbaseConnector,
createWalletConnectConnector,
dcent,
exodus,
frame,
Expand All @@ -25,7 +26,6 @@ import {
tokenary,
tokenpocket,
trust,
walletConnect,
xdefi,
} from '@lifi/wallet-management';
import { formatChain, useAvailableChains } from '@lifi/widget';
Expand All @@ -37,8 +37,10 @@ import { mainnet } from 'wagmi/chains';

const connectors = [
metaMask,
walletConnect,
coinbase,
createWalletConnectConnector({
projectId: import.meta.env.VITE_WALLET_CONNECT,
}),
createCoinbaseConnector({ appName: 'LI.FI NFT Demo' }),
bitget,
gate,
exodus,
Expand Down
1 change: 1 addition & 0 deletions packages/widget-playground/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_WALLET_CONNECT=5432e3507d41270bee46b7b85bbc2ef8
20 changes: 10 additions & 10 deletions packages/widget-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,29 @@
},
"author": "Eugene Chybisov <[email protected]>",
"dependencies": {
"@lifi/sdk": "^3.0.0-alpha.42",
"@lifi/sdk": "^3.0.0-alpha.47",
"@lifi/wallet-management": "^3.0.0-alpha.8",
"@lifi/widget": "^3.0.0-alpha.12",
"@mui/icons-material": "^5.15.2",
"@mui/lab": "^5.0.0-alpha.158",
"@mui/material": "^5.15.2",
"@tanstack/react-query": "^5.15.0",
"@mui/icons-material": "^5.15.4",
"@mui/lab": "^5.0.0-alpha.160",
"@mui/material": "^5.15.4",
"@tanstack/react-query": "^5.17.12",
"ethers": "^5.7.2",
"events": "^3.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.1",
"viem": "^2.0.0-rc.3",
"wagmi": "^2.0.0-rc.2"
"react-router-dom": "^6.21.2",
"viem": "^2.0.10",
"wagmi": "^2.2.1"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@vitejs/plugin-react": "^4.2.1",
"rollup-plugin-polyfill-node": "^0.13.0",
"source-map-explorer": "^2.5.3",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"web-vitals": "^3.5.0"
"vite": "^5.0.11",
"web-vitals": "^3.5.1"
},
"eslintConfig": {
"extends": "../../.eslintrc"
Expand Down
Loading

0 comments on commit c0cc295

Please sign in to comment.