upgrade client

This commit is contained in:
Adrian Brzeziński 2024-03-28 15:49:18 +01:00
parent abb977a124
commit 27a18212bb
3 changed files with 7 additions and 5 deletions

View File

@ -36,7 +36,7 @@
},
"dependencies": {
"@blockworks-foundation/mango-feeds": "0.1.7",
"@blockworks-foundation/mango-v4": "0.23.2",
"@blockworks-foundation/mango-v4": "0.23.3",
"@blockworks-foundation/mango-v4-settings": "0.14.15",
"@glitchful-dev/sol-apy-sdk": "3.0.2",
"@headlessui/react": "1.6.6",

View File

@ -120,6 +120,7 @@ const initMangoClient = (
return {
lst: MangoClient.connect(provider, CLUSTER, MANGO_V4_ID['mainnet-beta'], {
prioritizationFee: opts.prioritizationFee,
fallbackOracleConfig: opts.fallbackOracleConfig,
idsSource: 'api',
postSendTxCallback: ({ txid }: { txid: string }) => {
notify({
@ -132,6 +133,7 @@ const initMangoClient = (
}),
jlp: MangoClient.connect(provider, CLUSTER, MANGO_BOOST_ID, {
prioritizationFee: opts.prioritizationFee,
fallbackOracleConfig: opts.fallbackOracleConfig,
idsSource: 'get-program-accounts',
postSendTxCallback: ({ txid }: { txid: string }) => {
notify({

View File

@ -39,10 +39,10 @@
bn.js "^5.2.1"
eslint-config-prettier "^9.0.0"
"@blockworks-foundation/mango-v4@0.23.2":
version "0.23.2"
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.23.2.tgz#1c05731e57b7f1adcb865fa35771f3402e096295"
integrity sha512-mEc/ObduWKeA4sPrTTEncNAdWZCJlyD1bISqcNaDmgthXba1B0IfkYuEv777XTeQ32lPBTdXBVrE603NRlB8sQ==
"@blockworks-foundation/mango-v4@0.23.3":
version "0.23.3"
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.23.3.tgz#a50d456303e2ba4278962aae9eab330d32688d1f"
integrity sha512-dL47bv7p+um7iiDm0VBNluWZG9EJQMFEhoiGb8zRraFKEZgxWa+B2eLFPn2rN8JnMbvnrntUGFePaXs4XK2D5A==
dependencies:
"@blockworks-foundation/mango-v4-settings" "0.14.15"
"@blockworks-foundation/mangolana" "0.0.14"