Commit Graph

186 Commits

Author SHA1 Message Date
Derrick Hammer 764685a111
Merge remote-tracking branch 'origin/develop' into develop 2023-09-07 18:40:35 -04:00
Derrick Hammer cc5cbdb860
feat: add CID class 2023-09-07 18:40:27 -04:00
semantic-release-bot 18d54a08b2 chore(release): 0.1.0-develop.48 [skip ci]
# [0.1.0-develop.48](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.47...v0.1.0-develop.48) (2023-09-07)
2023-09-07 16:35:21 +00:00
Derrick Hammer bfbb9c9e0c
Merge remote-tracking branch 'origin/develop' into develop 2023-09-07 12:34:11 -04:00
Derrick Hammer 3c789459ec
refactor: extract signRegistryEntry as a utility function and make the instance method a wrapper 2023-09-07 12:34:05 -04:00
semantic-release-bot 3402d0f681 chore(release): 0.1.0-develop.47 [skip ci]
# [0.1.0-develop.47](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.46...v0.1.0-develop.47) (2023-09-04)

### Bug Fixes

* export util functions ([8b87a61](8b87a61925))
2023-09-04 13:27:24 +00:00
Derrick Hammer 085c97354e
Merge remote-tracking branch 'origin/develop' into develop 2023-09-04 09:26:10 -04:00
Derrick Hammer 8b87a61925
fix: export util functions 2023-09-04 09:26:03 -04:00
semantic-release-bot 3a3ad3ff73 chore(release): 0.1.0-develop.46 [skip ci]
# [0.1.0-develop.46](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.45...v0.1.0-develop.46) (2023-09-04)
2023-09-04 12:49:08 +00:00
Derrick Hammer c286fb1d9c
Merge remote-tracking branch 'origin/develop' into develop 2023-09-04 08:48:08 -04:00
Derrick Hammer 66612e9afc
refactor: make instance methods deserializeRegistryEntry, verifyRegistryEntry, serializeRegistryEntry wrappers of the functional ones 2023-09-04 08:48:01 -04:00
semantic-release-bot 10d898cfb9 chore(release): 0.1.0-develop.45 [skip ci]
# [0.1.0-develop.45](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.44...v0.1.0-develop.45) (2023-09-04)

### Bug Fixes

* fix outdated reads. port of s5 08c4bda5c1109673fba907ba119c9855fc3fcf68 0d2bf39845b37dd0b2ebe06be34c5d51e7060280 ([9c471e6](9c471e6949))
2023-09-04 11:20:23 +00:00
Derrick Hammer cb4f23ed7e
Merge remote-tracking branch 'origin/develop' into develop 2023-09-04 07:19:24 -04:00
Derrick Hammer 9c471e6949
fix: fix outdated reads. port of s5 08c4bda5c1109673fba907ba119c9855fc3fcf68 0d2bf39845b37dd0b2ebe06be34c5d51e7060280 2023-09-04 07:19:19 -04:00
semantic-release-bot 4b173c9699 chore(release): 0.1.0-develop.44 [skip ci]
# [0.1.0-develop.44](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.43...v0.1.0-develop.44) (2023-09-03)
2023-09-03 02:36:30 +00:00
Derrick Hammer 614a699cc3
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 22:35:44 -04:00
Derrick Hammer b91f33fb65
refactor: add publicKeyRaw method to ed25519 2023-09-02 22:35:38 -04:00
semantic-release-bot 9ca559e49f chore(release): 0.1.0-develop.43 [skip ci]
# [0.1.0-develop.43](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.42...v0.1.0-develop.43) (2023-09-02)
2023-09-02 10:11:09 +00:00
Derrick Hammer 437c8c0dcb
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 06:10:24 -04:00
Derrick Hammer a34bd1b813
refactor: move hash types to frozen object group 2023-09-02 06:10:20 -04:00
semantic-release-bot 5da11dcb8e chore(release): 0.1.0-develop.42 [skip ci]
# [0.1.0-develop.42](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.41...v0.1.0-develop.42) (2023-09-02)

### Bug Fixes

* freeze REGISTRY_TYPES ([6d575a1](6d575a1cec))
2023-09-02 09:37:41 +00:00
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