Commit Graph

120 Commits

Author SHA1 Message Date
Derrick Hammer 4f3af7fdb4
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 18:31:48 -04:00
Derrick Hammer d84aa18174
refactor: make uris default to an empty array 2023-08-31 18:31:43 -04:00
semantic-release-bot 3bd1adf4dd chore(release): 0.1.0-develop.11 [skip ci]
# [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)
2023-08-31 22:04:36 +00:00
Derrick Hammer 1f391c15b1
refactor: update createTransportPeer 2023-08-31 18:03:47 -04:00
Derrick Hammer 57e2c56d24
refactor: create PeerConstructorOptions type 2023-08-31 18:00:59 -04:00
Derrick Hammer 3accd69ab0
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 17:53:48 -04:00
Derrick Hammer a84c02c36f
refactor: update Peer constructor to take an object bag 2023-08-31 17:53:44 -04:00
semantic-release-bot a0e9d82ea2 chore(release): 0.1.0-develop.10 [skip ci]
# [0.1.0-develop.10](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.9...v0.1.0-develop.10) (2023-08-31)
2023-08-31 21:33:34 +00:00
Derrick Hammer 215a4ce4fe
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 17:32:46 -04:00
Derrick Hammer bc608d00e3
refactor: consolidate to BasePeer class and export BasePeer 2023-08-31 17:32:37 -04:00
semantic-release-bot ee715f2787 chore(release): 0.1.0-develop.9 [skip ci]
# [0.1.0-develop.9](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.8...v0.1.0-develop.9) (2023-08-31)
2023-08-31 15:11:25 +00:00
Derrick Hammer 4544e4b5c1
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 11:10:21 -04:00
Derrick Hammer 16d0c758f3
refactor: export NodeId 2023-08-31 11:10:15 -04:00
semantic-release-bot f2d1019ecb chore(release): 0.1.0-develop.8 [skip ci]
# [0.1.0-develop.8](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.7...v0.1.0-develop.8) (2023-08-31)

### Bug Fixes

* fix imports ([9305f3d](9305f3d42c))
2023-08-31 15:03:15 +00:00
Derrick Hammer 9305f3d42c
fix: fix imports 2023-08-31 11:02:17 -04:00
Derrick Hammer bfa7bd4139
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 10:58:31 -04:00
Derrick Hammer 6e74ef6d8f
refactor: move S5NodeConfig to types and make network optional 2023-08-31 10:58:10 -04:00
semantic-release-bot 7f8f04d489 chore(release): 0.1.0-develop.7 [skip ci]
# [0.1.0-develop.7](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.6...v0.1.0-develop.7) (2023-08-31)

### Bug Fixes

* use URL type from url package not global URL ([0af8bb3](0af8bb3469))
2023-08-31 13:53:24 +00:00
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