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

chore: release #448

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chain-registry
Submodule chain-registry updated 51 files
+31 −0 _IBC/akash-elys.json
+31 −0 _IBC/axelar-elys.json
+31 −0 _IBC/celestia-elys.json
+47 −0 _IBC/cosmoshub-elys.json
+0 −30 _IBC/cosmoshubtestnet-symphonytestnet.json
+31 −0 _IBC/elys-noble.json
+31 −0 _IBC/elys-osmosis.json
+31 −0 _IBC/sei-zenrock.json
+0 −17 andromeda1/chain.json
+46 −0 beezee/assetlist.json
+48 −4 carbon/versions.json
+36 −0 chihuahua/assetlist.json
+ chihuahua/images/chihuahua.png
+13 −0 cosmoshub/chain.json
+85 −1 elys/chain.json
+19 −1 kopi/chain.json
+15 −1 medasdigital/chain.json
+16 −16 milkyway/chain.json
+45 −0 milkyway/versions.json
+57 −0 neutron/assetlist.json
+13 −0 neutron/chain.json
+ neutron/images/bglUSDC.png
+ neutron/images/fuel.png
+22 −20 osmosis/chain.json
+47 −0 osmosis/versions.json
+455 −7 pryzm/assetlist.json
+12 −12 stargaze/assetlist.json
+ stargaze/images/bglUSDC.png
+1 −1 testnets/_IBC/cosmoshubtestnet-elystestnet.json
+1 −1 testnets/_IBC/elystestnet-nobletestnet.json
+0 −164 testnets/dymensionplaygroundtestnet/assetlist.json
+ testnets/dymensionplaygroundtestnet/images/dymension-logo.png
+0 −12 testnets/dymensionplaygroundtestnet/images/dymension-logo.svg
+74 −0 testnets/dymensiontestnet1/assetlist.json
+1 −11 testnets/dymensiontestnet1/chain.json
+12 −20 testnets/manifesttestnet/chain.json
+3 −3 testnets/manifesttestnet/versions.json
+0 −12 testnets/sourcetestnet/chain.json
+2 −2 testnets/symphonytestnet/chain.json
+46 −1 testnets/titantestnet/assetlist.json
+4 −5 testnets/zenrocktestnet/assetlist.json
+1 −1 testnets/zenrocktestnet/chain.json
+ testnets/zenrocktestnet/images/zenrock.png
+0 −10 testnets/zenrocktestnet/images/zenrock.svg
+1 −1 titan/assetlist.json
+3 −3 titan/chain.json
+39 −0 zenrock/assetlist.json
+114 −0 zenrock/chain.json
+ zenrock/images/zenrock.png
+12 −0 zenrock/images/zenrock.svg
+11 −0 zenrock/versions.json
49,935 changes: 21,497 additions & 28,438 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-tooltip": "^1.0.7",
"@skip-go/widget": "^3.1.0",
"@solana/web3.js": "^1.95.8",
"@tailwindcss/forms": "^0.5.7",
"@tanstack/query-sync-storage-persister": "^5.18.1",
Expand Down Expand Up @@ -64,8 +65,6 @@
"undici": "^6.6.1",
"viem": "^2.16.4",
"wagmi": "^2.5.7",
"widgetv1": "npm:@skip-go/widget@^2.5.2",
"widgetv2": "npm:@skip-go/[email protected]",
"zod": "^3.22.4",
"zustand": "^4.5.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/lib/skip-go-widget.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { SwapWidgetProviderProps } from "widgetv1";
import { WidgetProps } from "@skip-go/widget";

import { appUrl } from "@/constants/api";

export const endpointOptions: SwapWidgetProviderProps["endpointOptions"] = {
export const endpointOptions: WidgetProps["endpointOptions"] = {
getRpcEndpointForChain: async (chainID) => {
return `${appUrl}/api/rpc/${chainID}`;
},
Expand Down
4 changes: 2 additions & 2 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import "@/styles/globals.css";

import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { Analytics } from "@vercel/analytics/react";
import { AppProps } from "next/app";
import React from "react";

import { DefaultSeo } from "@/components/DefaultSeo";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import React from "react";

export default function App({ Component, pageProps }: AppProps) {
const [queryClient] = React.useState(() => new QueryClient());
Expand Down
34 changes: 0 additions & 34 deletions src/pages/api/fee-assets/[chainID].ts

This file was deleted.

13 changes: 3 additions & 10 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useMemo } from "react";
import { defaultTheme, lightTheme, Widget } from "widgetv2";
import { Widget } from "@skip-go/widget";

import DiscordButton from "@/components/DiscordButton";
import { LogoGo } from "@/components/LogoGo";
Expand All @@ -8,14 +7,12 @@ import { useFeatureEnabled } from "@/hooks/useFeatureEnabled";
import { useTheme } from "@/hooks/useTheme";
import { useURLQueryParams } from "@/hooks/useURLQueryParams";
import { apiURL, endpointOptions } from "@/lib/skip-go-widget";
import { isMobile } from "@/utils/os";
import { cn } from "@/utils/ui";

export default function Home() {
const defaultRoute = useURLQueryParams();
const goFast = useFeatureEnabled("goFastEnabled");
const theme = useTheme();
const mobile = useMemo(() => isMobile(), []);

if (!theme) return null;
return (
Expand All @@ -25,11 +22,7 @@ export default function Home() {
"relative overflow-x-hidden overflow-y-hidden",
"before:fixed before:inset-x-0 before:bottom-0 before:h-[100vh] before:content-['']",
"before:bg-cover before:bg-[center_top] before:bg-no-repeat",
theme === "dark"
? "before:bg-[url(/widgetv2-dark-bg.svg)]"
: theme === "light"
? "before:bg-[url(/widgetv2-light-bg.svg)]"
: "",
theme === "dark" ? "before:bg-[url(/dark-bg.svg)]" : theme === "light" ? "before:bg-[url(/light-bg.svg)]" : "",
)}
>
<main className="relative flex min-h-screen flex-col items-center">
Expand All @@ -52,7 +45,7 @@ export default function Home() {
}}
>
<Widget
theme={theme === "dark" ? defaultTheme : lightTheme}
theme={theme}
endpointOptions={endpointOptions}
apiUrl={apiURL}
defaultRoute={defaultRoute}
Expand Down
33 changes: 0 additions & 33 deletions src/pages/widget.tsx

This file was deleted.

21 changes: 0 additions & 21 deletions src/utils/chain.client.ts

This file was deleted.

Loading