Skip to content

Commit

Permalink
fix: improve peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Dec 20, 2024
1 parent 7ca782c commit ce215e5
Show file tree
Hide file tree
Showing 19 changed files with 2,858 additions and 3,168 deletions.
6 changes: 3 additions & 3 deletions examples/deposit-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"@lifi/sdk": "^3.4.3",
"@lifi/widget": "workspace:^",
"@mui/material": "^5.16.11",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"events": "^3.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "^2.21.55",
"wagmi": "^2.14.1"
"wagmi": "^2.14.3"
},
"devDependencies": {
"@types/events": "^3.0.3",
Expand All @@ -27,7 +27,7 @@
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
20 changes: 10 additions & 10 deletions examples/dynamic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@
"preview": "vite preview"
},
"dependencies": {
"@dynamic-labs/bitcoin": "^3.9.2",
"@dynamic-labs/ethereum": "^3.9.2",
"@dynamic-labs/sdk-react-core": "^3.9.2",
"@dynamic-labs/solana": "^3.9.2",
"@dynamic-labs/wagmi-connector": "^3.9.2",
"@dynamic-labs/bitcoin": "^3.9.4",
"@dynamic-labs/ethereum": "^3.9.4",
"@dynamic-labs/sdk-react-core": "^3.9.4",
"@dynamic-labs/solana": "^3.9.4",
"@dynamic-labs/wagmi-connector": "^3.9.4",
"@lifi/wallet-management": "workspace:^",
"@lifi/widget": "workspace:^",
"@mui/material": "^5.16.11",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/web3.js": "^1.95.8",
"@tanstack/react-query": "^5.62.7",
"@solana/web3.js": "^1.98.0",
"@tanstack/react-query": "^5.62.8",
"mitt": "^3.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "^2.21.55",
"wagmi": "^2.14.1"
"wagmi": "^2.14.3"
},
"devDependencies": {
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react-swc": "^3.7.2",
"globals": "^15.13.0",
"globals": "^15.14.0",
"typescript": "^5.7.2",
"vite": "^6.0.3"
"vite": "^6.0.5"
}
}
2 changes: 1 addition & 1 deletion examples/nextjs-page-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"@lifi/widget": "^3.12.4",
"@lifi/widget": "^3.12.5",
"next": "^14.2.20",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@lifi/sdk": "^3.4.3",
"@lifi/widget": "^3.12.4",
"@lifi/widget": "^3.12.5",
"next": "^14.2.20",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"@lifi/widget": "^3.12.4",
"@lifi/widget": "^3.12.5",
"nuxt": "3.14.1592",
"veaury": "^2.6.1",
"vite-plugin-node-polyfills": "^0.22.0",
Expand Down
6 changes: 3 additions & 3 deletions examples/rainbowkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
"dependencies": {
"@lifi/widget": "workspace:^",
"@rainbow-me/rainbowkit": "^2.2.1",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "^2.21.55",
"wagmi": "^2.14.1"
"wagmi": "^2.14.3"
},
"devDependencies": {
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react-swc": "^3.7.2",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
6 changes: 3 additions & 3 deletions examples/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"typecheck": "tsc"
},
"dependencies": {
"@lifi/widget": "^3.12.4",
"@lifi/widget": "^3.12.5",
"@remix-run/css-bundle": "^2.15.1",
"@remix-run/node": "^2.15.1",
"@remix-run/react": "^2.15.1",
"@remix-run/serve": "^2.15.1",
"isbot": "^5.1.13",
"isbot": "^5.1.18",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"remix-utils": "^7.6.0"
Expand All @@ -25,7 +25,7 @@
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-tsconfig-paths": "^5.1.4"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions examples/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5.0.2",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tsconfig/svelte": "^5.0.4",
"@types/events": "^3.0.3",
"@types/node": "^22.10.2",
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"svelte": "^5.12.0",
"svelte": "^5.15.0",
"svelte-check": "^4.1.1",
"svelte-preprocess": "^6.0.2",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0"
},
"dependencies": {
Expand Down
10 changes: 5 additions & 5 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
},
"dependencies": {
"@lifi/sdk": "^3.4.3",
"@lifi/wallet-management": "^3.4.6",
"@lifi/wallet-management": "^3.4.7",
"@lifi/widget": "workspace:^",
"@mui/material": "^5.16.11",
"@tanstack/react-query": "^5.62.7",
"@wagmi/connectors": "^5.6.1",
"@tanstack/react-query": "^5.62.8",
"@wagmi/connectors": "^5.7.0",
"events": "^3.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "^2.21.55",
"wagmi": "^2.14.1"
"wagmi": "^2.14.3"
},
"devDependencies": {
"@types/events": "^3.0.3",
Expand All @@ -29,7 +29,7 @@
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
4 changes: 2 additions & 2 deletions examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@lifi/widget": "^3.12.4",
"@lifi/widget": "^3.12.5",
"veaury": "^2.6.1",
"vue": "^3.5.13"
},
Expand All @@ -18,7 +18,7 @@
"@vitejs/plugin-vue": "^5.2.1",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0",
"vue-tsc": "^2.1.10"
}
Expand Down
8 changes: 4 additions & 4 deletions examples/zustand-widget-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
"dependencies": {
"@lifi/widget": "workspace:^",
"@mui/material": "^5.16.11",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"wagmi": "^2.14.1",
"wagmi": "^2.14.3",
"zustand": "^5.0.2"
},
"devDependencies": {
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"globals": "^15.13.0",
"globals": "^15.14.0",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@commitlint/cli": "^19.6.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
Expand Down
14 changes: 7 additions & 7 deletions packages/wallet-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@
"lifi"
],
"dependencies": {
"@bigmi/client": "^0.0.6",
"@bigmi/client": "^0.0.7-beta.0",
"@bigmi/core": "^0.0.6",
"@bigmi/react": "^0.0.6",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@lifi/sdk": "^3.4.3",
Expand All @@ -59,16 +58,14 @@
"@mui/material": "^5.16.11",
"@mui/system": "^5.16.8",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/web3.js": "^1.95.8",
"@solana/web3.js": "^1.98.0",
"@wagmi/core": "^2.16.0",
"i18next": "^24.1.0",
"i18next": "^24.2.0",
"mitt": "^3.0.1",
"react": "^18.3.1",
"react-i18next": "^15.2.0",
"use-sync-external-store": "^1.4.0",
"viem": "^2.21.55",
"wagmi": "^2.14.1",
"zustand": "^5.0.2"
},
"devDependencies": {
Expand All @@ -78,8 +75,11 @@
"typescript": "^5.7.2"
},
"peerDependencies": {
"@bigmi/react": ">=0.0.6",
"@solana/wallet-adapter-react": "^0.15.35",
"react": ">=18",
"react-dom": ">=18"
"react-dom": ">=18",
"wagmi": "^2.14.0"
},
"files": ["dist/**", "src/**", "!tsconfig.json"]
}
6 changes: 3 additions & 3 deletions packages/widget-embedded/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@
"@mui/material": "^5.16.11",
"@mui/system": "^5.16.8",
"@opensea/seaport-js": "4.0.4",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"bignumber.js": "^9.1.2",
"ethers": "^6.13.4",
"events": "^3.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.28.0",
"viem": "^2.21.55",
"wagmi": "^2.14.1"
"wagmi": "^2.14.3"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@vitejs/plugin-react-swc": "^3.7.2",
"source-map-explorer": "^2.5.3",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0",
"web-vitals": "^4.2.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/widget-playground-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@mui/material": "^5.16.11",
"@mui/material-nextjs": "^5.16.8",
"@mui/system": "^5.16.8",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"core-js": "^3.39.0",
"next": "14.2.15",
"react": "^18.3.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/widget-playground-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@lifi/widget-playground": "workspace:*",
"@mui/material": "^5.16.11",
"@mui/system": "^5.16.8",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand All @@ -28,7 +28,7 @@
"rollup-plugin-polyfill-node": "^0.13.0",
"source-map-explorer": "^2.5.3",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "0.17.0",
"web-vitals": "^4.2.4"
},
Expand Down
9 changes: 5 additions & 4 deletions packages/widget-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"./widget-config": "./src/defaultWidgetConfig.ts"
},
"dependencies": {
"@bigmi/react": "^0.0.7-beta.0",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@lifi/sdk": "^3.4.3",
Expand All @@ -40,15 +41,15 @@
"@rainbow-me/rainbowkit": "^2.2.1",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/web3.js": "^1.95.8",
"@tanstack/react-query": "^5.62.7",
"@solana/web3.js": "^1.98.0",
"@tanstack/react-query": "^5.62.8",
"csstype": "^3.1.3",
"lodash.isequal": "^4.5.0",
"microdiff": "^1.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "^2.21.55",
"wagmi": "^2.14.1",
"wagmi": "^2.14.3",
"zustand": "^5.0.2"
},
"devDependencies": {
Expand All @@ -60,7 +61,7 @@
"cpy-cli": "^5.0.0",
"madge": "^8.0.0",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vitest": "^2.1.8"
},
"private": true
Expand Down
Loading

0 comments on commit ce215e5

Please sign in to comment.