upgrade client
This commit is contained in:
parent
abb977a124
commit
27a18212bb
|
@ -36,7 +36,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@blockworks-foundation/mango-feeds": "0.1.7",
|
"@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",
|
"@blockworks-foundation/mango-v4-settings": "0.14.15",
|
||||||
"@glitchful-dev/sol-apy-sdk": "3.0.2",
|
"@glitchful-dev/sol-apy-sdk": "3.0.2",
|
||||||
"@headlessui/react": "1.6.6",
|
"@headlessui/react": "1.6.6",
|
||||||
|
|
|
@ -120,6 +120,7 @@ const initMangoClient = (
|
||||||
return {
|
return {
|
||||||
lst: MangoClient.connect(provider, CLUSTER, MANGO_V4_ID['mainnet-beta'], {
|
lst: MangoClient.connect(provider, CLUSTER, MANGO_V4_ID['mainnet-beta'], {
|
||||||
prioritizationFee: opts.prioritizationFee,
|
prioritizationFee: opts.prioritizationFee,
|
||||||
|
fallbackOracleConfig: opts.fallbackOracleConfig,
|
||||||
idsSource: 'api',
|
idsSource: 'api',
|
||||||
postSendTxCallback: ({ txid }: { txid: string }) => {
|
postSendTxCallback: ({ txid }: { txid: string }) => {
|
||||||
notify({
|
notify({
|
||||||
|
@ -132,6 +133,7 @@ const initMangoClient = (
|
||||||
}),
|
}),
|
||||||
jlp: MangoClient.connect(provider, CLUSTER, MANGO_BOOST_ID, {
|
jlp: MangoClient.connect(provider, CLUSTER, MANGO_BOOST_ID, {
|
||||||
prioritizationFee: opts.prioritizationFee,
|
prioritizationFee: opts.prioritizationFee,
|
||||||
|
fallbackOracleConfig: opts.fallbackOracleConfig,
|
||||||
idsSource: 'get-program-accounts',
|
idsSource: 'get-program-accounts',
|
||||||
postSendTxCallback: ({ txid }: { txid: string }) => {
|
postSendTxCallback: ({ txid }: { txid: string }) => {
|
||||||
notify({
|
notify({
|
||||||
|
|
|
@ -39,10 +39,10 @@
|
||||||
bn.js "^5.2.1"
|
bn.js "^5.2.1"
|
||||||
eslint-config-prettier "^9.0.0"
|
eslint-config-prettier "^9.0.0"
|
||||||
|
|
||||||
"@blockworks-foundation/mango-v4@0.23.2":
|
"@blockworks-foundation/mango-v4@0.23.3":
|
||||||
version "0.23.2"
|
version "0.23.3"
|
||||||
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.23.2.tgz#1c05731e57b7f1adcb865fa35771f3402e096295"
|
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.23.3.tgz#a50d456303e2ba4278962aae9eab330d32688d1f"
|
||||||
integrity sha512-mEc/ObduWKeA4sPrTTEncNAdWZCJlyD1bISqcNaDmgthXba1B0IfkYuEv777XTeQ32lPBTdXBVrE603NRlB8sQ==
|
integrity sha512-dL47bv7p+um7iiDm0VBNluWZG9EJQMFEhoiGb8zRraFKEZgxWa+B2eLFPn2rN8JnMbvnrntUGFePaXs4XK2D5A==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blockworks-foundation/mango-v4-settings" "0.14.15"
|
"@blockworks-foundation/mango-v4-settings" "0.14.15"
|
||||||
"@blockworks-foundation/mangolana" "0.0.14"
|
"@blockworks-foundation/mangolana" "0.0.14"
|
||||||
|
|
Loading…
Reference in New Issue