downgrade jupiter for now so builds are working

This commit is contained in:
tjs 2022-11-17 16:04:31 -05:00
parent ef3e87fba6
commit eb6d3785ee
3 changed files with 43 additions and 899 deletions

View File

@ -72,7 +72,7 @@ const useJupiter = ({
amount: JSBI.BigInt(
new Decimal(inputAmount).mul(10 ** inputTokenInfo.decimals)
),
slippageBps: Math.ceil(slippage * 100), // The slippage in % terms
slippage, // The slippage in % terms
filterTopNResult: 10,
onlyDirectRoutes: true,
})

View File

@ -15,7 +15,7 @@
"@blockworks-foundation/mango-v4": "https://tylersssss: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@github.com/blockworks-foundation/mango-v4.git#main",
"@headlessui/react": "^1.6.6",
"@heroicons/react": "^2.0.10",
"@jup-ag/core": "^3.0.0-beta.8",
"@jup-ag/core": "^2.0.0-beta.3",
"@project-serum/anchor": "0.25.0",
"@solana/wallet-adapter-base": "^0.9.18",
"@solana/wallet-adapter-react": "^0.15.24",
@ -54,9 +54,6 @@
"@project-serum/anchor": "0.25.0",
"@project-serum/serum": ">=0.13.62"
},
"resolutions": {
"@jup-ag/goosefx-ssl-sdk/**/@solana/spl-token": "0.3.6"
},
"devDependencies": {
"@types/node": "17.0.23",
"@types/react": "18.0.3",

935
yarn.lock

File diff suppressed because it is too large Load Diff