Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Permit (ERC-2612), Permit2 and Wallet Call API (EIP-5792) support #331

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
12 changes: 6 additions & 6 deletions examples/deposit-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@
"dependencies": {
"@lifi/sdk": "^3.5.2",
"@lifi/widget": "workspace:^",
"@mui/material": "^6.4.2",
"@tanstack/react-query": "^5.65.1",
"@mui/material": "^6.4.3",
"@tanstack/react-query": "^5.66.0",
"events": "^3.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"viem": "^2.22.17",
"wagmi": "^2.14.9"
"viem": "^2.23.1",
"wagmi": "^2.14.11"
},
"devDependencies": {
"@types/events": "^3.0.3",
"@types/node": "^22.12.0",
"@types/node": "^22.13.1",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite": "^6.1.0",
"vite-plugin-node-polyfills": "^0.23.0"
}
}
22 changes: 11 additions & 11 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.7",
"@dynamic-labs/ethereum": "^3.9.7",
"@dynamic-labs/sdk-react-core": "^3.9.7",
"@dynamic-labs/solana": "^3.9.7",
"@dynamic-labs/wagmi-connector": "^3.9.7",
"@dynamic-labs/bitcoin": "^3.9.9",
"@dynamic-labs/ethereum": "^3.9.9",
"@dynamic-labs/sdk-react-core": "^3.9.9",
"@dynamic-labs/solana": "^3.9.9",
"@dynamic-labs/wagmi-connector": "^3.9.9",
"@lifi/wallet-management": "workspace:^",
"@lifi/widget": "workspace:^",
"@mui/material": "^6.4.2",
"@mui/material": "^6.4.3",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/web3.js": "^1.98.0",
"@tanstack/react-query": "^5.65.1",
"@tanstack/react-query": "^5.66.0",
"mitt": "^3.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"viem": "^2.22.17",
"wagmi": "^2.14.9"
"viem": "^2.23.1",
"wagmi": "^2.14.11"
},
"devDependencies": {
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react-swc": "^3.7.2",
"@vitejs/plugin-react-swc": "^3.8.0",
"globals": "^15.14.0",
"typescript": "^5.7.3",
"vite": "^6.0.11"
"vite": "^6.1.0"
}
}
6 changes: 3 additions & 3 deletions examples/nextjs-page-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"start": "next start"
},
"dependencies": {
"@lifi/widget": "^3.14.2",
"next": "^15.1.6",
"@lifi/widget": "^3.16.0",
"next": "^15.1.7",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@types/node": "^22.12.0",
"@types/node": "^22.13.1",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"typescript": "^5.7.3"
Expand Down
8 changes: 4 additions & 4 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
},
"dependencies": {
"@lifi/sdk": "^3.5.2",
"@lifi/widget": "^3.14.2",
"@mui/material-nextjs": "^6.4.2",
"next": "^15.1.6",
"@lifi/widget": "^3.16.0",
"@mui/material-nextjs": "^6.4.3",
"next": "^15.1.7",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@types/node": "^22.12.0",
"@types/node": "^22.13.1",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"typescript": "^5.7.3"
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.14.2",
"@lifi/widget": "^3.16.0",
"nuxt": "3.15.4",
"veaury": "^2.6.2",
"vite-plugin-node-polyfills": "^0.23.0",
Expand Down
10 changes: 5 additions & 5 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.3",
"@tanstack/react-query": "^5.65.1",
"@tanstack/react-query": "^5.66.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"viem": "^2.22.17",
"wagmi": "^2.14.9"
"viem": "^2.23.1",
"wagmi": "^2.14.11"
},
"devDependencies": {
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react-swc": "^3.7.2",
"@vitejs/plugin-react-swc": "^3.8.0",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite": "^6.1.0",
"vite-plugin-node-polyfills": "^0.23.0"
}
}
14 changes: 7 additions & 7 deletions examples/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@
"typecheck": "tsc"
},
"dependencies": {
"@lifi/widget": "^3.14.2",
"@remix-run/css-bundle": "^2.15.2",
"@remix-run/node": "^2.15.2",
"@remix-run/react": "^2.15.2",
"@remix-run/serve": "^2.15.2",
"@lifi/widget": "^3.16.0",
"@remix-run/css-bundle": "^2.15.3",
"@remix-run/node": "^2.15.3",
"@remix-run/react": "^2.15.3",
"@remix-run/serve": "^2.15.3",
"isbot": "^5.1.22",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"remix-utils": "^8.1.0"
},
"devDependencies": {
"@remix-run/dev": "^2.15.2",
"@remix-run/dev": "^2.15.3",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite": "^6.1.0",
"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 @@ -13,15 +13,15 @@
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tsconfig/svelte": "^5.0.4",
"@types/events": "^3.0.3",
"@types/node": "^22.12.0",
"@types/node": "^22.13.1",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"svelte": "^5.19.5",
"svelte": "^5.19.9",
"svelte-check": "^4.1.4",
"svelte-preprocess": "^6.0.2",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite": "^6.1.0",
"vite-plugin-node-polyfills": "^0.23.0"
},
"dependencies": {
Expand Down
18 changes: 9 additions & 9 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@
},
"dependencies": {
"@lifi/sdk": "^3.5.2",
"@lifi/wallet-management": "^3.6.0",
"@lifi/widget": "^3.14.2",
"@mui/material": "^6.4.2",
"@tanstack/react-query": "^5.65.1",
"@wagmi/connectors": "^5.7.5",
"@lifi/wallet-management": "^3.6.1",
"@lifi/widget": "^3.16.0",
"@mui/material": "^6.4.3",
"@tanstack/react-query": "^5.66.0",
"@wagmi/connectors": "^5.7.7",
"events": "^3.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"viem": "^2.22.17",
"wagmi": "^2.14.9"
"viem": "^2.23.1",
"wagmi": "^2.14.11"
},
"devDependencies": {
"@types/events": "^3.0.3",
"@types/node": "^22.12.0",
"@types/node": "^22.13.1",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite": "^6.1.0",
"vite-plugin-node-polyfills": "^0.23.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.14.2",
"@lifi/widget": "^3.16.0",
"veaury": "^2.6.2",
"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.3",
"vite": "^6.0.11",
"vite": "^6.1.0",
"vite-plugin-node-polyfills": "^0.23.0",
"vue-tsc": "^2.2.0"
}
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 @@ -10,11 +10,11 @@
},
"dependencies": {
"@lifi/widget": "workspace:^",
"@mui/material": "^6.4.2",
"@tanstack/react-query": "^5.65.1",
"@mui/material": "^6.4.3",
"@tanstack/react-query": "^5.66.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"wagmi": "^2.14.9",
"wagmi": "^2.14.11",
"zustand": "^5.0.3"
},
"devDependencies": {
Expand All @@ -23,7 +23,7 @@
"@vitejs/plugin-react": "^4.3.4",
"globals": "^15.14.0",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite": "^6.1.0",
"vite-plugin-node-polyfills": "^0.23.0"
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@types/events": "^3.0.3",
"@types/node": "^22.12.0",
"@types/node": "^22.13.1",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"cpy-cli": "^5.0.0",
Expand All @@ -67,5 +67,5 @@
"bs58": ">=4.0.1"
}
},
"packageManager": "[email protected].1"
"packageManager": "[email protected].5"
}
18 changes: 9 additions & 9 deletions packages/wallet-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"link:bigmi": "pnpm link --global @bigmi/client",
"unlink:bigmi": "pnpm link --global @bigmi/client",
"link:sdk": "pnpm link --global @lifi/sdk",
"unlink:sdk": "pnpm link --global @lifi/sdk"
"unlink:sdk": "pnpm unlink --global @lifi/sdk"
},
"author": "Eugene Chybisov <[email protected]>",
"homepage": "https://github.com/lifinance/widget",
Expand All @@ -48,22 +48,22 @@
"lifi"
],
"dependencies": {
"@bigmi/client": "^0.1.0",
"@bigmi/core": "^0.1.0",
"@bigmi/client": "^0.1.1",
"@bigmi/core": "^0.1.1",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@lifi/sdk": "^3.5.2",
"@lifi/sdk": "^3.6.0-beta.5",
"@mui/icons-material": "6.0.2",
"@mui/material": "^6.4.2",
"@mui/system": "^6.4.2",
"@mui/material": "^6.4.3",
"@mui/system": "^6.4.3",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/web3.js": "^1.98.0",
"@wagmi/core": "^2.16.3",
"@wagmi/core": "^2.16.4",
"i18next": "^24.2.2",
"mitt": "^3.0.1",
"react-i18next": "^15.4.0",
"use-sync-external-store": "^1.4.0",
"viem": "^2.22.17",
"viem": "^2.23.1",
"zustand": "^5.0.3"
},
"devDependencies": {
Expand All @@ -75,7 +75,7 @@
"typescript": "^5.7.3"
},
"peerDependencies": {
"@bigmi/react": ">=0.0.7",
"@bigmi/react": ">=0.1.0",
"@solana/wallet-adapter-react": "^0.15.35",
"react": ">=18",
"react-dom": ">=18",
Expand Down
18 changes: 9 additions & 9 deletions packages/widget-embedded/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,29 @@
},
"author": "Eugene Chybisov <[email protected]>",
"dependencies": {
"@lifi/sdk": "^3.5.2",
"@lifi/sdk": "^3.6.0-beta.5",
"@lifi/wallet-management": "workspace:*",
"@lifi/widget": "workspace:*",
"@mui/icons-material": "6.0.2",
"@mui/material": "^6.4.2",
"@mui/system": "^6.4.2",
"@mui/material": "^6.4.3",
"@mui/system": "^6.4.3",
"@opensea/seaport-js": "4.0.4",
"@tanstack/react-query": "^5.65.1",
"@tanstack/react-query": "^5.66.0",
"bignumber.js": "^9.1.2",
"ethers": "^6.13.5",
"events": "^3.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^6.28.0",
"viem": "^2.22.17",
"wagmi": "^2.14.9"
"react-router-dom": "^6.29.0",
"viem": "^2.23.1",
"wagmi": "^2.14.11"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@vitejs/plugin-react-swc": "^3.7.2",
"@vitejs/plugin-react-swc": "^3.8.0",
"source-map-explorer": "^2.5.3",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite": "^6.1.0",
"vite-plugin-node-polyfills": "^0.23.0",
"web-vitals": "^4.2.4"
},
Expand Down
Loading
Loading