Derrick Hammer
|
ab1ad68fcb
|
fix: need to use CID.decode
|
2023-09-08 13:22:58 -04:00 |
Derrick Hammer
|
ce62654b85
|
refactor: move to use KeyPairEd25519 and createKeyPair
|
2023-09-08 08:25:49 -04:00 |
Derrick Hammer
|
9bc7fda440
|
fix: remove export
|
2023-09-08 07:06:11 -04:00 |
Derrick Hammer
|
841e453a8c
|
fix: use toRegistryEntry of CID
|
2023-09-08 06:59:05 -04:00 |
Derrick Hammer
|
e30747945c
|
refactor: remove function version of cid api
|
2023-09-08 06:58:44 -04:00 |
Derrick Hammer
|
2894e63aa4
|
feat: implement appdb, known as hidden db in s5
|
2023-09-08 06:33:00 -04:00 |
Derrick Hammer
|
aef5a40a43
|
refactor: remove exports
|
2023-09-08 05:43:00 -04:00 |
Derrick Hammer
|
40eedf2817
|
refactor: remove encoding functions
|
2023-09-08 05:42:50 -04:00 |
Derrick Hammer
|
282c431021
|
feat: add deriveBlakeChildKeyInt
|
2023-09-08 05:38:22 -04:00 |
Derrick Hammer
|
6ef11e9a27
|
refactor: move away from the tuple pattern
|
2023-09-08 05:37:09 -04:00 |
Derrick Hammer
|
3f1dc5304c
|
refactor: move errTracker to libkernel
|
2023-09-07 19:39:35 -04:00 |
Derrick Hammer
|
db50583dc2
|
refactor: remove err
|
2023-09-07 19:39:14 -04:00 |
Derrick Hammer
|
2c6b8438e1
|
fix: move NO_PORTALS_ERROR to types and re-import
|
2023-09-07 19:38:56 -04:00 |
Derrick Hammer
|
623bbf3235
|
refactor: remove exports
|
2023-09-07 19:33:52 -04:00 |
Derrick Hammer
|
84a34496cd
|
refactor: move types to libkernel
|
2023-09-07 19:33:07 -04:00 |
Derrick Hammer
|
aca55ba230
|
refactor: move to libkernel
|
2023-09-07 19:31:03 -04:00 |
Derrick Hammer
|
d83d4892cc
|
refactor: custom json stringify not needed
|
2023-09-07 19:30:51 -04:00 |
Derrick Hammer
|
885aaadd4f
|
refactor: custom json parse not needed
|
2023-09-07 19:30:34 -04:00 |
Derrick Hammer
|
a8f2eb666b
|
refactor: move away from the tuple pattern
|
2023-09-07 19:29:49 -04:00 |
Derrick Hammer
|
2300b07419
|
refactor: move away from the tuple pattern
|
2023-09-07 19:15:33 -04:00 |
Derrick Hammer
|
108ab86fcc
|
fix: use hashType not type
|
2023-09-04 03:51:39 -04:00 |
Derrick Hammer
|
705590c7c5
|
fix: pass along cid.type, dont force CID_TYPES.RESOLVER
|
2023-09-04 03:30:19 -04:00 |
Derrick Hammer
|
880a70f153
|
fix: encodeRegistryValue needs to use type and hashType
|
2023-09-04 03:16:33 -04:00 |
Derrick Hammer
|
2c56658a6c
|
fix: if has is a CID, override arguments with the CID properties unless we have an argument set already
|
2023-09-03 21:29:51 -04:00 |
Derrick Hammer
|
34e418b47e
|
fix: return ret not cid
|
2023-09-03 21:11:21 -04:00 |
Derrick Hammer
|
8451974d6e
|
refactor: if we have a Uint8Array and matching hash type, strip it
|
2023-09-03 20:39:56 -04:00 |
Derrick Hammer
|
07a451ce5e
|
fix: if we have a Uint8Array but invalid CID_HASH_TYPES, return error
|
2023-09-03 20:36:13 -04:00 |
Derrick Hammer
|
7ce52cbff7
|
feat: add encodeRegistryCid, encodeRegistryValue, decodeRegistryValue, decodeRegistryCid
|
2023-09-03 20:21:35 -04:00 |
Derrick Hammer
|
7dc8067e95
|
fix: update encodeCid overloads and return types
|
2023-09-03 16:13:03 -04:00 |
Derrick Hammer
|
22ccc91566
|
refactor: update encodeCid and decodeCid to use ErrTuple with a CID type
|
2023-09-02 07:49:24 -04:00 |
Derrick Hammer
|
b2007a6c81
|
refactor: update ErrTuple to have a generic type that defaults to any
|
2023-09-02 07:45:27 -04:00 |
Derrick Hammer
|
bb0c8de24e
|
refactor: update encodeCid to match the portal encodeCid
|
2023-09-02 06:38:47 -04:00 |
Derrick Hammer
|
7fefaf0818
|
feat: change deriveChildKey to hkdf sha256 and create deriveBlakeChildKey that hashes based on the initial blake3 route used by s5
|
2023-08-20 02:35:17 -04:00 |
Derrick Hammer
|
a1b67e71cd
|
feat: add loginActivePortals function
|
2023-08-15 04:30:09 -04:00 |
Derrick Hammer
|
747aeb7d2e
|
feat: add new downloadSmallObject function that only hashes the data and compares it and does not verify it in real time
|
2023-08-10 02:47:57 -04:00 |
Derrick Hammer
|
0ab6cf0ff0
|
fix: handle localStorage being undefined
|
2023-08-10 02:11:50 -04:00 |
Derrick Hammer
|
7f9990c2ea
|
fix: change to export type
|
2023-07-21 09:20:57 -04:00 |
Derrick Hammer
|
4fe84e8ab4
|
feat: add support for loading and saving portal lists
|
2023-07-18 16:38:53 -04:00 |
Derrick Hammer
|
1e22782223
|
refactor: change portals to portal_sessions
|
2023-07-18 16:12:30 -04:00 |
Derrick Hammer
|
0fead1c786
|
fix: export bufToHex
|
2023-07-01 23:09:23 -04:00 |
Derrick Hammer
|
79273d263b
|
fix: switch to using globalThis, and check if we have localStorage (if not, might be node)
|
2023-06-26 02:07:03 -04:00 |
Derrick Hammer
|
42d52444c8
|
refactor: alias bufToHex to bytesToHex
|
2023-06-26 00:42:29 -04:00 |
Derrick Hammer
|
a813ee35f3
|
feat: re-export most of noble utility functions
|
2023-06-26 00:39:25 -04:00 |
Derrick Hammer
|
7126203cd3
|
feat: add initial upload method
|
2023-06-26 00:26:49 -04:00 |
Derrick Hammer
|
ac822fb939
|
fix: switch to using @lumeweb/community-portals
|
2023-06-24 13:35:26 -04:00 |
Derrick Hammer
|
530b159c96
|
fix: don't skip portal if we fail to register
|
2023-06-24 02:29:33 -04:00 |
Derrick Hammer
|
89d24393e5
|
fix: refactor initPortal to return the instance
|
2023-06-23 19:30:48 -04:00 |
Derrick Hammer
|
5db121774e
|
fix: need to use length, not size
|
2023-06-23 19:16:18 -04:00 |
Derrick Hammer
|
d8e2046ebd
|
fix: make getActivePortals return an array, not a set
|
2023-06-23 19:14:29 -04:00 |
Derrick Hammer
|
8b7f7082e3
|
fix: add portal to exports
|
2023-06-23 19:01:55 -04:00 |