Commit Graph

41 Commits

Author SHA1 Message Date
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
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
Derrick Hammer 2f2ae2f4fc
feat: initial version 2023-08-30 14:38:53 -04:00
Derrick Hammer f3d8e845da Initial commit 2023-08-22 05:48:20 +00:00