From 2a96053dff720e4f157cd4e6687481dfe951b329 Mon Sep 17 00:00:00 2001 From: Tyler Date: Thu, 26 Sep 2024 14:10:06 -0400 Subject: [PATCH] bump, renames --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- src/layout/Header/HeaderDesktop.tsx | 2 +- src/pages/portfolio/Overview.tsx | 2 +- src/pages/portfolio/Positions.tsx | 2 +- src/pages/vaults/VaultInfoSections.tsx | 2 +- src/pages/vaults/VaultPage.tsx | 2 +- src/pages/vaults/VaultPositions.tsx | 2 +- src/pages/vaults/VaultPositionsTable.tsx | 2 +- src/pages/vaults/VaultTransactions.tsx | 4 ++-- src/views/dialogs/VaultDepositWithdrawDialog.tsx | 2 +- src/views/menus/useGlobalCommands.tsx | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index ccf0418a7..5440b38d7 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@cosmjs/stargate": "^0.32.1", "@cosmjs/tendermint-rpc": "^0.32.1", "@datadog/browser-logs": "^5.23.3", - "@dydxprotocol/v4-abacus": "1.11.23", + "@dydxprotocol/v4-abacus": "1.11.24", "@dydxprotocol/v4-client-js": "1.6.1", "@dydxprotocol/v4-localization": "^1.1.203", "@dydxprotocol/v4-proto": "^6.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 51f086c81..d70d1e101 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,8 +30,8 @@ dependencies: specifier: ^5.23.3 version: 5.23.3 '@dydxprotocol/v4-abacus': - specifier: 1.11.23 - version: 1.11.23 + specifier: 1.11.24 + version: 1.11.24 '@dydxprotocol/v4-client-js': specifier: 1.6.1 version: 1.6.1 @@ -3025,8 +3025,8 @@ packages: '@datadog/browser-core': 5.23.3 dev: false - /@dydxprotocol/v4-abacus@1.11.23: - resolution: {integrity: sha512-PCbvDc8RilaI/lkXJOBdyKiQtX8175UHrq1iPDsv4/tTCstSHmpwYoB3ALRh+OdOYNFaH0RBR9Opew+2YoR3Hw==} + /@dydxprotocol/v4-abacus@1.11.24: + resolution: {integrity: sha512-LHzcZgIxgAC8Zqkdl70FObPnIAGlp9i8SZLiYI6GoQDby4uM4LSNxM8S1OWAwLPSLiWdXrQNAaaMQ/5ygnJP7A==} dependencies: '@js-joda/core': 3.2.0 format-util: 1.0.5 diff --git a/src/layout/Header/HeaderDesktop.tsx b/src/layout/Header/HeaderDesktop.tsx index a709ac3b7..c0f45c521 100644 --- a/src/layout/Header/HeaderDesktop.tsx +++ b/src/layout/Header/HeaderDesktop.tsx @@ -93,7 +93,7 @@ export const HeaderDesktop = () => { value: 'VAULT', label: ( <> - {stringGetter({ key: STRING_KEYS.VAULT })}{' '} + {stringGetter({ key: STRING_KEYS.MEGAVAULT })}{' '} {stringGetter({ key: STRING_KEYS.NEW })} ), diff --git a/src/pages/portfolio/Overview.tsx b/src/pages/portfolio/Overview.tsx index 6163be36f..1e891f22c 100644 --- a/src/pages/portfolio/Overview.tsx +++ b/src/pages/portfolio/Overview.tsx @@ -126,7 +126,7 @@ export const Overview = () => { <$MaybeVaultPositionsPanel header={ diff --git a/src/pages/portfolio/Positions.tsx b/src/pages/portfolio/Positions.tsx index ca437cf82..3b3944353 100644 --- a/src/pages/portfolio/Positions.tsx +++ b/src/pages/portfolio/Positions.tsx @@ -99,7 +99,7 @@ export const Positions = () => { <$MaybeVaultPositionsPanel header={ diff --git a/src/pages/vaults/VaultInfoSections.tsx b/src/pages/vaults/VaultInfoSections.tsx index 1a7b0acda..5904ae6d2 100644 --- a/src/pages/vaults/VaultInfoSections.tsx +++ b/src/pages/vaults/VaultInfoSections.tsx @@ -148,7 +148,7 @@ export const VaultHeader = ({ className }: { className?: string }) => {

- {stringGetter({ key: STRING_KEYS.VAULT })} + {stringGetter({ key: STRING_KEYS.MEGAVAULT })}

diff --git a/src/pages/vaults/VaultPage.tsx b/src/pages/vaults/VaultPage.tsx index 3820edaee..23d01bedb 100644 --- a/src/pages/vaults/VaultPage.tsx +++ b/src/pages/vaults/VaultPage.tsx @@ -32,7 +32,7 @@ import { VaultTransactionsCard } from './VaultTransactions'; const VaultPage = () => { const stringGetter = useStringGetter(); const dispatch = useAppDispatch(); - useDocumentTitle(stringGetter({ key: STRING_KEYS.VAULT })); + useDocumentTitle(stringGetter({ key: STRING_KEYS.MEGAVAULT })); const { isTablet } = useBreakpoints(); if (isTablet) { diff --git a/src/pages/vaults/VaultPositions.tsx b/src/pages/vaults/VaultPositions.tsx index b06d63c1c..c87a4c243 100644 --- a/src/pages/vaults/VaultPositions.tsx +++ b/src/pages/vaults/VaultPositions.tsx @@ -72,7 +72,7 @@ export const VaultPositionCard = ({ onViewVault, vault }: VaultPositionCardProps return ( } detailLabel={stringGetter({ key: STRING_KEYS.YOUR_VAULT_BALANCE })} detailValue={} diff --git a/src/pages/vaults/VaultPositionsTable.tsx b/src/pages/vaults/VaultPositionsTable.tsx index 82269a92d..6ba053f33 100644 --- a/src/pages/vaults/VaultPositionsTable.tsx +++ b/src/pages/vaults/VaultPositionsTable.tsx @@ -159,7 +159,7 @@ export const VaultPositionsTable = ({ className }: { className?: string }) => { withOuterBorder data={vaultsData} getRowKey={(row) => row.marketId ?? ''} - label={stringGetter({ key: STRING_KEYS.VAULT })} + label={stringGetter({ key: STRING_KEYS.MEGAVAULT })} onRowAction={(marketId: Key) => navigate(`${AppRoute.Trade}/${marketId}`, { state: { from: AppRoute.Vault } }) } diff --git a/src/pages/vaults/VaultTransactions.tsx b/src/pages/vaults/VaultTransactions.tsx index 4da86b083..18e920d75 100644 --- a/src/pages/vaults/VaultTransactions.tsx +++ b/src/pages/vaults/VaultTransactions.tsx @@ -27,7 +27,7 @@ export const VaultTransactionsCard = ({ className }: { className?: string }) => {transactions.length > 0 ? ( <>
-

+

{stringGetter({ key: STRING_KEYS.YOUR_DEPOSITS_AND_WITHDRAWALS })} {transactions.length}

@@ -110,7 +110,7 @@ const VaultTransactionsTable = ({ className }: { className?: string }) => { withInnerBorders data={transactions} getRowKey={(row) => row.id ?? ''} - label={stringGetter({ key: STRING_KEYS.VAULT })} + label={stringGetter({ key: STRING_KEYS.MEGAVAULT })} defaultSortDescriptor={{ column: 'time', direction: 'descending', diff --git a/src/views/dialogs/VaultDepositWithdrawDialog.tsx b/src/views/dialogs/VaultDepositWithdrawDialog.tsx index 050e46928..6249c966f 100644 --- a/src/views/dialogs/VaultDepositWithdrawDialog.tsx +++ b/src/views/dialogs/VaultDepositWithdrawDialog.tsx @@ -34,7 +34,7 @@ export const VaultDepositWithdrawDialog = ({ title={
- {stringGetter({ key: STRING_KEYS.VAULT })} + {stringGetter({ key: STRING_KEYS.MEGAVAULT })}
} hasHeaderBorder diff --git a/src/views/menus/useGlobalCommands.tsx b/src/views/menus/useGlobalCommands.tsx index b174baa8c..e557f077b 100644 --- a/src/views/menus/useGlobalCommands.tsx +++ b/src/views/menus/useGlobalCommands.tsx @@ -69,7 +69,7 @@ export const useGlobalCommands = (): MenuConfig, - label: stringGetter({ key: STRING_KEYS.VAULT }), + label: stringGetter({ key: STRING_KEYS.MEGAVAULT }), onSelect: () => navigate(AppRoute.Vault), }, ].filter(isTruthy),