use latest client to add support for createOpenOrders
This commit is contained in:
parent
5d550e58b3
commit
eb503ff6a1
|
@ -664,7 +664,18 @@ export default function AdvancedTradeForm({
|
|||
)
|
||||
}
|
||||
}
|
||||
notify({ title: t('successfully-placed'), txid })
|
||||
if (txid instanceof Array) {
|
||||
for (const [index, id] of txid.entries()) {
|
||||
notify({
|
||||
title:
|
||||
index === 0 ? 'Transaction successful' : t('successfully-placed'),
|
||||
txid: id,
|
||||
})
|
||||
}
|
||||
} else {
|
||||
notify({ title: t('successfully-placed'), txid })
|
||||
}
|
||||
|
||||
setPrice('')
|
||||
onSetBaseSize('')
|
||||
} catch (e) {
|
||||
|
|
|
@ -1286,7 +1286,7 @@
|
|||
|
||||
"@blockworks-foundation/mango-client@git+https://github.com/blockworks-foundation/mango-client-v3.git#v3.3":
|
||||
version "3.2.25"
|
||||
resolved "git+https://github.com/blockworks-foundation/mango-client-v3.git#ffd63df309aae54f0632449fd085351e5eefaba8"
|
||||
resolved "git+https://github.com/blockworks-foundation/mango-client-v3.git#73cbc72fe2e1be18547c57951347cf4533e543f3"
|
||||
dependencies:
|
||||
"@project-serum/anchor" "^0.16.2"
|
||||
"@project-serum/serum" "0.13.55"
|
||||
|
@ -2959,16 +2959,11 @@ bl@^4.0.3:
|
|||
inherits "^2.0.4"
|
||||
readable-stream "^3.4.0"
|
||||
|
||||
bn.js@5.1.3, bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9, bn.js@^5.0.0, bn.js@^5.1.0, bn.js@^5.1.1, bn.js@^5.1.2, bn.js@~5.2.0:
|
||||
bn.js@5.1.3, bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9, bn.js@^5.0.0, bn.js@^5.1.0, bn.js@^5.1.1, bn.js@^5.1.2, bn.js@^5.2.0, bn.js@~5.2.0:
|
||||
version "5.1.3"
|
||||
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.1.3.tgz#beca005408f642ebebea80b042b4d18d2ac0ee6b"
|
||||
integrity sha512-GkTiFpjFtUzU9CbMeJ5iazkCzGL3jrhzerzZIuqLABjbwRaFt33I9tUdSNryIptM+RxDet6OKm2WnLXzW51KsQ==
|
||||
|
||||
bn.js@^5.2.0:
|
||||
version "5.2.0"
|
||||
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002"
|
||||
integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==
|
||||
|
||||
boolbase@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
|
||||
|
|
Loading…
Reference in New Issue