@orderly.network/hooks 0.0.71 → 0.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1386,9 +1386,9 @@ var BaseOrderCreator = class {
|
|
|
1386
1386
|
if (totalNumber.lt(quote_min)) {
|
|
1387
1387
|
errors.total = {
|
|
1388
1388
|
type: "min",
|
|
1389
|
-
message: `Quantity
|
|
1390
|
-
|
|
1391
|
-
)
|
|
1389
|
+
message: `Quantity must be at least ${new utils.Decimal(quote_min).todp(
|
|
1390
|
+
quote_dp
|
|
1391
|
+
)}`
|
|
1392
1392
|
};
|
|
1393
1393
|
} else if (totalNumber.gt(quote_max)) {
|
|
1394
1394
|
errors.total = {
|
|
@@ -4020,7 +4020,7 @@ var useSwap = () => {
|
|
|
4020
4020
|
}
|
|
4021
4021
|
});
|
|
4022
4022
|
const dstValutDeposit = React2.useCallback(() => {
|
|
4023
|
-
const brokerId = configStore.get("
|
|
4023
|
+
const brokerId = configStore.get("brokerId");
|
|
4024
4024
|
return {
|
|
4025
4025
|
accountId: account5.accountIdHashStr,
|
|
4026
4026
|
brokerHash: core.utils.parseBrokerHash(brokerId),
|