Commit Graph

204 Commits

Author SHA1 Message Date
Derrick Hammer c654a18159
Merge remote-tracking branch 'origin/develop' into develop 2023-09-08 12:30:57 -04:00
Derrick Hammer 0ad6d611a6
refactor: update valid method to be verify, and handle string input 2023-09-08 12:30:50 -04:00
semantic-release-bot 6c63da7354 chore(release): 0.1.0-develop.54 [skip ci]
# [0.1.0-develop.54](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.53...v0.1.0-develop.54) (2023-09-08)

### Features

* add valid to CID ([565bed4](565bed46d5))
2023-09-08 14:02:23 +00:00
Derrick Hammer 4d721ef4ab
Merge remote-tracking branch 'origin/develop' into develop 2023-09-08 10:01:33 -04:00
Derrick Hammer 565bed46d5
feat: add valid to CID 2023-09-08 10:01:29 -04:00
semantic-release-bot 6c4e010f56 chore(release): 0.1.0-develop.53 [skip ci]
# [0.1.0-develop.53](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.52...v0.1.0-develop.53) (2023-09-08)

### Features

* add fromRegistry to CID ([bf52142](bf521425b3))
2023-09-08 13:22:57 +00:00
Derrick Hammer c24f062f80
Merge remote-tracking branch 'origin/develop' into develop 2023-09-08 09:22:15 -04:00
Derrick Hammer bf521425b3
feat: add fromRegistry to CID 2023-09-08 09:22:01 -04:00
semantic-release-bot e80fbb34b7 chore(release): 0.1.0-develop.52 [skip ci]
# [0.1.0-develop.52](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.51...v0.1.0-develop.52) (2023-09-08)

### Bug Fixes

* export KeyPairEd25519 as a type ([0c060fd](0c060fde55))
2023-09-08 11:54:27 +00:00
Derrick Hammer 8599ee3813
Merge remote-tracking branch 'origin/develop' into develop 2023-09-08 07:53:42 -04:00
Derrick Hammer 0c060fde55
fix: export KeyPairEd25519 as a type 2023-09-08 07:53:37 -04:00
semantic-release-bot 68406eebb0 chore(release): 0.1.0-develop.51 [skip ci]
# [0.1.0-develop.51](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.50...v0.1.0-develop.51) (2023-09-08)

### Features

* add more s5 constants ([b74fa99](b74fa99783))
2023-09-08 10:12:05 +00:00
Derrick Hammer 2f690c5f80
Merge remote-tracking branch 'origin/develop' into develop 2023-09-08 06:11:09 -04:00
Derrick Hammer b74fa99783
feat: add more s5 constants 2023-09-08 06:11:03 -04:00
semantic-release-bot 2148ffaf58 chore(release): 0.1.0-develop.50 [skip ci]
# [0.1.0-develop.50](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.49...v0.1.0-develop.50) (2023-09-07)

### Features

* add CID.fromHash ([4a157d9](4a157d9eca))
2023-09-07 22:52:49 +00:00
Derrick Hammer a1a5912166
Merge remote-tracking branch 'origin/develop' into develop 2023-09-07 18:51:44 -04:00
Derrick Hammer 4a157d9eca
feat: add CID.fromHash 2023-09-07 18:51:40 -04:00
semantic-release-bot 07600cea13 chore(release): 0.1.0-develop.49 [skip ci]
# [0.1.0-develop.49](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.48...v0.1.0-develop.49) (2023-09-07)

### Features

* add CID class ([cc5cbdb](cc5cbdb860))
2023-09-07 22:41:18 +00:00
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