Commit Graph

245 Commits

Author SHA1 Message Date
Derrick Hammer 4848236882
fix: hashQueryRoutingTable is a map not object 2023-11-18 04:54:41 -05:00
Derrick Hammer 479e6b8bd5
Merge remote-tracking branch 'origin/develop' into develop 2023-11-18 04:49:15 -05:00
Derrick Hammer 5391666388
feat: add hashQuery protocol method 2023-11-18 04:49:08 -05:00
Derrick Hammer 8091e7ab36
refactor: move hashQueryRoutingTable to S5Node 2023-11-18 04:48:39 -05:00
semantic-release-bot 811d11ed3e chore(release): 0.1.0-develop.64 [skip ci]
# [0.1.0-develop.64](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.63...v0.1.0-develop.64) (2023-11-18)

### Bug Fixes

* hashQueryRoutingTable is on the p2p service ([88f748c](88f748c817))
2023-11-18 09:13:07 +00:00
Derrick Hammer d07351a928
Merge remote-tracking branch 'origin/develop' into develop 2023-11-18 04:12:28 -05:00
Derrick Hammer 88f748c817
fix: hashQueryRoutingTable is on the p2p service 2023-11-18 04:12:18 -05:00
semantic-release-bot adf01350dd chore(release): 0.1.0-develop.63 [skip ci]
# [0.1.0-develop.63](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.62...v0.1.0-develop.63) (2023-11-18)

### Bug Fixes

* wrap db.get in a try/catch ([b578a32](b578a32a44))
2023-11-18 09:00:45 +00:00
Derrick Hammer 0dbe18c75b
Merge remote-tracking branch 'origin/develop' into develop 2023-11-18 04:00:04 -05:00
Derrick Hammer b578a32a44
fix: wrap db.get in a try/catch 2023-11-18 04:00:00 -05:00
semantic-release-bot 5478a6830a chore(release): 0.1.0-develop.62 [skip ci]
# [0.1.0-develop.62](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.61...v0.1.0-develop.62) (2023-11-17)

### Bug Fixes

* convert paths to an object ([1c63497](1c63497d2e))
2023-11-17 14:55:00 +00:00
Derrick Hammer 0a66d78298
Merge remote-tracking branch 'origin/develop' into develop 2023-11-17 09:54:11 -05:00
Derrick Hammer 1c63497d2e
fix: convert paths to an object 2023-11-17 09:54:07 -05:00
semantic-release-bot c27011cacf chore(release): 0.1.0-develop.61 [skip ci]
# [0.1.0-develop.61](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.60...v0.1.0-develop.61) (2023-11-17)

### Bug Fixes

* bad import ([23b8c01](23b8c01d1c))
* export StorageLocationProvider ([828741f](828741f569))
* need to store NodeId not the string form of it ([3ad41c7](3ad41c75c1))

### Features

* add encrypted_cid.ts ([6ff8a84](6ff8a84ed8))
* add getCachedStorageLocations method ([86522e1](86522e1ffe))
* add getMetadataByCID and downloadBytesByHash ([ec81583](ec815833ef))
* add metadata structures and ser/der functions ([4693117](4693117c76))
* add StorageLocationProvider ([6d19fdb](6d19fdb66e))
2023-11-17 13:32:36 +00:00
Derrick Hammer 23b8c01d1c
fix: bad import 2023-11-17 08:31:56 -05:00
Derrick Hammer 51a6747f42
Merge remote-tracking branch 'origin/develop' into develop 2023-11-17 08:13:40 -05:00
Derrick Hammer ef7c27dd4f
dep: add axios 2023-11-17 08:05:40 -05:00
Derrick Hammer ec815833ef
feat: add getMetadataByCID and downloadBytesByHash 2023-11-17 08:05:31 -05:00
Derrick Hammer 4693117c76
feat: add metadata structures and ser/der functions 2023-11-17 08:05:00 -05:00
Derrick Hammer 892dd6ccd4
refactor: update constants.ts 2023-11-17 08:04:19 -05:00
Derrick Hammer 6ff8a84ed8
feat: add encrypted_cid.ts 2023-11-17 08:04:01 -05:00
Derrick Hammer 828741f569
fix: export StorageLocationProvider 2023-11-17 05:03:18 -05:00
Derrick Hammer 6d19fdb66e
feat: add StorageLocationProvider 2023-11-17 04:57:15 -05:00
Derrick Hammer 86522e1ffe
feat: add getCachedStorageLocations method 2023-11-17 04:56:57 -05:00
Derrick Hammer 3ad41c75c1
fix: need to store NodeId not the string form of it 2023-11-17 04:56:19 -05:00
semantic-release-bot d7100dc449 chore(release): 0.1.0-develop.60 [skip ci]
# [0.1.0-develop.60](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.59...v0.1.0-develop.60) (2023-09-19)

### Bug Fixes

* bad base32 encoding, multiformats handles the prefix ([155e0b4](155e0b4c0c))
2023-09-19 23:31:59 +00:00
Derrick Hammer 2c39f9fd76
Merge remote-tracking branch 'origin/develop' into develop 2023-09-19 19:31:17 -04:00
Derrick Hammer 155e0b4c0c
fix: bad base32 encoding, multiformats handles the prefix 2023-09-19 19:31:11 -04:00
semantic-release-bot 4fe84d68fb chore(release): 0.1.0-develop.59 [skip ci]
# [0.1.0-develop.59](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.58...v0.1.0-develop.59) (2023-09-11)

### Features

* add fromRegistryPublicKey helper ([e250878](e25087890f))
2023-09-11 17:22:27 +00: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