Commit Graph

302 Commits

Author SHA1 Message Date
Derrick Hammer bbda50ddfb
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 09:52:27 -04:00
Derrick Hammer 0af8bb3469
fix: use URL type from url package not global URL 2023-08-31 09:52:22 -04:00
semantic-release-bot 74c7e2ba6f chore(release): 0.1.0-develop.6 [skip ci]
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-08-31)

### Bug Fixes

* add createKeyPair factory that defaults to a random key ([42ef635](42ef635fb5))
2023-08-31 11:23:25 +00:00
Derrick Hammer c7f271b8c6
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 07:22:27 -04:00
Derrick Hammer 42ef635fb5
fix: add createKeyPair factory that defaults to a random key 2023-08-31 07:22:16 -04:00
semantic-release-bot 3c806abac0 chore(release): 0.1.0-develop.5 [skip ci]
# [0.1.0-develop.5](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.4...v0.1.0-develop.5) (2023-08-31)
2023-08-31 11:11:29 +00:00
Derrick Hammer 149c725624
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 07:10:38 -04:00
Derrick Hammer e110f8f197
refactor: conditionally load tcp transport 2023-08-31 07:10:16 -04:00
semantic-release-bot 7dc4325056 chore(release): 0.1.0-develop.4 [skip ci]
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-08-31)

### Bug Fixes

* add getter for networkId and hashQueryRoutingTable ([6ebc477](6ebc477449))
* ed25519.sign arguments are wrong order ([5585907](5585907591))
* fix object references ([e342982](e342982163))
* missing p2p object on S5Config ([b5e491b](b5e491b01a))
* need to store peer, set the id the pass it to onNewPeer ([7afc759](7afc759ece))
* need to use unpacked data from signed message ([35ebf74](35ebf74f4c))
* update registered messages ([87d1e6b](87d1e6b0b4))
2023-08-31 10:56:28 +00:00
Derrick Hammer 187367139d
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 06:55:30 -04:00
Derrick Hammer 87d1e6b0b4
fix: update registered messages 2023-08-31 06:54:16 -04:00
Derrick Hammer 35ebf74f4c
fix: need to use unpacked data from signed message 2023-08-31 06:53:52 -04:00
Derrick Hammer e342982163
fix: fix object references 2023-08-31 06:53:25 -04:00
Derrick Hammer 7afc759ece
fix: need to store peer, set the id the pass it to onNewPeer 2023-08-31 06:50:24 -04:00
Derrick Hammer 5585907591
fix: ed25519.sign arguments are wrong order 2023-08-31 06:49:59 -04:00
Derrick Hammer 6ebc477449
fix: add getter for networkId and hashQueryRoutingTable 2023-08-31 06:49:33 -04:00
Derrick Hammer b5e491b01a
fix: missing p2p object on S5Config 2023-08-31 06:18:59 -04:00
semantic-release-bot 761d33f04e chore(release): 0.1.0-develop.3 [skip ci]
# [0.1.0-develop.3](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.2...v0.1.0-develop.3) (2023-08-31)
2023-08-31 10:10:17 +00:00
Derrick Hammer 10e6020f52
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 06:09:33 -04:00
Derrick Hammer aed4865b73
refactor: major refactor to put p2p message routing into map based handlers with types 2023-08-31 06:09:23 -04:00
Derrick Hammer db72e1eefd
refactor: change transport handling to be dynamic, so new ones can be registered 2023-08-31 05:04:33 -04:00
Derrick Hammer 08123762ce
refactor: export SignedRegistryEntry 2023-08-31 04:15:50 -04:00
semantic-release-bot b10a1e1141 chore(release): 0.1.0-develop.2 [skip ci]
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-08-31)

### Bug Fixes

