update client to fix borrow rates

This commit is contained in:
saml33 2023-05-01 23:27:21 +10:00
parent eacff90468
commit beeab56f6d
4 changed files with 6 additions and 8 deletions

View File

@ -196,7 +196,6 @@ const TokenList = () => {
<FormatNumericValue
value={bank.getBorrowRateUi()}
decimals={2}
roundUp
/>
%
</p>
@ -351,7 +350,6 @@ const MobileTokenListItem = ({ bank }: { bank: BankWithBalance }) => {
<FormatNumericValue
value={tokenBank.getBorrowRateUi()}
decimals={2}
roundUp
/>
%
</span>

View File

@ -5,7 +5,7 @@ const webpack = require('webpack')
const nextConfig = {
i18n,
images: {
domains: ['raw.githubusercontent.com', 'arweave.net'],
domains: ['raw.githubusercontent.com', 'arweave.net', 'www.dual.finance'],
},
reactStrictMode: true,
//proxy for openserum api cors

View File

@ -19,7 +19,7 @@
},
"dependencies": {
"@blockworks-foundation/mango-feeds": "0.1.6",
"@blockworks-foundation/mango-v4": "^0.13.4",
"@blockworks-foundation/mango-v4": "^0.14.1",
"@headlessui/react": "1.6.6",
"@heroicons/react": "2.0.10",
"@metaplex-foundation/js": "0.18.3",

View File

@ -21,10 +21,10 @@
dependencies:
ws "^8.13.0"
"@blockworks-foundation/mango-v4@^0.13.4":
version "0.13.5"
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.13.5.tgz#4f590189ef9fe58296716f6dac7195fae4c2dadb"
integrity sha512-JOKv7MRn966aykZnY6eK6LBGeHOWSvRmL4+9AY1NYNmTlK+QAsH/8tE6hPMytJFi9W1QQsG4mTBZDV7Nl0YOBA==
"@blockworks-foundation/mango-v4@0.14.1":
version "0.14.1"
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.14.1.tgz#fc5cd558e518207804acfbb80b80d6d21933d8de"
integrity sha512-P1cjN+96lyf45rELDLUTQaC6PpAuAAXPqjynFSBV6CswW87r8sdHLPgnYaUnfJMBAqHGwd0rVuT/YMJpoHfejA==
dependencies:
"@coral-xyz/anchor" "^0.26.0"
"@project-serum/serum" "0.13.65"