mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-20 12:19:00 +00:00
Update deps in package.json (#734)
This commit is contained in:
parent
449a55de7b
commit
5cf894bf4d
15984
frontend/package-lock.json
generated
15984
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -15,75 +15,75 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.17.9",
|
||||
"@babel/plugin-transform-runtime": "^7.17.0",
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"@babel/preset-react": "^7.16.7",
|
||||
"@babel/preset-typescript": "^7.16.7",
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@types/jest": "^29.5.1",
|
||||
"@types/react": "^18.2.5",
|
||||
"@types/react-dom": "^18.0.1",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@babel/core": "^7.22.9",
|
||||
"@babel/plugin-transform-runtime": "^7.22.9",
|
||||
"@babel/preset-env": "^7.22.9",
|
||||
"@babel/preset-react": "^7.22.5",
|
||||
"@babel/preset-typescript": "^7.22.5",
|
||||
"@babel/runtime": "^7.22.6",
|
||||
"@types/jest": "^29.5.3",
|
||||
"@types/react": "^18.2.15",
|
||||
"@types/react-dom": "^18.2.7",
|
||||
"@types/webpack": "^5.28.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.35.1",
|
||||
"@typescript-eslint/parser": "^5.35.1",
|
||||
"babel-loader": "^9.1.2",
|
||||
"babel-loader": "^9.1.3",
|
||||
"copy-webpack-plugin": "^11.0.0",
|
||||
"eslint": "^8.23.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-config-standard-with-typescript": "^36.0.0",
|
||||
"eslint-import-resolver-typescript": "^3.5.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-n": "^15.2.5",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-promise": "^6.0.1",
|
||||
"eslint-plugin-react": "^7.31.1",
|
||||
"eslint": "^8.45.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-config-standard-with-typescript": "^36.1.0",
|
||||
"eslint-import-resolver-typescript": "^3.5.5",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-n": "^16.0.1",
|
||||
"eslint-plugin-prettier": "^5.0.0",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-react": "^7.32.2",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"jest": "^29.5.0",
|
||||
"prettier": "^2.7.1",
|
||||
"ts-node": "^10.7.0",
|
||||
"typescript": "^5.0.4",
|
||||
"webpack": "^5.72.0",
|
||||
"webpack-cli": "^5.0.2"
|
||||
"jest": "^29.6.1",
|
||||
"prettier": "^3.0.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^5.1.6",
|
||||
"webpack": "^5.88.1",
|
||||
"webpack-cli": "^5.1.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
||||
"@emotion/react": "^11.7.1",
|
||||
"@emotion/styled": "^11.6.0",
|
||||
"@mui/base": "^5.0.0-alpha.77",
|
||||
"@mui/icons-material": "^5.11.11",
|
||||
"@mui/lab": "^5.0.0-alpha.124",
|
||||
"@mui/material": "^5.11.15",
|
||||
"@mui/system": "^5.11.15",
|
||||
"@mui/x-data-grid": "^6.0.4",
|
||||
"@mui/x-date-pickers": "^6.0.4",
|
||||
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
||||
"@emotion/react": "^11.11.1",
|
||||
"@emotion/styled": "^11.11.0",
|
||||
"@mui/base": "^5.0.0-beta.7",
|
||||
"@mui/icons-material": "^5.14.0",
|
||||
"@mui/lab": "^5.0.0-alpha.136",
|
||||
"@mui/material": "^5.14.0",
|
||||
"@mui/system": "^5.14.0",
|
||||
"@mui/x-data-grid": "^6.10.0",
|
||||
"@mui/x-date-pickers": "^6.10.0",
|
||||
"@nivo/core": "^0.83.0",
|
||||
"@nivo/line": "^0.83.0",
|
||||
"base-ex": "^0.7.5",
|
||||
"country-flag-icons": "^1.4.25",
|
||||
"date-fns": "^2.28.0",
|
||||
"base-ex": "^0.8.1",
|
||||
"country-flag-icons": "^1.5.7",
|
||||
"date-fns": "^2.30.0",
|
||||
"file-replace-loader": "^1.4.0",
|
||||
"i18next": "^22.4.15",
|
||||
"i18next-browser-languagedetector": "^7.0.1",
|
||||
"i18next-http-backend": "^2.2.0",
|
||||
"i18next": "^23.2.11",
|
||||
"i18next-browser-languagedetector": "^7.1.0",
|
||||
"i18next-http-backend": "^2.2.1",
|
||||
"install": "^0.13.0",
|
||||
"js-sha256": "^0.9.0",
|
||||
"light-bolt11-decoder": "^3.0.0",
|
||||
"npm": "^9.6.5",
|
||||
"openpgp": "^5.2.1",
|
||||
"npm": "^9.8.0",
|
||||
"openpgp": "^5.9.0",
|
||||
"react": "^18.2.0",
|
||||
"react-countdown": "^2.3.2",
|
||||
"react-dom": "^18.1.0",
|
||||
"react-countdown": "^2.3.5",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-grid-layout": "^1.3.4",
|
||||
"react-i18next": "^12.2.2",
|
||||
"react-image": "^4.0.3",
|
||||
"react-qr-code": "^2.0.3",
|
||||
"react-router-dom": "^6.10.0",
|
||||
"react-i18next": "^13.0.2",
|
||||
"react-image": "^4.1.0",
|
||||
"react-qr-code": "^2.0.11",
|
||||
"react-router-dom": "^6.14.1",
|
||||
"react-smooth-image": "^1.1.0",
|
||||
"react-world-flags": "^1.4.0",
|
||||
"react-world-flags": "^1.5.1",
|
||||
"reconnecting-websocket": "^4.4.0",
|
||||
"simple-plist": "^1.3.1",
|
||||
"webln": "^0.3.0",
|
||||
"webln": "^0.3.2",
|
||||
"websocket": "^1.0.34"
|
||||
}
|
||||
}
|
||||
|
@ -142,15 +142,18 @@ const MakerForm = ({
|
||||
if (makerHasAmountRange) {
|
||||
const minAmount = parseFloat(Number(limits.list[newCurrency].min_amount).toPrecision(2));
|
||||
const maxAmount = parseFloat(Number(limits.list[newCurrency].max_amount).toPrecision(2));
|
||||
if (parseFloat(maker.minAmount) < minAmount || parseFloat(maker.minAmount) > maxAmount
|
||||
|| parseFloat(maker.maxAmount) > maxAmount || parseFloat(maker.maxAmount) < minAmount)
|
||||
{
|
||||
if (
|
||||
parseFloat(maker.minAmount) < minAmount ||
|
||||
parseFloat(maker.minAmount) > maxAmount ||
|
||||
parseFloat(maker.maxAmount) > maxAmount ||
|
||||
parseFloat(maker.maxAmount) < minAmount
|
||||
) {
|
||||
setMaker({
|
||||
...maker,
|
||||
minAmount: (maxAmount * 0.25).toPrecision(2),
|
||||
maxAmount: (maxAmount * 0.75).toPrecision(2),
|
||||
});
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user