* add main to package.json ([4672112](46721129f3))
2023-08-31 08:09:23 +00:00
Derrick Hammer f199bcc665
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 04:08:34 -04:00
Derrick Hammer a1549523fb
refactor: update exports and add factory for S5Node 2023-08-31 03:49:31 -04:00
Derrick Hammer a189fab1be
refactor: use a simple S5Node object to coordinate everything with helper getters 2023-08-31 03:29:28 -04:00
Derrick Hammer 46721129f3
fix: add main to package.json 2023-08-31 02:57:00 -04:00
Derrick Hammer 84eb06f648
ci: add files to package.json 2023-08-31 02:53:41 -04:00
semantic-release-bot 3be3ae4de5 chore(release): 0.1.0-develop.1 [skip ci]
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.0.1...v0.1.0-develop.1) (2023-08-31)

### Bug Fixes

* _newBuf needs to reset offset to 0 ([31e63f6](31e63f6c63))
* add registry to services object in interface ([22e486e](22e486ea18))
* add some exports ([5a1dca9](5a1dca9775))
* check protocol with colon ([a4b692b](a4b692b28f))
* do a truthy check on networkId ([68b7ffa](68b7ffa855))
* fix retry logic ([1221d7d](1221d7de63))
* import websocket ([132f43c](132f43c34b))
* need a getter for id ([fbffb1d](fbffb1da72))
* pass the event data, not the event itself ([42cd101](42cd101fb2))
* remove unneeded getPublicKey call ([ae40d52](ae40d52f9e))
* unsupported url needs to be a real but dummy one ([17ff5fd](17ff5fd96b))
* update import ([91a15bd](91a15bd428))
* update level imports ([68e6c3a](68e6c3a682))
* we dont need to strip out auth ([a021243](a021243c89))

### Features

* initial version ([2f2ae2f](2f2ae2f4fc))
2023-08-31 06:44:42 +00:00
Derrick Hammer 03e7d9ba04
ci: setup 2023-08-31 02:43:14 -04:00
Derrick Hammer 5a1dca9775
fix: add some exports 2023-08-31 02:37:32 -04:00
Derrick Hammer 05cbd60373
refactor: make deserializeRegistryEntry a method 2023-08-31 02:37:06 -04:00
Derrick Hammer 1221d7de63
fix: fix retry logic 2023-08-31 02:36:32 -04:00
Derrick Hammer a021243c89
fix: we dont need to strip out auth 2023-08-31 02:35:29 -04:00
Derrick Hammer a4b692b28f
fix: check protocol with colon 2023-08-31 02:34:59 -04:00
Derrick Hammer 17ff5fd96b
fix: unsupported url needs to be a real but dummy one 2023-08-31 02:34:13 -04:00
Derrick Hammer 2ef91a4d9c
refactor: need to use a query chain access 2023-08-31 02:32:59 -04:00
Derrick Hammer 91034708bc
refactor: reconnectDelay and _peers need to store by the string version of peer id 2023-08-31 02:32:04 -04:00
Derrick Hammer 56bb5007f6
refactor: add registry message handling back in 2023-08-31 02:30:19 -04:00
Derrick Hammer 68b7ffa855
fix: do a truthy check on networkId 2023-08-31 02:29:32 -04:00
Derrick Hammer 68e6c3a682
fix: update level imports 2023-08-31 02:29:09 -04:00
Derrick Hammer 91a15bd428
fix: update import 2023-08-31 02:28:33 -04:00
Derrick Hammer ae40d52f9e
fix: remove unneeded getPublicKey call 2023-08-31 02:28:24 -04:00
Derrick Hammer 22e486ea18
fix: add registry to services object in interface 2023-08-31 02:28:01 -04:00
Derrick Hammer eaf35bcd2e
refactor: update db store structure to create sublevel inside p2p service and not pass it to it 2023-08-31 02:27:29 -04:00
Derrick Hammer 42cd101fb2
fix: pass the event data, not the event itself 2023-08-31 02:25:52 -04:00
Derrick Hammer 132f43c34b
fix: import websocket 2023-08-31 02:25:37 -04:00
Derrick Hammer fbffb1da72
fix: need a getter for id 2023-08-31 02:25:27 -04:00
Derrick Hammer 31e63f6c63
fix: _newBuf needs to reset offset to 0 2023-08-31 02:23:49 -04:00
Derrick Hammer b1f4ab93d8
dep: add ws 2023-08-31 02:23:27 -04:00