Skip to content

Commit

Permalink
[UPDATE] @wormhole-foundation/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
danielisaacgeslin committed Jul 30, 2024
1 parent 907ea7f commit 30b16eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions apps/connect/package-lock.json

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

2 changes: 1 addition & 1 deletion apps/connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@mui/icons-material": "^5.14.11",
"@mui/material": "^5.12.1",
"@tanstack/react-query": "^5.14.2",
"@wormhole-foundation/wormhole-connect": "^0.3.17",
"@wormhole-foundation/wormhole-connect": "^0.3.18-beta.2-development",
"dompurify": "^3.0.6",
"mixpanel-browser": "^2.53.0",
"react": "^18.2.0",
Expand Down
5 changes: 3 additions & 2 deletions apps/connect/src/providers/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,15 @@ export const eventHandler = (e: WormholeConnectEvent) => {
// Convert WormholeConnectEvent to Attributes
const isTransferError =
e.type === "transfer.error" || e.type === "transfer.redeem.error";
const attributes: { [key: string]: string } = {
const attributes: { [key: string]: string | number | undefined } = {
fromChain: e.details.fromChain.toString(),
toChain: e.details.toChain.toString(),
fromTokenSymbol: e.details.fromToken?.symbol,
fromTokenAddress: getTokenAddress(e.details.fromToken),
toTokenSymbol: e.details.toToken?.symbol,
toTokenAddress: getTokenAddress(e.details.toToken),
txId: e.details.txId!,
txId: e.details.txId,
USDAmount: e.details.USDAmount,
route:
{
bridge: "Manual Bridge",
Expand Down

0 comments on commit 30b16eb

Please sign in to comment.