From 70bd69bbee396a084e76668e16b3e4bbbdca4bd4 Mon Sep 17 00:00:00 2001 From: Nitesh Balusu Date: Fri, 10 Mar 2023 09:49:18 -0500 Subject: [PATCH] add new options to call command Signed-off-by: Nitesh Balusu --- package.json | 4 +- src/shared/raw_api.ts | 50 ++++++++++ yarn.lock | 206 ++++++++++++++++++++++++++++++++++++------ 3 files changed, 228 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index 76caee6..5df8243 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "antd": "^4.23.4", "async": "^3.2.4", "axios": "^0.27.2", - "balanceofsatoshis": "^13.25.1", + "balanceofsatoshis": "^13.31.2", "bcryptjs": "^2.4.3", "chart.js": "^4.1.1", "class-sanitizer": "^1.0.1", @@ -62,7 +62,7 @@ "class-validator": "^0.14.0", "json-to-pretty-yaml": "^1.2.2", "jwt-decode": "^3.1.2", - "lightning": "^7.0.4", + "lightning": "^7.1.3", "nest-winston": "^1.8.0", "next": "^12.3.1", "nookies": "^2.5.2", diff --git a/src/shared/raw_api.ts b/src/shared/raw_api.ts index bda683b..7e665d3 100644 --- a/src/shared/raw_api.ts +++ b/src/shared/raw_api.ts @@ -369,6 +369,26 @@ export const rawApi = { { method: 'getBackups', }, + { + arguments: [ + { + description: 'Get block at a specific height', + named: 'height', + optional: true, + type: 'number', + }, + { + description: 'Get block with a specific hash', + named: 'id', + optional: true, + type: 'hash', + }, + ], + method: 'getBlock', + }, + { + method: 'getChainAddresses', + }, { method: 'getChainBalance', }, @@ -853,6 +873,19 @@ export const rawApi = { ], method: 'sendToChainAddress', }, + { + arguments: [ + { + description: 'Address to use for signing', + named: 'address', + }, + { + description: 'Message to sign', + named: 'message', + }, + ], + method: 'signChainAddressMessage', + }, { arguments: [ { @@ -1028,6 +1061,23 @@ export const rawApi = { ], method: 'updateRoutingFees', }, + { + arguments: [ + { + description: 'Address to verify against', + named: 'address', + }, + { + description: 'Message that was signed', + named: 'message', + }, + { + description: 'Hex encoded message signature', + named: 'signature', + }, + ], + method: 'verifyChainAddressMessage', + }, { arguments: [ { diff --git a/yarn.lock b/yarn.lock index 65e355c..6714d2c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -454,6 +454,11 @@ resolved "https://registry.yarnpkg.com/@grammyjs/types/-/types-2.11.0.tgz#e9d4c9fcde99ea1c9df335255733a6c7839e06bd" integrity sha512-x3Q1ngj89Sxu4bsLLPPAzAhAn+dqtaVtRPGXagVCZO7MJFbiWKdhs0aJKtC+HNaSlEhCS1unBOVde0ecAh9MZQ== +"@grammyjs/types@^2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@grammyjs/types/-/types-2.12.1.tgz#18d021e00928d75c6ee15c520231fd209cdf00b4" + integrity sha512-1hO6esfdo42mSvyArPHrlgSY/fgerTuVNAbSD5ZKHS/w5ZyrkA4pRp3VHK2XE3fm9/uMBT/39i8pPvx0+Kbxjg== + "@grpc/grpc-js@1.8.1": version "1.8.1" resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.8.1.tgz#71f809c148e52ac9c15da4b8d4a65ecd7063dff7" @@ -462,10 +467,18 @@ "@grpc/proto-loader" "^0.7.0" "@types/node" ">=12.12.47" -"@grpc/grpc-js@1.8.2": - version "1.8.2" - resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.8.2.tgz#7f2d18a32a45624174444c915d0fc26fc0c5179c" - integrity sha512-5cqCjUvDKJWHGeu1prlrFOUmjuML0NequZKJ38PsCkfwIqPnZq4Q9burPP3It7/+46wpl0KsqVN3s6Te3B9Qtw== +"@grpc/grpc-js@1.8.11": + version "1.8.11" + resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.8.11.tgz#f113f7bc197e8d6f3d3f0c6b02925c7a5da1aec4" + integrity sha512-f/xC+6Z2QKsRJ+VSSFlt4hA5KSRm+PKvMWV8kMPkMgGlFidR6PeIkXrOasIY2roe+WROM6GFQLlgDKfeEZo2YQ== + dependencies: + "@grpc/proto-loader" "^0.7.0" + "@types/node" ">=12.12.47" + +"@grpc/grpc-js@1.8.12": + version "1.8.12" + resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.8.12.tgz#bc0120859e8b153db764b473cc019ddf6bb2b414" + integrity sha512-MbUMvpVvakeKhdYux6gbSIPJaFMLNSY8jw4PqLI+FFztGrQRrYYAnHlR94+ncBQQewkpXQaW449m3tpH/B/ZnQ== dependencies: "@grpc/proto-loader" "^0.7.0" "@types/node" ">=12.12.47" @@ -489,6 +502,17 @@ protobufjs "^7.0.0" yargs "^16.2.0" +"@grpc/proto-loader@0.7.5": + version "0.7.5" + resolved "https://registry.yarnpkg.com/@grpc/proto-loader/-/proto-loader-0.7.5.tgz#ee9e7488fa585dc6b0f7fe88cd39723a3e64c906" + integrity sha512-mfcTuMbFowq1wh/Rn5KQl6qb95M21Prej3bewD9dUQMurYGVckGO/Pbe2Ocwto6sD05b/mxZLspvqwx60xO2Rg== + dependencies: + "@types/long" "^4.0.1" + lodash.camelcase "^4.3.0" + long "^4.0.0" + protobufjs "^7.0.0" + yargs "^16.2.0" + "@grpc/proto-loader@^0.7.0": version "0.7.0" resolved "https://registry.yarnpkg.com/@grpc/proto-loader/-/proto-loader-0.7.0.tgz#743cc8a941cc251620c66ebe0d330e1411a33535" @@ -1171,6 +1195,15 @@ "@types/qs" "*" "@types/range-parser" "*" +"@types/express-serve-static-core@^4.17.33": + version "4.17.33" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.33.tgz#de35d30a9d637dc1450ad18dd583d75d5733d543" + integrity sha512-TPBqmR/HRYI3eC2E5hmiivIzv+bidAfXofM+sbonAGvyDhySGw9/PQZFt2BLOrjUUR++4eJVpx6KnLQK1Fk9tA== + dependencies: + "@types/node" "*" + "@types/qs" "*" + "@types/range-parser" "*" + "@types/express@*": version "4.17.13" resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.13.tgz#a76e2995728999bab51a33fabce1d705a3709034" @@ -1191,6 +1224,16 @@ "@types/qs" "*" "@types/serve-static" "*" +"@types/express@4.17.17": + version "4.17.17" + resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.17.tgz#01d5437f6ef9cfa8668e616e13c2f2ac9a491ae4" + integrity sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q== + dependencies: + "@types/body-parser" "*" + "@types/express-serve-static-core" "^4.17.33" + "@types/qs" "*" + "@types/serve-static" "*" + "@types/json-schema@*", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" @@ -1238,6 +1281,16 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== +"@types/node@18.14.4": + version "18.14.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.14.4.tgz#0e64ec0b35a772e1e3d849f9a0ff61782d0cb647" + integrity sha512-VhCw7I7qO2X49+jaKcAUwi3rR+hbxT5VcYF493+Z5kMLI0DL568b7JI4IDJaxWFH0D/xwmGJNoXisyX+w7GH/g== + +"@types/node@18.14.6": + version "18.14.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.14.6.tgz#ae1973dd2b1eeb1825695bb11ebfb746d27e3e93" + integrity sha512-93+VvleD3mXwlLI/xASjw0FzKcwzl3OdTCzm1LaRfqgS21gfFtK3zDXM5Op9TeeMsJVOaJ2VRDpT9q4Y3d0AvA== + "@types/node@^18.11.17": version "18.11.17" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.17.tgz#5c009e1d9c38f4a2a9d45c0b0c493fe6cdb4bcb5" @@ -1999,10 +2052,10 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -balanceofsatoshis@^13.25.1: - version "13.25.1" - resolved "https://registry.yarnpkg.com/balanceofsatoshis/-/balanceofsatoshis-13.25.1.tgz#3e05bdaa4d570c8c97adf2aba04022bf8295d574" - integrity sha512-3MenwDBC1zimRZb+Ssxp8CTv+yx3jQHHsfxRKj817fzq2UCKFggorOIyq6cgBg0YxKcW5/DFtwqW0aK5W/deZA== +balanceofsatoshis@^13.31.2: + version "13.31.2" + resolved "https://registry.yarnpkg.com/balanceofsatoshis/-/balanceofsatoshis-13.31.2.tgz#9c543afaf8a871f73faba3f2add1c49a34545420" + integrity sha512-zoHKus75cLDo82VhWiGTvVNKmchtbDcUuN+1Pe3jlglCPoLS/cBDDNBcNWO6n+qlPV1fPKctuG0zx5/2GReuiA== dependencies: "@alexbosworth/caporal" "1.4.4" "@alexbosworth/fiat" "1.0.4" @@ -2021,20 +2074,20 @@ balanceofsatoshis@^13.25.1: cbor "8.1.0" colorette "2.0.19" crypto-js "4.1.1" - csv-parse "5.3.3" + csv-parse "5.3.6" ecpair "2.1.0" goldengate "12.0.2" - grammy "1.13.1" + grammy "1.14.1" hot-formula-parser "4.0.0" import-lazy "4.0.0" ini "3.0.1" inquirer "9.1.4" ln-accounting "6.1.3" - ln-service "54.9.0" + ln-service "54.10.2" ln-sync "4.3.0" ln-telegram "4.6.1" moment "2.29.4" - paid-services "4.3.2" + paid-services "4.3.3" probing "3.0.1" psbt "2.7.2" qrcode-terminal "0.12.0" @@ -2191,6 +2244,24 @@ body-parser@1.20.1: type-is "~1.6.18" unpipe "1.0.0" +body-parser@1.20.2: + version "1.20.2" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" + integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== + dependencies: + bytes "3.1.2" + content-type "~1.0.5" + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + http-errors "2.0.0" + iconv-lite "0.4.24" + on-finished "2.4.1" + qs "6.11.0" + raw-body "2.5.2" + type-is "~1.6.18" + unpipe "1.0.0" + bolt01@1.2.6: version "1.2.6" resolved "https://registry.yarnpkg.com/bolt01/-/bolt01-1.2.6.tgz#1b2e610a326cfe68f7b4f9af7326b1ca73a6fc40" @@ -2699,6 +2770,11 @@ content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== +content-type@~1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" + integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== + conventional-changelog-angular@^5.0.12: version "5.0.13" resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz#896885d63b914a70d4934b59d2fe7bde1832b28c" @@ -2977,10 +3053,10 @@ csstype@^3.1.1: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== -csv-parse@5.3.3: - version "5.3.3" - resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-5.3.3.tgz#3b75d2279e2edb550cbc54c65b25cbbf3d0033ad" - integrity sha512-kEWkAPleNEdhFNkHQpFHu9RYPogsFj3dx6bCxL847fsiLgidzWg0z/O0B1kVWMJUc5ky64zGp18LX2T3DQrOfw== +csv-parse@5.3.6: + version "5.3.6" + resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-5.3.6.tgz#181d7c12300a60684bb51261ea9a5c3135ba8688" + integrity sha512-WI330GjCuEioK/ii8HM2YE/eV+ynpeLvU+RXw4R8bRU8R0laK5zO3fDsc4gH8s472e3Ga38rbIjCAiQh+tEHkw== dargs@^7.0.0: version "7.0.0" @@ -4251,6 +4327,16 @@ grammy@1.13.1: debug "^4.3.4" node-fetch "^2.6.7" +grammy@1.14.1: + version "1.14.1" + resolved "https://registry.yarnpkg.com/grammy/-/grammy-1.14.1.tgz#63ce9ede80379579415472dae870fcf762fc006d" + integrity sha512-hFIW2DE2xF5yuYL5a65i/0lvqsAwQsIaJO64Fk0N7v696nTSu7g0LqnQnHapmydRkNMoZVbwn25M80LKZzUkxw== + dependencies: + "@grammyjs/types" "^2.12.1" + abort-controller "^3.0.0" + debug "^4.3.4" + node-fetch "^2.6.7" + grapheme-splitter@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" @@ -5061,22 +5147,22 @@ lightning@7.0.3: tiny-secp256k1 "2.2.1" type-fest "3.5.1" -lightning@^7.0.4: - version "7.0.4" - resolved "https://registry.yarnpkg.com/lightning/-/lightning-7.0.4.tgz#b02e54518159f6fd857abed5410d2ec2c0e1c754" - integrity sha512-XrgfhjKnB8fr9RUe2fhzeNG9aO4dxpcGJHfGGC+muimPprF9+W5Nv3GCm+nB296p+6L+P8BmWETpi+7f2aFnuw== +lightning@7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/lightning/-/lightning-7.1.2.tgz#c0b5d18e5e24e55194a79b05a7efff7bdf424a1d" + integrity sha512-rT/94wdCV2rO4o1KLmQGwK6JoN3/IqyO0fduMK9TN7UNd1yq23b0lUNPR8Xm/zvD6CTnxStmQxjZLqJXAdnPZw== dependencies: - "@grpc/grpc-js" "1.8.2" - "@grpc/proto-loader" "0.7.4" - "@types/express" "4.17.15" - "@types/node" "18.11.18" + "@grpc/grpc-js" "1.8.11" + "@grpc/proto-loader" "0.7.5" + "@types/express" "4.17.17" + "@types/node" "18.14.4" "@types/request" "2.48.8" "@types/ws" "8.5.4" async "3.2.4" asyncjs-util "1.2.11" bitcoinjs-lib "6.1.0" bn.js "5.2.1" - body-parser "1.20.1" + body-parser "1.20.2" bolt07 "1.8.3" bolt09 "0.2.5" cbor "8.1.0" @@ -5085,7 +5171,33 @@ lightning@^7.0.4: invoices "2.2.3" psbt "2.7.2" tiny-secp256k1 "2.2.1" - type-fest "3.5.1" + type-fest "3.6.1" + +lightning@^7.1.3: + version "7.1.3" + resolved "https://registry.yarnpkg.com/lightning/-/lightning-7.1.3.tgz#9f8fb878eab49613506ed378e9b413a0803b8953" + integrity sha512-nc8QXGABpYzjywzyaXNe888C29CbhW5crDR2W7DolHI70Hr3wLIUQvINF2/nGBohJqnDM0LvHRaholTiyOBIPQ== + dependencies: + "@grpc/grpc-js" "1.8.12" + "@grpc/proto-loader" "0.7.5" + "@types/express" "4.17.17" + "@types/node" "18.14.6" + "@types/request" "2.48.8" + "@types/ws" "8.5.4" + async "3.2.4" + asyncjs-util "1.2.11" + bitcoinjs-lib "6.1.0" + bn.js "5.2.1" + body-parser "1.20.2" + bolt07 "1.8.3" + bolt09 "0.2.5" + cbor "8.1.0" + ecpair "2.1.0" + express "4.18.2" + invoices "2.2.3" + psbt "2.7.2" + tiny-secp256k1 "2.2.1" + type-fest "3.6.1" lines-and-columns@^1.1.6: version "1.2.4" @@ -5118,6 +5230,20 @@ ln-docker-daemons@^4.0.4: lightning "7.0.3" tar-stream "3.0.0" +ln-service@54.10.2: + version "54.10.2" + resolved "https://registry.yarnpkg.com/ln-service/-/ln-service-54.10.2.tgz#8150391a58cd6d97c0e6f6880f3d37cdc1a717c0" + integrity sha512-EA5PZjiQhcSHwfKOTwPvEnbEeVy9AaCOiF3AplYCmYX8IskkUM36x8o4YaHmC2L2w7Le1B+KNExi7MzGZtznSg== + dependencies: + bolt07 "1.8.3" + cors "2.8.5" + express "4.18.2" + invoices "2.2.3" + lightning "7.1.2" + macaroon "3.0.4" + morgan "1.10.0" + ws "8.12.1" + ln-service@54.9.0: version "54.9.0" resolved "https://registry.yarnpkg.com/ln-service/-/ln-service-54.9.0.tgz#b6978ef741e6ec9695f5ff9331cdaf9fa10ad6a4" @@ -6096,10 +6222,10 @@ paid-services@4.3.0: psbt "2.7.2" tiny-secp256k1 "2.2.1" -paid-services@4.3.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/paid-services/-/paid-services-4.3.2.tgz#1af31806b2365683eebf1e93521a02e0a6f461d3" - integrity sha512-LrO1puZM28B0SKmxG3f/zir8fJNxMCzZpbbTgWgYxVJCXc/654T9Js/MQ9WCjm6ls9O/fOAHaCBAg1Vc+MkIoQ== +paid-services@4.3.3: + version "4.3.3" + resolved "https://registry.yarnpkg.com/paid-services/-/paid-services-4.3.3.tgz#46b3671374201ab1e185cd198af81014279ad2e9" + integrity sha512-OfYQkRAne2HbPsC+tWjwfQVAbjzq7mBXVQF1aGwfbpWEO49X54aH0/RwepQjkxrRvYFMqHc++NGxcHwQRRWTew== dependencies: "@alexbosworth/fiat" "1.0.4" async "3.2.4" @@ -6442,6 +6568,16 @@ raw-body@2.5.1: iconv-lite "0.4.24" unpipe "1.0.0" +raw-body@2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" + integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== + dependencies: + bytes "3.1.2" + http-errors "2.0.0" + iconv-lite "0.4.24" + unpipe "1.0.0" + rc-align@^4.0.0: version "4.0.12" resolved "https://registry.yarnpkg.com/rc-align/-/rc-align-4.0.12.tgz#065b5c68a1cc92a00800c9239320d9fdf5f16207" @@ -8110,6 +8246,11 @@ type-fest@3.5.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.5.1.tgz#9555ae435f560c1b4447b70bdd195bb2c86c6c92" integrity sha512-70T99cpILFk2fzwuljwWxmazSphFrdOe3gRHbp6bqs71pxFBbJwFqnmkLO2lQL6aLHxHmYAnP/sL+AJWpT70jA== +type-fest@3.6.1: + version "3.6.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.6.1.tgz#cf8025edeebfd6cf48de73573a5e1423350b9993" + integrity sha512-htXWckxlT6U4+ilVgweNliPqlsVSSucbxVexRYllyMVJDtf5rTjv6kF/s+qAd4QSL1BZcnJPEJavYBPQiWuZDA== + type-fest@^0.18.0: version "0.18.1" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f" @@ -8467,6 +8608,11 @@ ws@8.11.0: resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143" integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg== +ws@8.12.1: + version "8.12.1" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.1.tgz#c51e583d79140b5e42e39be48c934131942d4a8f" + integrity sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew== + ws@~8.2.3: version "8.2.3" resolved "https://registry.yarnpkg.com/ws/-/ws-8.2.3.tgz#63a56456db1b04367d0b721a0b80cae6d8becbba"