@orderly.network/hooks 0.0.70 → 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.mjs
CHANGED
|
@@ -1377,9 +1377,9 @@ var BaseOrderCreator = class {
|
|
|
1377
1377
|
if (totalNumber.lt(quote_min)) {
|
|
1378
1378
|
errors.total = {
|
|
1379
1379
|
type: "min",
|
|
1380
|
-
message: `Quantity
|
|
1381
|
-
|
|
1382
|
-
)
|
|
1380
|
+
message: `Quantity must be at least ${new Decimal(quote_min).todp(
|
|
1381
|
+
quote_dp
|
|
1382
|
+
)}`
|
|
1383
1383
|
};
|
|
1384
1384
|
} else if (totalNumber.gt(quote_max)) {
|
|
1385
1385
|
errors.total = {
|
|
@@ -4011,7 +4011,7 @@ var useSwap = () => {
|
|
|
4011
4011
|
}
|
|
4012
4012
|
});
|
|
4013
4013
|
const dstValutDeposit = useCallback(() => {
|
|
4014
|
-
const brokerId = configStore.get("
|
|
4014
|
+
const brokerId = configStore.get("brokerId");
|
|
4015
4015
|
return {
|
|
4016
4016
|
accountId: account5.accountIdHashStr,
|
|
4017
4017
|
brokerHash: utils.parseBrokerHash(brokerId),
|