Commit Graph

232 Commits

Author SHA1 Message Date
Derrick Hammer 1c63497d2e
fix: convert paths to an object 2023-11-17 09:54:07 -05: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
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