Commit Graph

165 Commits

Author SHA1 Message Date
Derrick Hammer 7f8f35cb35
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 05:36:35 -04:00
Derrick Hammer 6d575a1cec
fix: freeze REGISTRY_TYPES 2023-09-02 05:36:31 -04:00
semantic-release-bot 5cd7ad7c10 chore(release): 0.1.0-develop.41 [skip ci]
# [0.1.0-develop.41](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.40...v0.1.0-develop.41) (2023-09-02)
2023-09-02 09:34:30 +00:00
Derrick Hammer 2f873efc43
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 05:33:48 -04:00
Derrick Hammer d05d011fcd
refactor: switch to using frozen objects to store CID_TYPES, METADATA_TYPES, and PARENT_LINK_TYPES 2023-09-02 05:33:44 -04:00
semantic-release-bot 065ca2a989 chore(release): 0.1.0-develop.40 [skip ci]
# [0.1.0-develop.40](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.39...v0.1.0-develop.40) (2023-09-02)

### Features

* add const groups of the different set of types ([cc66a0d](cc66a0d839))
2023-09-02 09:20:03 +00:00
Derrick Hammer d03fae0356
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 05:19:23 -04:00
Derrick Hammer cc66a0d839
feat: add const groups of the different set of types 2023-09-02 05:19:09 -04:00
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
semantic-release-bot 4f2a28bcad chore(release): 0.1.0-develop.38 [skip ci]
# [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)

### Bug Fixes

* utf8ToBytes no longer needed ([8373114](8373114d5c))
2023-09-02 03:32:51 +00:00
Derrick Hammer b3e690b0d4
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 23:31:57 -04:00
Derrick Hammer 8373114d5c
fix: utf8ToBytes no longer needed 2023-09-01 23:31:49 -04:00
semantic-release-bot 589ccbe37c chore(release): 0.1.0-develop.37 [skip ci]
# [0.1.0-develop.37](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.36...v0.1.0-develop.37) (2023-09-02)

### Bug Fixes

* set sublevel valueEncoding to buffer ([384e941](384e941b09))
2023-09-02 03:11:19 +00:00
Derrick Hammer ef63d8d250
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 23:10:23 -04:00
Derrick Hammer 384e941b09
fix: set sublevel valueEncoding to buffer 2023-09-01 23:10:18 -04:00
semantic-release-bot 3f6a280d48 chore(release): 0.1.0-develop.36 [skip ci]
# [0.1.0-develop.36](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.35...v0.1.0-develop.36) (2023-09-02)

### Bug Fixes

* set sublevel valueEncoding to buffer ([a6c02bc](a6c02bc772))
2023-09-02 03:10:17 +00:00
Derrick Hammer e53fd821fe
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 23:09:19 -04:00
Derrick Hammer a6c02bc772
fix: set sublevel valueEncoding to buffer 2023-09-01 23:09:13 -04:00
semantic-release-bot 992f026c8b chore(release): 0.1.0-develop.35 [skip ci]
# [0.1.0-develop.35](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.34...v0.1.0-develop.35) (2023-09-02)

### Bug Fixes

* convert binary string to uint8array ([419c7f8](419c7f85a8))
2023-09-02 01:49:23 +00:00
Derrick Hammer d461b917e6
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 21:48:23 -04:00
Derrick Hammer 419c7f85a8
fix: convert binary string to uint8array 2023-09-01 21:48:17 -04:00
semantic-release-bot aa188e107b chore(release): 0.1.0-develop.34 [skip ci]
# [0.1.0-develop.34](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.33...v0.1.0-develop.34) (2023-09-02)

### Bug Fixes

* add started state on node and check it on connectToNode ([deebe15](deebe15c6f))
2023-09-02 01:08:18 +00:00
Derrick Hammer 01bf7fe1fa
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 21:07:33 -04:00
Derrick Hammer deebe15c6f
fix: add started state on node and check it on connectToNode 2023-09-01 21:07:28 -04:00
semantic-release-bot 0b68d95e21 chore(release): 0.1.0-develop.33 [skip ci]
# [0.1.0-develop.33](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.32...v0.1.0-develop.33) (2023-09-02)

