4578cda0ae
* Network-requester: throttle inbound connections (#1789) * Return and handle ClientRequest::LaneQueueLenghts * Pass lane queue lengths to inbound future * Remove unused self reference * Request lane queue lengths periodically for all open connections * Add timeouts * Rename to ConnectionCommandSender and Receiver * Rename to client_connection_tx/rx * Fix wasm build * Replace bool with enum * rust: bump required version to 1.65 in some crates that need it * Add step to release GH actions (#1792) * feat: add a release step to nym contracts GH action * feat: add shrinking the size of wasm * Possibilty to change gateway ws listener (#1779) * add: set gatewayListener * Update types.ts * Update worker.ts * Update contracts-build.yml * real_traffic_stream: reduce frequency of status print (#1794) * Update wallet and connect lock files (#1793) * client-core: add warning when delay multiplier is larger than 1 * Fix decrypting stored received msg (#1786) * Fix decrypting stored received msg * rustfmt * Moving binary message recovery to separate function Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com> * Feature/use expect instead of panicking (#1797) * Implementation of 'Debug' on 'RealMessage' * expect with failed channel name instead of throwing empty panics * Introduced Debug trait constraint in ProxyRunner * Derive Debug for socks5_requests::Message * Make connection_id optional in ClientRequest::Send (#1798) * changelog: add missing entry for fixing message decrypt in gateway-client * websocket-requests: fix length check before deserialize (#1799) * Fix export dkg contract addr (#1800) * Export dkg contract for mainnet when no config file present * Remove redundant env files * nym-cli: improve error reporting/handling and changed `vesting-schedule` queries to use query client instead of signing client * Feature/gateway client protocol version (#1795) * Introducing concept of gateway protocol version * Remove version-based gateway filtering * Fixed the unit test * grammar * Set build on latest release on schedule event * Added nightly build workflow on second latest release * socks5: if any task panics, signal all other tasks to shutdown (#1805) * socks5: signal shutdown on error * Mark as success * Tidy * Reduce wait to 5 sec * Replace unwrap with expect * Two more unwraps * Update changelog * client-core: less frequent status logging (#1806) * Feature/nym connect UI updates (#1784) * create custom titlebar * create help page * create generic modal component * create separate connection time component * link to shipyard docs * move timer to separate component and update connection status component usage * use separate component for copying ip and port details * only show infomodal once after connection * set service provider on tauri side * Emit events when stopped * listen and unlisten for tauri events * connect: add trace log to get_services * Add back CI notifications * Update README Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com> Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com> * Use default serde value for upgrade (#1807) * fix ui overflow bug (#1808) * update nym connect error text (#1809) * set flag to false * Fix wait_for_signal_and_error on win (#1811) * Add socks5-client changes to nym-connect changelog * Fix links in nym-connect changelog * More entries in nym-connect CHANGELOG * Fix typo in changelog * Update CHANGELOG.md * Experiment/client refactoring (#1814) * experimenting with extracting more common client code * drying up the wasm client * allowing some dead code for the time being * fixed formatting in nym-connect * made socks5 client inside nym-connect immutable * made clippy a bit happier * hidden away target locking for recv timeout * New transactions for increasing amount of pledged tokens * unit tests * Added an option to pledge extra tokens through the vesting contract * Introduced wallet endpoints for new operations * Using updated pledge cap in the vesting contract * Bumping version numbers * Changelog for v1.1.1 * Bumping final version numbers for 1.1.1 * Bumping nym-cli version, missed it last time * socks5-client: SOCKS4a support (#1822) * socks5-client: SOCKS4a support * Tidy * Fix a few errors in socks5 client and network-requester (#1823) * Fix two unwraps in socks5 and network-requester * Make sure client task never sends shutdown signal * Fix panic on getting socks version * wip * connecting to the back and making the requests work * display details modal * logs removal * Feature/pledge more (#1679) * New transactions for increasing amount of pledged tokens * unit tests * Added an option to pledge extra tokens through the vesting contract * Introduced wallet endpoints for new operations * Using updated pledge cap in the vesting contract * Changelog update * nym-connect: update lock file * avoid mix tokens pools * amount error * envs/mainnet: update to latest mixnet contract and nymd validator url * validator-api: add missing shortform for --config-env-file (#1830) * gateway-client: handle shutdown listener (#1829) * WIP * WIP: try another approach * WIP * Reworked * Tidy * fix * validator-api: remove storage dependency in contract cache (#1685) * validator-api: remove storage dependency in contract cache * validator-client: update detailed routes * contract_cache: forward to new endpoints for compat * Move reward_estimate * client: add --no-cover and update --fastmode (#1831) * adding a oversaturaded bonding more modal * common/task: extract out spawn_with_report_error (#1837) * stop panic on failed buffer request * Compilable wasm client * Enabled hard error on lack of gateway-client protocol version * Missing generic parameter for ClientCoreError in BackendError * Removed unused imports * Additional wasm feature locking Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com> Co-authored-by: Fran Arbanas <arbanasfran@gmail.com> Co-authored-by: cgi-bin/ <6095048+sven-hash@users.noreply.github.com> Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com> Co-authored-by: Bogdan-Ștefan Neacşu <bogdan@nymtech.net> Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com> Co-authored-by: Raphaël Walther <raphael@nymtech.net> Co-authored-by: Fouad <fmtabbara@hotmail.co.uk> Co-authored-by: Gala <calero.vg@gmail.com> Co-authored-by: Dave Hrycyszyn <futurechimp@users.noreply.github.com>
110 lines
3.7 KiB
JSON
110 lines
3.7 KiB
JSON
{
|
|
"name": "@nym/nym-connect",
|
|
"version": "1.1.0",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prewebpack:dev": "yarn --cwd .. build",
|
|
"webpack:dev": "yarn webpack serve --config webpack.dev.js",
|
|
"webpack:prod": "yarn webpack --progress --config webpack.prod.js",
|
|
"tauri:dev": "RUST_DEBUG=1 yarn tauri dev",
|
|
"tauri:build": "yarn tauri build",
|
|
"dev": "run-p webpack:dev tauri:dev",
|
|
"prebuild": "yarn --cwd .. build",
|
|
"build": "run-s webpack:prod tauri:build",
|
|
"storybook": "start-storybook -p 6006",
|
|
"prestorybook:build": "yarn --cwd .. build",
|
|
"storybook:build": "build-storybook",
|
|
"tsc": "tsc --noEmit true",
|
|
"tsc:watch": "tsc --noEmit true --watch",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint src --fix",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.7.0",
|
|
"@emotion/styled": "^11.6.0",
|
|
"@hookform/resolvers": "^2.8.0",
|
|
"@mui/icons-material": "^5.2.0",
|
|
"@mui/material": "^5.2.2",
|
|
"@mui/styles": "^5.2.2",
|
|
"@nymproject/react": "^1.0.0",
|
|
"@tauri-apps/api": "^1.1.0",
|
|
"@tauri-apps/tauri-forage": "^1.0.0-beta.2",
|
|
"clsx": "^1.1.1",
|
|
"luxon": "^2.3.0",
|
|
"pretty-bytes": "^6.0.0",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-error-boundary": "^3.1.3",
|
|
"react-hook-form": "^7.14.2",
|
|
"react-router-dom": "^5.2.0",
|
|
"semver": "^6.3.0",
|
|
"yup": "^0.32.9"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.15.0",
|
|
"@babel/plugin-transform-async-to-generator": "^7.14.5",
|
|
"@babel/preset-env": "^7.15.0",
|
|
"@babel/preset-react": "^7.14.5",
|
|
"@babel/preset-typescript": "^7.15.0",
|
|
"@nymproject/eslint-config-react-typescript": "^1.0.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
|
|
"@storybook/react": "^6.5.8",
|
|
"@svgr/webpack": "^6.1.1",
|
|
"@tauri-apps/cli": "^1.1.0",
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
"@testing-library/react": "^12.0.0",
|
|
"@types/jest": "^27.0.1",
|
|
"@types/luxon": "^2.3.2",
|
|
"@types/node": "^16.7.13",
|
|
"@types/react": "^17.0.34",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@types/semver": "^7.3.8",
|
|
"@types/uuid": "^8.3.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.13.0",
|
|
"@typescript-eslint/parser": "^5.13.0",
|
|
"babel-loader": "^8.2.2",
|
|
"babel-plugin-root-import": "^6.6.0",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"css-loader": "^6.2.0",
|
|
"css-minimizer-webpack-plugin": "^3.0.2",
|
|
"dotenv-webpack": "^7.0.3",
|
|
"eslint": "^8.10.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb-typescript": "^16.1.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-import-resolver-root-import": "^1.0.4",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-jest": "^26.1.1",
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-react": "^7.29.2",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"eslint-plugin-storybook": "^0.5.12",
|
|
"favicons": "^7.0.2",
|
|
"favicons-webpack-plugin": "^5.0.2",
|
|
"file-loader": "^6.2.0",
|
|
"fork-ts-checker-webpack-plugin": "^7.2.1",
|
|
"html-webpack-plugin": "^5.3.2",
|
|
"jest": "^27.1.0",
|
|
"mini-css-extract-plugin": "^2.2.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "2.3.2",
|
|
"react-refresh": "^0.10.0",
|
|
"react-refresh-typescript": "^2.0.2",
|
|
"style-loader": "^3.2.1",
|
|
"thread-loader": "^3.0.4",
|
|
"ts-jest": "^27.0.5",
|
|
"ts-loader": "^9.2.5",
|
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
"typescript": "^4.6.2",
|
|
"url-loader": "^4.1.1",
|
|
"webpack": "^5.64.3",
|
|
"webpack-cli": "^4.8.0",
|
|
"webpack-dev-server": "^4.5.0",
|
|
"webpack-favicons": "^1.3.8",
|
|
"webpack-merge": "^5.8.0"
|
|
}
|
|
} |