Compare commits

...

3 Commits

Author SHA1 Message Date
semantic-release-bot 8f9067a4d9 chore(release): 0.1.0-develop.39 [skip ci]
# [0.1.0-develop.39](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.38...v0.1.0-develop.39) (2023-09-02)

### Bug Fixes

* if a peer completed the handshake, but our node is stopped, end the peer and abort ([6cc0bd6](6cc0bd6500))
2023-09-02 08:51:40 +00:00
Derrick Hammer 2c4905c266
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 04:50:57 -04:00
Derrick Hammer 6cc0bd6500
fix: if a peer completed the handshake, but our node is stopped, end the peer and abort 2023-09-02 04:50:52 -04:00
4 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.39](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.38...v0.1.0-develop.39) (2023-09-02)
### Bug Fixes
* if a peer completed the handshake, but our node is stopped, end the peer and abort ([6cc0bd6](https://git.lumeweb.com/LumeWeb/libs5/commit/6cc0bd650016e9c5f7a7a4aba720696558f47e79))
# [0.1.0-develop.38](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.37...v0.1.0-develop.38) (2023-09-02)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.38",
"version": "0.1.0-develop.39",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.38",
"version": "0.1.0-develop.39",
"dependencies": {
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.38",
"version": "0.1.0-develop.39",
"type": "module",
"main": "lib/index.js",
"repository": {

View File

@ -11,6 +11,10 @@ export default async function (
message: SignedMessage,
verifyId: boolean,
) {
if (!node.started) {
peer.end();
return;
}
const p2p = node.services.p2p;
const challenge = data.unpackBinary();