### Bug Fixes

* need to use close not end on WS transport ([e3b7760](e3b7760050))
2023-09-02 01:02:17 +00:00
Derrick Hammer 8cc499c320
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 21:01:28 -04:00
Derrick Hammer e3b7760050
fix: need to use close not end on WS transport 2023-09-01 21:01:24 -04:00
semantic-release-bot 07459357fc chore(release): 0.1.0-develop.32 [skip ci]
# [0.1.0-develop.32](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.31...v0.1.0-develop.32) (2023-09-02)
2023-09-02 00:56:09 +00:00
Derrick Hammer 905c35aed1
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 20:55:26 -04:00
Derrick Hammer dfe9e3f082
fest: add stop method 2023-09-01 20:55:21 -04:00
Derrick Hammer 90c0614773
refactor: add end method to transports 2023-09-01 20:55:08 -04:00
semantic-release-bot 31465e3a63 chore(release): 0.1.0-develop.31 [skip ci]
# [0.1.0-develop.31](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.30...v0.1.0-develop.31) (2023-09-02)

### Bug Fixes

* fix iteration of peers ([fabda02](fabda024ad))
2023-09-02 00:47:29 +00:00
Derrick Hammer e821da5a27
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 20:46:41 -04:00
Derrick Hammer fabda024ad
fix: fix iteration of peers 2023-09-01 20:46:37 -04:00
semantic-release-bot 58600e7163 chore(release): 0.1.0-develop.30 [skip ci]
# [0.1.0-develop.30](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.29...v0.1.0-develop.30) (2023-09-02)

### Bug Fixes

* correct argument order on ed25519.verify ([daf357c](daf357cd63))
2023-09-02 00:42:33 +00:00
Derrick Hammer 006c49409c
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 20:41:36 -04:00
Derrick Hammer daf357cd63
fix: correct argument order on ed25519.verify 2023-09-01 20:41:32 -04:00
semantic-release-bot 283b16b3ee chore(release): 0.1.0-develop.29 [skip ci]
# [0.1.0-develop.29](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.28...v0.1.0-develop.29) (2023-09-02)

### Bug Fixes

* add try/catch on db.get ([1a32416](1a3241688c))
2023-09-02 00:29:09 +00:00
Derrick Hammer 0ede0480d4
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 20:28:27 -04:00
Derrick Hammer 1a3241688c
fix: add try/catch on db.get 2023-09-01 20:27:34 -04:00
semantic-release-bot befa286bb3 chore(release): 0.1.0-develop.28 [skip ci]
# [0.1.0-develop.28](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.27...v0.1.0-develop.28) (2023-09-02)

### Bug Fixes

* set node registry service in service constructor ([d9af5bd](d9af5bd015))
2023-09-02 00:21:25 +00:00
Derrick Hammer d216f2b43e
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 20:20:37 -04:00
Derrick Hammer 4e6f1b3ad3
refactor: use node.services.p2p 2023-09-01 20:20:30 -04:00
Derrick Hammer d9af5bd015
fix: set node registry service in service constructor 2023-09-01 20:20:08 -04:00
semantic-release-bot 29a12e7baf chore(release): 0.1.0-develop.27 [skip ci]
# [0.1.0-develop.27](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.26...v0.1.0-develop.27) (2023-09-01)

### Features

* add eventemitter support on p2p service and have the handshakedone message emit peerConnected ([b34b7a3](b34b7a3a01))
2023-09-01 23:50:39 +00:00
Derrick Hammer c360b8b1ce
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 19:49:50 -04:00
Derrick Hammer b34b7a3a01
feat: add eventemitter support on p2p service and have the handshakedone message emit peerConnected 2023-09-01 19:49:42 -04:00
semantic-release-bot 77fea7bab7 chore(release): 0.1.0-develop.26 [skip ci]
# [0.1.0-develop.26](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.25...v0.1.0-develop.26) (2023-09-01)

### Features

* add BOOTSTRAP_NODES constant ([2061f63](2061f6330d))
2023-09-01 23:23:03 +00:00