Commit Graph

67 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
semantic-release-bot 07459357fc chore(release): 0.1.0-develop.32 [skip ci]
# [0.1.0-develop.32](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.31...v0.1.0-develop.32) (2023-09-02)
2023-09-02 00:56:09 +00:00
semantic-release-bot 31465e3a63 chore(release): 0.1.0-develop.31 [skip ci]
# [0.1.0-develop.31](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.30...v0.1.0-develop.31) (2023-09-02)

### Bug Fixes

* fix iteration of peers ([fabda02](fabda024ad))
2023-09-02 00:47:29 +00:00
semantic-release-bot 58600e7163 chore(release): 0.1.0-develop.30 [skip ci]
# [0.1.0-develop.30](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.29...v0.1.0-develop.30) (2023-09-02)

### Bug Fixes

* correct argument order on ed25519.verify ([daf357c](daf357cd63))
2023-09-02 00:42:33 +00:00
semantic-release-bot 283b16b3ee chore(release): 0.1.0-develop.29 [skip ci]
# [0.1.0-develop.29](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.28...v0.1.0-develop.29) (2023-09-02)

### Bug Fixes

* add try/catch on db.get ([1a32416](1a3241688c))
2023-09-02 00:29:09 +00:00
semantic-release-bot befa286bb3 chore(release): 0.1.0-develop.28 [skip ci]
# [0.1.0-develop.28](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.27...v0.1.0-develop.28) (2023-09-02)

### Bug Fixes

* set node registry service in service constructor ([d9af5bd](d9af5bd015))
2023-09-02 00:21:25 +00:00
semantic-release-bot 29a12e7baf chore(release): 0.1.0-develop.27 [skip ci]
# [0.1.0-develop.27](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.26...v0.1.0-develop.27) (2023-09-01)

### Features

* add eventemitter support on p2p service and have the handshakedone message emit peerConnected ([b34b7a3](b34b7a3a01))
2023-09-01 23:50:39 +00:00
semantic-release-bot 77fea7bab7 chore(release): 0.1.0-develop.26 [skip ci]
# [0.1.0-develop.26](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.25...v0.1.0-develop.26) (2023-09-01)

### Features

* add BOOTSTRAP_NODES constant ([2061f63](2061f6330d))
2023-09-01 23:23:03 +00:00
semantic-release-bot 3de242d824 chore(release): 0.1.0-develop.25 [skip ci]
# [0.1.0-develop.25](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.24...v0.1.0-develop.25) (2023-09-01)

### Bug Fixes

* fix import ([ca1a3dd](ca1a3dd5e7))
2023-09-01 13:25:48 +00:00
semantic-release-bot 58240f032e chore(release): 0.1.0-develop.24 [skip ci]
# [0.1.0-develop.24](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.23...v0.1.0-develop.24) (2023-09-01)
2023-09-01 12:25:50 +00:00
semantic-release-bot 8623669898 chore(release): 0.1.0-develop.23 [skip ci]
# [0.1.0-develop.23](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.22...v0.1.0-develop.23) (2023-09-01)
2023-09-01 12:15:59 +00:00
semantic-release-bot 8e1dee22b4 chore(release): 0.1.0-develop.22 [skip ci]
# [0.1.0-develop.22](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.21...v0.1.0-develop.22) (2023-09-01)

### Features

* port listen method ([a75c57b](a75c57b1e8))
2023-09-01 12:03:19 +00:00
semantic-release-bot 6036265794 chore(release): 0.1.0-develop.21 [skip ci]
# [0.1.0-develop.21](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.20...v0.1.0-develop.21) (2023-09-01)

### Bug Fixes

* await not needed ([9645105](9645105ec3))
2023-09-01 11:57:07 +00:00
semantic-release-bot 22d5c8be10 chore(release): 0.1.0-develop.20 [skip ci]
# [0.1.0-develop.20](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.19...v0.1.0-develop.20) (2023-09-01)
2023-09-01 11:52:39 +00:00
semantic-release-bot cce0afe694 chore(release): 0.1.0-develop.19 [skip ci]
# [0.1.0-develop.19](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.18...v0.1.0-develop.19) (2023-09-01)
2023-09-01 11:34:24 +00:00
semantic-release-bot 97358b0419 chore(release): 0.1.0-develop.18 [skip ci]
# [0.1.0-develop.18](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.17...v0.1.0-develop.18) (2023-09-01)

### Bug Fixes

* export S5Node type ([1c1ec97](1c1ec9703a))
2023-09-01 11:29:15 +00:00
semantic-release-bot 69ad85c715 chore(release): 0.1.0-develop.17 [skip ci]
# [0.1.0-develop.17](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.16...v0.1.0-develop.17) (2023-09-01)

### Bug Fixes

* browser returns a Blob, so convert to a buffer if we have a blob ([80dd92d](80dd92ddb1))
* missing uri argument for node WS ([8b7ffa8](8b7ffa8821))
2023-09-01 10:40:31 +00:00
semantic-release-bot eeb8a816a0 chore(release): 0.1.0-develop.16 [skip ci]
# [0.1.0-develop.16](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.15...v0.1.0-develop.16) (2023-09-01)

### Bug Fixes

* add support for browser WS by checking if we are in node ([0a15337](0a153379c8))
2023-09-01 10:21:10 +00:00
semantic-release-bot ba82769d03 chore(release): 0.1.0-develop.15 [skip ci]
# [0.1.0-develop.15](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.14...v0.1.0-develop.15) (2023-09-01)
2023-09-01 07:19:36 +00:00
semantic-release-bot c2bf1e70e2 chore(release): 0.1.0-develop.14 [skip ci]
# [0.1.0-develop.14](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.13...v0.1.0-develop.14) (2023-08-31)

### Bug Fixes

* make uris optional ([a4c5dd5](a4c5dd5b5b))
2023-08-31 22:49:49 +00:00