diff --git a/package.json b/package.json index 703e453..1e58be6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@real-wagmi/uikit", - "version": "1.3.15", + "version": "1.4.0", "description": "", "main": "dist/index.cjs", "module": "dist/index.js", @@ -61,8 +61,8 @@ "@ethersproject/address": "5.7.0", "@popperjs/core": "^2.11.8", "@reach/portal": "^0.18.0", - "@real-wagmi/sdk": "1.3.9", - "@real-wagmi/v3-sdk": "1.3.9", + "@real-wagmi/sdk": "1.4.0", + "@real-wagmi/v3-sdk": "1.4.0", "@storybook/addon-themes": "^7.5.3", "@types/styled-system": "^5.1.15", "@types/uuid": "^9.0.7", diff --git a/src/components/Svg/Networks/components/Blast.tsx b/src/components/Svg/Networks/components/Blast.tsx deleted file mode 100644 index d9c8055..0000000 --- a/src/components/Svg/Networks/components/Blast.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { FC, ReactElement, PropsWithChildren, memo } from "react"; -import Svg from "../../Svg"; -import { SvgProps } from "../../types"; - -const Item: FC> = (props): ReactElement => { - return ( - - - - - - - ); -}; - -export default memo(Item); diff --git a/src/components/Svg/Networks/components/ZkLinkNova.tsx b/src/components/Svg/Networks/components/ZkLinkNova.tsx deleted file mode 100644 index 0e23e06..0000000 --- a/src/components/Svg/Networks/components/ZkLinkNova.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { FC, ReactElement, PropsWithChildren, memo } from "react"; -import Svg from "../../Svg"; -import { SvgProps } from "../../types"; - -const Item: FC> = (props): ReactElement => { - return ( - - - - - - - - - - - - ); -}; - -export default memo(Item); diff --git a/src/components/Svg/Networks/index.tsx b/src/components/Svg/Networks/index.tsx index c7c6b3a..6ea0857 100644 --- a/src/components/Svg/Networks/index.tsx +++ b/src/components/Svg/Networks/index.tsx @@ -8,9 +8,7 @@ export { default as OptimismChain } from "./components/Optimism"; export { default as PolygonChain } from "./components/Polygon"; export { default as ZkSyncEraChain } from "./components/ZkSync-era"; export { default as MetisChain } from "./components/Metis"; -export { default as BlastChain } from "./components/Blast"; export { default as BaseChain } from "./components/Base"; export { default as MetisTestnetChain } from "./components/MetisTestnet"; -export { default as ZkLinkNovaChain } from "./components/ZkLinkNova"; export { default as IotaChain } from "./components/Iota"; export { default as SonicTestnetChain } from "./components/SonicTestnet"; \ No newline at end of file diff --git a/src/components/Svg/NetworksCircle/components/BlastCircle.tsx b/src/components/Svg/NetworksCircle/components/BlastCircle.tsx deleted file mode 100644 index fc00a77..0000000 --- a/src/components/Svg/NetworksCircle/components/BlastCircle.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { FC, ReactElement, PropsWithChildren, memo } from "react"; -import Svg from "../../Svg"; -import { SvgProps } from "../../types"; -import { v4 as uuid } from "uuid"; - -const Item: FC> = (props): ReactElement => { - const id = uuid(); - - return ( - - - - - - - - - - - - - - ); -}; - -export default memo(Item); diff --git a/src/components/Svg/NetworksCircle/components/ZkLinkNova.tsx b/src/components/Svg/NetworksCircle/components/ZkLinkNova.tsx deleted file mode 100644 index af97507..0000000 --- a/src/components/Svg/NetworksCircle/components/ZkLinkNova.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { FC, ReactElement, PropsWithChildren, memo } from "react"; -import Svg from "../../Svg"; -import { SvgProps } from "../../types"; - -const Item: FC> = (props): ReactElement => { - return ( - - - - - - - - - - - - ); -}; - -export default memo(Item); diff --git a/src/components/Svg/NetworksCircle/index.tsx b/src/components/Svg/NetworksCircle/index.tsx index e5795df..2896a5e 100644 --- a/src/components/Svg/NetworksCircle/index.tsx +++ b/src/components/Svg/NetworksCircle/index.tsx @@ -8,9 +8,7 @@ export { default as OptimismCircleChain } from "./components/OptimismCircle"; export { default as PolygonCircleChain } from "./components/PolygonCircle"; export { default as ZkSyncEraCircleChain } from "./components/ZkSyncEra"; export { default as MetisCircleChain } from "./components/MetisCircle"; -export { default as BlastCircleChain } from "./components/BlastCircle"; export { default as BaseCircleChain } from "./components/BaseCircle"; export { default as MetisTestnetCircleChain } from "./components/MetisTestnetCircle"; -export { default as ZkLinkNovaCircleChain } from "./components/ZkLinkNova"; export { default as IotaCircleChain } from "./components/IotaCircle"; export { default as SonicTestnetCircleChain } from "./components/SonicTestnetCircle"; \ No newline at end of file diff --git a/src/components/Svg/NetworksGray/components/BlastGray.tsx b/src/components/Svg/NetworksGray/components/BlastGray.tsx deleted file mode 100644 index 87f0228..0000000 --- a/src/components/Svg/NetworksGray/components/BlastGray.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import { FC, ReactElement, PropsWithChildren, memo } from "react"; -import Svg from "../../Svg"; -import { SvgProps } from "../../types"; - -const Item: FC> = (props): ReactElement => { - return ( - - - - - ); -}; - -export default memo(Item); diff --git a/src/components/Svg/NetworksGray/components/ZkLinkNovaGray.tsx b/src/components/Svg/NetworksGray/components/ZkLinkNovaGray.tsx deleted file mode 100644 index 1930f76..0000000 --- a/src/components/Svg/NetworksGray/components/ZkLinkNovaGray.tsx +++ /dev/null @@ -1,47 +0,0 @@ -import { FC, ReactElement, PropsWithChildren, memo } from "react"; -import Svg from "../../Svg"; -import { SvgProps } from "../../types"; - -const Item: FC> = (props): ReactElement => { - return ( - - - - - - - - - - ); -}; - -export default memo(Item); diff --git a/src/components/Svg/NetworksGray/index.tsx b/src/components/Svg/NetworksGray/index.tsx index 5d06073..b8f734a 100644 --- a/src/components/Svg/NetworksGray/index.tsx +++ b/src/components/Svg/NetworksGray/index.tsx @@ -7,8 +7,6 @@ export { default as KavaEvmChainGray } from "./components/KavaEvmGray"; export { default as MetisChainGray } from "./components/MetisGray"; export { default as OptimismChainGray } from "./components/OptimismGray"; export { default as PolygonChainGray } from "./components/PolygonGray"; -export { default as BlastChainGray } from "./components/BlastGray"; export { default as BaseChainGray } from "./components/BaseGray"; -export { default as ZkLinkNovaChainGray } from "./components/ZkLinkNovaGray"; export { default as ZkSyncEraChainGray } from "./components/ZkSyncEraGray"; export { default as IotaChainGray } from "./components/IotaGray"; \ No newline at end of file diff --git a/src/components/index.test.ts b/src/components/index.test.ts index 546cc81..49d27fd 100644 --- a/src/components/index.test.ts +++ b/src/components/index.test.ts @@ -70,10 +70,8 @@ test('exports', () => { "PolygonChain", "ZkSyncEraChain", "MetisChain", - "BlastChain", "BaseChain", "MetisTestnetChain", - "ZkLinkNovaChain", "IotaChain", "SonicTestnetChain", "ArbitrumCircleChain", @@ -86,10 +84,8 @@ test('exports', () => { "PolygonCircleChain", "ZkSyncEraCircleChain", "MetisCircleChain", - "BlastCircleChain", "BaseCircleChain", "MetisTestnetCircleChain", - "ZkLinkNovaCircleChain", "IotaCircleChain", "SonicTestnetCircleChain", "ArbitrumChainGray", @@ -101,9 +97,7 @@ test('exports', () => { "MetisChainGray", "OptimismChainGray", "PolygonChainGray", - "BlastChainGray", "BaseChainGray", - "ZkLinkNovaChainGray", "ZkSyncEraChainGray", "IotaChainGray", "MetaMask", diff --git a/src/index.test.ts b/src/index.test.ts index cf16c20..be56620 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -70,10 +70,8 @@ test('exports', () => { "PolygonChain", "ZkSyncEraChain", "MetisChain", - "BlastChain", "BaseChain", "MetisTestnetChain", - "ZkLinkNovaChain", "IotaChain", "SonicTestnetChain", "ArbitrumCircleChain", @@ -86,10 +84,8 @@ test('exports', () => { "PolygonCircleChain", "ZkSyncEraCircleChain", "MetisCircleChain", - "BlastCircleChain", "BaseCircleChain", "MetisTestnetCircleChain", - "ZkLinkNovaCircleChain", "IotaCircleChain", "SonicTestnetCircleChain", "ArbitrumChainGray", @@ -101,9 +97,7 @@ test('exports', () => { "MetisChainGray", "OptimismChainGray", "PolygonChainGray", - "BlastChainGray", "BaseChainGray", - "ZkLinkNovaChainGray", "ZkSyncEraChainGray", "IotaChainGray", "MetaMask", diff --git a/src/utils/getChainLogo.tsx b/src/utils/getChainLogo.tsx index 4033b04..af8524b 100644 --- a/src/utils/getChainLogo.tsx +++ b/src/utils/getChainLogo.tsx @@ -10,10 +10,8 @@ import { BscChain, AvalancheChain, MetisChain, - BlastChain, BaseChain, MetisTestnetChain, - ZkLinkNovaChain, IotaChain, SonicTestnetChain } from "../components/Svg/Networks"; @@ -29,10 +27,8 @@ import { BscCircleChain, AvalancheCircleChain, MetisCircleChain, - BlastCircleChain, BaseCircleChain, MetisTestnetCircleChain, - ZkLinkNovaCircleChain, IotaCircleChain, SonicTestnetCircleChain } from "../components/Svg/NetworksCircle"; @@ -48,9 +44,7 @@ export default function getChainLogo(chainId = ChainId.ETHEREUM, circle = false) if(chainId === ChainId.AVALANCHE) return circle ? AvalancheCircleChain : AvalancheChain; if(chainId === ChainId.METIS) return circle ? MetisCircleChain : MetisChain; if(chainId === ChainId.METIS_SEPOLIA) return circle ? MetisTestnetCircleChain : MetisTestnetChain; - if(chainId === ChainId.BLAST) return circle ? BlastCircleChain : BlastChain; if(chainId === ChainId.BASE) return circle ? BaseCircleChain : BaseChain; - if(chainId === ChainId.ZKLINK) return circle ? ZkLinkNovaCircleChain : ZkLinkNovaChain; if(chainId === ChainId.IOTA) return circle ? IotaCircleChain : IotaChain; if(chainId === ChainId.SONIC_TESTNET) return circle ? SonicTestnetCircleChain : SonicTestnetChain; return circle ? EthereumCircleChain : EthereumChain; diff --git a/src/utils/getGrayChainLogo.tsx b/src/utils/getGrayChainLogo.tsx index 2c5cb19..5ee3803 100644 --- a/src/utils/getGrayChainLogo.tsx +++ b/src/utils/getGrayChainLogo.tsx @@ -2,13 +2,11 @@ import { ChainId } from "@real-wagmi/sdk"; import { ArbitrumChainGray, BaseChainGray, - BlastChainGray, BscChainGray, EthereumChainGray, FantomChainGray, KavaEvmChainGray, MetisChainGray, - ZkLinkNovaChainGray, AvalancheChainGray, OptimismChainGray, PolygonChainGray, @@ -19,13 +17,11 @@ import { export default function getGrayChainLogo(chainId = ChainId.ETHEREUM) { if (chainId === ChainId.ARBITRUM) return ArbitrumChainGray; if (chainId === ChainId.BASE) return BaseChainGray; - if (chainId === ChainId.BLAST) return BlastChainGray; if (chainId === ChainId.BSC) return BscChainGray; if (chainId === ChainId.ETHEREUM) return EthereumChainGray; if (chainId === ChainId.FANTOM) return FantomChainGray; if (chainId === ChainId.KAVA) return KavaEvmChainGray; if (chainId === ChainId.METIS) return MetisChainGray; - if (chainId === ChainId.ZKLINK) return ZkLinkNovaChainGray; if (chainId === ChainId.AVALANCHE) return AvalancheChainGray; if (chainId === ChainId.OPTIMISM) return OptimismChainGray; if (chainId === ChainId.POLYGON) return PolygonChainGray; diff --git a/yarn.lock b/yarn.lock index 9a3a9cc..14b3166 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2173,10 +2173,10 @@ resolved "https://registry.yarnpkg.com/@reach/utils/-/utils-0.18.0.tgz#4f3cebe093dd436eeaff633809bf0f68f4f9d2ee" integrity sha512-KdVMdpTgDyK8FzdKO9SCpiibuy/kbv3pwgfXshTI6tEcQT1OOwj7BAksnzGC0rPz0UholwC+AgkqEl3EJX3M1A== -"@real-wagmi/sdk@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@real-wagmi/sdk/-/sdk-1.3.9.tgz#ac25c951413aece8d99afac9a95ba4242c798456" - integrity sha512-Y8IHr4WKu+atPBUt4b1J0gfQ6GE9Gnrgu8d5pL6TEpSN7fwGLL1d6f7DDIw8gG5+97ElkGkHzqhfo2J3nfbnKw== +"@real-wagmi/sdk@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@real-wagmi/sdk/-/sdk-1.4.0.tgz#c1af6b3d5048aabc25f24e0cc4d69d2f6be904e2" + integrity sha512-i2GZbqzvz5SK8MII2uqnwfFgYejIKfjGRctxDecIyO1N9JADjhf7oP/MSvUVcdXFcBeneKkurTFkZvy4mp4IPw== dependencies: "@uniswap/token-lists" "1.0.0-beta.33" big.js "^6.2.1" @@ -2186,12 +2186,12 @@ viem "^2.7.20" vitest "^1.3.1" -"@real-wagmi/v3-sdk@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@real-wagmi/v3-sdk/-/v3-sdk-1.3.9.tgz#e3a6bf0ce6ec3722e0e6b3513d1887db124b7965" - integrity sha512-KxZwQ53bBy48CC3/RjfQixXQy6DdRqAduDaNU7QcIbrloSrjj4IMNu3by0KBUPyNHeIytN1HiZs58XQ9aTGNIg== +"@real-wagmi/v3-sdk@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@real-wagmi/v3-sdk/-/v3-sdk-1.4.0.tgz#e01b1dd0e446fe6916099a9dcf0e3cdc765ab839" + integrity sha512-dlOKK93JY0Hs1pDCtih4kdsG7FRbh0O75DsTsz4ca2YfsKSv+8/oNl9U/3p7kqIicjNf/BSpcngOIqg0g905sQ== dependencies: - "@real-wagmi/sdk" "1.3.9" + "@real-wagmi/sdk" "1.4.0" viem "^2.7.22" "@rollup/pluginutils@^4.2.0":