Commit Graph

217 Commits

Author SHA1 Message Date
Derrick Hammer 155e0b4c0c
fix: bad base32 encoding, multiformats handles the prefix 2023-09-19 19:31:11 -04:00
Derrick Hammer 6cf2481164
Merge remote-tracking branch 'origin/develop' into develop 2023-09-11 13:21:45 -04:00
Derrick Hammer e25087890f
feat: add fromRegistryPublicKey helper 2023-09-11 13:21:39 -04:00
semantic-release-bot b4fa7ad645 chore(release): 0.1.0-develop.58 [skip ci]
# [0.1.0-develop.58](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.57...v0.1.0-develop.58) (2023-09-11)

### Bug Fixes

* signRegistryEntry accidentally recursive ([e03eb41](e03eb41e96))
2023-09-11 17:16:17 +00:00
Derrick Hammer 07893b1538
Merge remote-tracking branch 'origin/develop' into develop 2023-09-11 13:15:23 -04:00
Derrick Hammer e03eb41e96
fix: signRegistryEntry accidentally recursive 2023-09-11 13:15:18 -04:00
semantic-release-bot a46f0bf255 chore(release): 0.1.0-develop.57 [skip ci]
# [0.1.0-develop.57](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.56...v0.1.0-develop.57) (2023-09-09)

### Bug Fixes

* if the registry entry hash type is not ed25519, return a new cid with the type set to raw ([5174463](517446310d))
2023-09-09 19:58:15 +00:00
Derrick Hammer e2e269483d
Merge remote-tracking branch 'origin/develop' into develop 2023-09-09 15:57:25 -04:00
Derrick Hammer 517446310d
fix: if the registry entry hash type is not ed25519, return a new cid with the type set to raw 2023-09-09 15:56:00 -04:00
semantic-release-bot 54c2b3d63b chore(release): 0.1.0-develop.56 [skip ci]
# [0.1.0-develop.56](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.55...v0.1.0-develop.56) (2023-09-09)

### Bug Fixes

* don't prefix base58 since encoder already does it ([17151d2](17151d25d0))
2023-09-09 19:31:47 +00:00
Derrick Hammer bef8f1fd8c
Merge remote-tracking branch 'origin/develop' into develop 2023-09-09 15:31:03 -04:00
Derrick Hammer 17151d25d0
fix: don't prefix base58 since encoder already does it 2023-09-09 15:30:44 -04:00
semantic-release-bot 716c89227f chore(release): 0.1.0-develop.55 [skip ci]
# [0.1.0-develop.55](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.54...v0.1.0-develop.55) (2023-09-08)
2023-09-08 16:31:40 +00:00
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