Derrick Hammer
|
3065a13f75
|
feat: add DIRECTORY to CID_TYPES
|
2024-03-21 12:52:52 -04:00 |
Derrick Hammer
|
7c9fc160c7
|
refactor: remove hash imports
|
2024-03-18 18:01:50 -04:00 |
Derrick Hammer
|
4830de48b4
|
fix: strip out the multibase prefix on encode, add it back if its not there on decode
|
2024-03-18 17:54:20 -04:00 |
Derrick Hammer
|
64d95353aa
|
fix: don't force override cid type
|
2023-12-28 03:55:54 -05:00 |
Derrick Hammer
|
8e786ec164
|
feat: add fromSignedRegistryEntry
|
2023-12-11 22:58:38 -05:00 |
Derrick Hammer
|
393c69f10b
|
refactor: cleanup import
|
2023-12-11 19:43:04 -05:00 |
Derrick Hammer
|
e8f2e23065
|
refactor: export webapp classes/func
|
2023-12-11 19:42:49 -05:00 |
Derrick Hammer
|
23b7b189b2
|
refactor: export cid
|
2023-12-10 21:57:36 -05:00 |
Derrick Hammer
|
0863f450b7
|
refactor: export packer and unpacker
|
2023-12-10 20:46:54 -05:00 |
Derrick Hammer
|
01d29f0b59
|
fix: replace u with U in decodeString, and strip U in toBase64Url
|
2023-11-18 08:20:13 -05:00 |
Derrick Hammer
|
0f4b978940
|
fix: more base64urlpad fixes
|
2023-11-18 08:14:47 -05:00 |
Derrick Hammer
|
e760149699
|
fix: base64urlpad requires a "U" prefix
|
2023-11-18 08:02:11 -05:00 |
Derrick Hammer
|
19426b7fdb
|
fix: use base64urlpad
|
2023-11-18 07:55:10 -05:00 |
Derrick Hammer
|
b3174cacf7
|
fix: don't strip u
|
2023-11-18 07:45:18 -05:00 |
Derrick Hammer
|
518bbcdd94
|
fix: ensure axios returns binary data
|
2023-11-18 07:03:29 -05:00 |
Derrick Hammer
|
9c5d417857
|
fix: value is a map
|
2023-11-18 06:52:07 -05:00 |
Derrick Hammer
|
c1f471e921
|
fix: need to use Object.entries
|
2023-11-18 06:44:13 -05:00 |
Derrick Hammer
|
cac24c9caa
|
fix: unpack int checks missing possible types
|
2023-11-18 06:32:08 -05:00 |
Derrick Hammer
|
3fa96aa05a
|
fix: update how maps are packed and add missing serialization for media, directory, and files
|
2023-11-18 05:59:59 -05:00 |
Derrick Hammer
|
a418410bd9
|
fix: storage locations are in cacheDb
|
2023-11-18 05:19:34 -05:00 |
Derrick Hammer
|
4848236882
|
fix: hashQueryRoutingTable is a map not object
|
2023-11-18 04:54:41 -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 |
Derrick Hammer
|
88f748c817
|
fix: hashQueryRoutingTable is on the p2p service
|
2023-11-18 04:12:18 -05:00 |
Derrick Hammer
|
b578a32a44
|
fix: wrap db.get in a try/catch
|
2023-11-18 04:00:00 -05:00 |
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
|
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 |
Derrick Hammer
|
155e0b4c0c
|
fix: bad base32 encoding, multiformats handles the prefix
|
2023-09-19 19:31:11 -04:00 |
Derrick Hammer
|
e25087890f
|
feat: add fromRegistryPublicKey helper
|
2023-09-11 13:21:39 -04:00 |
Derrick Hammer
|
e03eb41e96
|
fix: signRegistryEntry accidentally recursive
|
2023-09-11 13:15:18 -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 |
Derrick Hammer
|
17151d25d0
|
fix: don't prefix base58 since encoder already does it
|
2023-09-09 15:30:44 -04:00 |
Derrick Hammer
|
0ad6d611a6
|
refactor: update valid method to be verify, and handle string input
|
2023-09-08 12:30:50 -04:00 |
Derrick Hammer
|
565bed46d5
|
feat: add valid to CID
|
2023-09-08 10:01:29 -04:00 |
Derrick Hammer
|
bf521425b3
|
feat: add fromRegistry to CID
|
2023-09-08 09:22:01 -04:00 |
Derrick Hammer
|
0c060fde55
|
fix: export KeyPairEd25519 as a type
|
2023-09-08 07:53:37 -04:00 |
Derrick Hammer
|
b74fa99783
|
feat: add more s5 constants
|
2023-09-08 06:11:03 -04:00 |
Derrick Hammer
|
4a157d9eca
|
feat: add CID.fromHash
|
2023-09-07 18:51:40 -04:00 |
Derrick Hammer
|
cc5cbdb860
|
feat: add CID class
|
2023-09-07 18:40:27 -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 |
Derrick Hammer
|
8b87a61925
|
fix: export util functions
|
2023-09-04 09:26:03 -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 |