Skip to content

Commit

Permalink
Update to Connect version 1.0.0-beta.6-development (#1115)
Browse files Browse the repository at this point in the history
* Update

* Update to beta 7

* Fix build

* Fix format
  • Loading branch information
yuli-ferna authored Oct 2, 2024
1 parent 59f9b85 commit 8f5e24d
Show file tree
Hide file tree
Showing 6 changed files with 242 additions and 241 deletions.
398 changes: 199 additions & 199 deletions apps/connect/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@mui/material": "^5.12.1",
"@tanstack/react-query": "^5.14.2",
"@wormhole-foundation/sdk": "^0.10.3",
"@wormhole-foundation/wormhole-connect": "^1.0.0-beta.5-development",
"@wormhole-foundation/wormhole-connect": "^1.0.0-beta.7-development",
"aptos": "^1.21.0",
"bech32": "^2.0.0",
"dompurify": "^3.0.6",
Expand Down
2 changes: 1 addition & 1 deletion apps/connect/src/env/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const CLUSTER = envVars.VITE_APP_CLUSTER || "Testnet";
export const wormholeConnectConfigCommon: Partial<WormholeConnectConfig> = {
ui: {
title: "",
cctpWarning: "",
// cctpWarning: "",
walletConnectProjectId: envVars.VITE_APP_WALLET_CONNECT_PROJECT_ID || "",
showHamburgerMenu: false,
explorer: {
Expand Down
8 changes: 4 additions & 4 deletions apps/connect/src/env/token-bridge.mainnet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ACALA, ALGORAND, MORE, SEI, ENV as ENV_BASE } from "./token-bridge";
import { ENV as ENV_BASE } from "./token-bridge";
import { mergeDeep } from "../utils/mergeDeep";
import {
DEFAULT_ROUTES,
Expand All @@ -15,9 +15,9 @@ export const ENV: Env = {
wormholeConnectConfig: mergeDeep<WormholeConnectConfig>(
ENV_BASE.wormholeConnectConfig,
{
ui: {
moreChains: { chains: [ALGORAND, ACALA, SEI, MORE] },
} as WormholeConnectConfig["ui"],
// ui: {
// moreChains: { chains: [ALGORAND, ACALA, SEI, MORE] },
// } as WormholeConnectConfig["ui"],
rpcs: MAINNET_RPCS,
routes: [
...DEFAULT_ROUTES,
Expand Down
8 changes: 4 additions & 4 deletions apps/connect/src/env/token-bridge.testnet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ALGORAND, ACALA, MORE, ENV as ENV_BASE } from "./token-bridge";
import { ENV as ENV_BASE } from "./token-bridge";
import { mergeDeep } from "../utils/mergeDeep";
import {
DEFAULT_ROUTES,
Expand All @@ -12,9 +12,9 @@ export const ENV: Env = {
wormholeConnectConfig: mergeDeep<WormholeConnectConfig>(
ENV_BASE.wormholeConnectConfig as WormholeConnectConfig,
{
ui: {
moreChains: { chains: [ALGORAND, ACALA, MORE] },
} as NonNullable<WormholeConnectConfig["ui"]>,
// ui: {
// moreChains: { chains: [ALGORAND, ACALA, MORE] },
// } as NonNullable<WormholeConnectConfig["ui"]>,
tokensConfig: {
Wsolana: {
key: "Wsolana",
Expand Down
65 changes: 33 additions & 32 deletions apps/connect/src/env/token-bridge.ts

Large diffs are not rendered by default.

0 comments on commit 8f5e24d

Please sign in to comment.