Compare commits

..

No commits in common. "v0.1.0-develop.13" and "v0.1.0-develop.12" have entirely different histories.

4 changed files with 4 additions and 13 deletions

View File

@ -1,10 +1,3 @@
# [0.1.0-develop.13](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.12...v0.1.0-develop.13) (2023-08-31)
### Bug Fixes
* only set socket if passed ([a7b3129](https://git.lumeweb.com/LumeWeb/libs5/commit/a7b31294263cb2631824fd3b643e8b9e5e75bac3))
# [0.1.0-develop.12](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.11...v0.1.0-develop.12) (2023-08-31)
# [0.1.0-develop.11](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.10...v0.1.0-develop.11) (2023-08-31)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.13",
"version": "0.1.0-develop.12",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.13",
"version": "0.1.0-develop.12",
"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.13",
"version": "0.1.0-develop.12",
"type": "module",
"main": "lib/index.js",
"repository": {

View File

@ -11,9 +11,7 @@ export abstract class BasePeer implements Peer {
constructor({ socket, uris = [] }: PeerConstructorOptions) {
this.connectionUris = uris.map((uri) => new URL(uri.toString()));
this.challenge = new Uint8Array();
if (socket) {
this._socket = socket;
}
this._socket = socket;
}
private _id?: NodeId;