Commit Graph

86 Commits

Author SHA1 Message Date
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
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