Commit Graph

120 Commits

Author SHA1 Message Date
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
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
Derrick Hammer 3cc4c27cf2
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 19:22:11 -04:00
Derrick Hammer 2061f6330d
feat: add BOOTSTRAP_NODES constant 2023-09-01 19:21:59 -04:00
semantic-release-bot 3de242d824 chore(release): 0.1.0-develop.25 [skip ci]
# [0.1.0-develop.25](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.24...v0.1.0-develop.25) (2023-09-01)

### Bug Fixes

* fix import ([ca1a3dd](ca1a3dd5e7))
2023-09-01 13:25:48 +00:00
Derrick Hammer ca1a3dd5e7
fix: fix import 2023-09-01 09:24:50 -04:00
Derrick Hammer c641d03a1b
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 09:20:22 -04:00
Derrick Hammer 5d26f1ec61
refactor: export SignedRegistryEntry 2023-09-01 09:20:12 -04:00
semantic-release-bot 58240f032e chore(release): 0.1.0-develop.24 [skip ci]
# [0.1.0-develop.24](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.23...v0.1.0-develop.24) (2023-09-01)
2023-09-01 12:25:50 +00:00
Derrick Hammer af36a49257
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 08:25:05 -04:00
Derrick Hammer 1b04799943
refactor: listen only needs to return the done handler 2023-09-01 08:24:55 -04:00
semantic-release-bot 8623669898 chore(release): 0.1.0-develop.23 [skip ci]
# [0.1.0-develop.23](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.22...v0.1.0-develop.23) (2023-09-01)
2023-09-01 12:15:59 +00:00
Derrick Hammer 427c423b2c
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 08:15:03 -04:00
Derrick Hammer 8b1325f631
refactor: rewrite listen 2023-09-01 08:14:59 -04:00
semantic-release-bot 8e1dee22b4 chore(release): 0.1.0-develop.22 [skip ci]
# [0.1.0-develop.22](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.21...v0.1.0-develop.22) (2023-09-01)

### Features

* port listen method ([a75c57b](a75c57b1e8))
2023-09-01 12:03:19 +00:00
Derrick Hammer 04c388248c
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 08:02:26 -04:00
Derrick Hammer a75c57b1e8
feat: port listen method 2023-09-01 08:02:05 -04:00
semantic-release-bot 6036265794 chore(release): 0.1.0-develop.21 [skip ci]
# [0.1.0-develop.21](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.20...v0.1.0-develop.21) (2023-09-01)

### Bug Fixes

* await not needed ([9645105](9645105ec3))
2023-09-01 11:57:07 +00:00
Derrick Hammer 174e5a0181
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 07:56:25 -04:00
Derrick Hammer 9645105ec3
fix: await not needed 2023-09-01 07:55:43 -04:00
semantic-release-bot 22d5c8be10 chore(release): 0.1.0-develop.20 [skip ci]
# [0.1.0-develop.20](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.19...v0.1.0-develop.20) (2023-09-01)
2023-09-01 11:52:39 +00:00
Derrick Hammer 9119043051
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 07:51:46 -04:00
Derrick Hammer ade87a9934
refactor: signRegistryEntry does not need to be async 2023-09-01 07:51:40 -04:00
semantic-release-bot cce0afe694 chore(release): 0.1.0-develop.19 [skip ci]
# [0.1.0-develop.19](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.18...v0.1.0-develop.19) (2023-09-01)
2023-09-01 11:34:24 +00:00
Derrick Hammer bda8007cdf
refactor: make timeout a utility function 2023-09-01 07:33:30 -04:00
Derrick Hammer 9e03b62a59
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 07:31:00 -04:00
Derrick Hammer f306ee2166
style: format 2023-09-01 07:30:56 -04:00
semantic-release-bot 97358b0419 chore(release): 0.1.0-develop.18 [skip ci]
# [0.1.0-develop.18](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.17...v0.1.0-develop.18) (2023-09-01)

### Bug Fixes

* export S5Node type ([1c1ec97](1c1ec9703a))
2023-09-01 11:29:15 +00:00
Derrick Hammer 9f8f680948
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 07:28:24 -04:00
Derrick Hammer 1c1ec9703a
fix: export S5Node type 2023-09-01 07:28:21 -04:00
semantic-release-bot 69ad85c715 chore(release): 0.1.0-develop.17 [skip ci]
# [0.1.0-develop.17](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.16...v0.1.0-develop.17) (2023-09-01)

### Bug Fixes

* browser returns a Blob, so convert to a buffer if we have a blob ([80dd92d](80dd92ddb1))
* missing uri argument for node WS ([8b7ffa8](8b7ffa8821))
2023-09-01 10:40:31 +00:00
Derrick Hammer e4bcd774ab
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 06:39:35 -04:00
Derrick Hammer 80dd92ddb1
fix: browser returns a Blob, so convert to a buffer if we have a blob 2023-09-01 06:39:25 -04:00
Derrick Hammer 8b7ffa8821
fix: missing uri argument for node WS 2023-09-01 06:38:51 -04:00
semantic-release-bot eeb8a816a0 chore(release): 0.1.0-develop.16 [skip ci]
# [0.1.0-develop.16](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.15...v0.1.0-develop.16) (2023-09-01)

### Bug Fixes

* add support for browser WS by checking if we are in node ([0a15337](0a153379c8))
2023-09-01 10:21:10 +00:00
Derrick Hammer f81f170ee9
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 06:20:13 -04:00
Derrick Hammer 0a153379c8
fix: add support for browser WS by checking if we are in node 2023-09-01 06:19:56 -04:00
semantic-release-bot ba82769d03 chore(release): 0.1.0-develop.15 [skip ci]
# [0.1.0-develop.15](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.14...v0.1.0-develop.15) (2023-09-01)
2023-09-01 07:19:36 +00:00
Derrick Hammer 76879734ea
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 03:18:41 -04:00
Derrick Hammer 46098bd07f
refactor: export constants 2023-09-01 03:18:37 -04:00
semantic-release-bot c2bf1e70e2 chore(release): 0.1.0-develop.14 [skip ci]
# [0.1.0-develop.14](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.13...v0.1.0-develop.14) (2023-08-31)

### Bug Fixes

* make uris optional ([a4c5dd5](a4c5dd5b5b))
2023-08-31 22:49:49 +00:00
Derrick Hammer 92bd8e2cd1
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 18:49:08 -04:00
Derrick Hammer a4c5dd5b5b
fix: make uris optional 2023-08-31 18:49:00 -04:00
semantic-release-bot a9ce2f7993 chore(release): 0.1.0-develop.13 [skip ci]
# [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](a7b3129426))
2023-08-31 22:44:53 +00:00
Derrick Hammer 2d8222b7a0
Merge remote-tracking branch 'origin/develop' into develop 2023-08-31 18:44:12 -04:00
Derrick Hammer a7b3129426
fix: only set socket if passed 2023-08-31 18:44:03 -04:00
semantic-release-bot e5faf413b1 chore(release): 0.1.0-develop.12 [skip ci]
# [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)
2023-08-31 22:32:29 +00:00