Skip to content

Commit

Permalink
New version of connect 9276537 and update routes name
Browse files Browse the repository at this point in the history
  • Loading branch information
yuli-ferna committed Sep 19, 2024
1 parent 96b7d49 commit 82967d2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/connect/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 11 additions & 7 deletions apps/connect/src/providers/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,20 @@ export const eventHandler = (e: WormholeConnectEvent) => {
amount: e.details.amount,
route:
{
bridge: "Manual Bridge",
relay: "Relayer",
ManualTokenBridge: "Manual Bridge",
AutomaticTokenBridge: "Relayer",
ManualCCTP: "CCTP Manual",
AutomaticCCTP: "CCTP Relayer",
ManualNtt: "NTT Manual",
AutomaticNtt: "NTT Relayer",
MayanSwap: "Mayan Swap",
MayanSwapWH: "Mayan Swap",
MayanSwapMCTP: "Mayan Swap MCTP",
MayanSwapSWIFT: "Mayan Swap Swift",
cosmosGateway: "Cosmos Gateway",
ethBridge: "Eth Bridge",
wstETHBridge: "wstETH Bridge",
cctpManual: "CCTP Manual",
cctpRelay: "CCTP Relayer",
tbtc: "TBTC",
cosmosGateway: "Cosmos Gateway",
nttManual: "NTT Manual",
nttRelay: "NTT Relayer",
usdtBridge: "USDT Bridge",
}[e.details.route] || "Manual Bridge",
...(isTransferError
Expand Down
Binary file not shown.

0 comments on commit 82967d2

Please sign in to comment.