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 |
Derrick Hammer
|
ca43e88300
|
fix: improve portal api
|
2023-06-23 18:48:43 -04:00 |
Derrick Hammer
|
7dd6f9f0b0
|
fix: ensure we are using the export for @noble/hashes utils
|
2023-06-23 08:55:20 -04:00 |
Derrick Hammer
|
a27bb31336
|
fix: add download to exports
|
2023-06-23 03:41:19 -04:00 |
Derrick Hammer
|
e2bcb8cf3d
|
Revert "fix: add download to exports"
This reverts commit 4f2ec806e1 .
|
2023-06-23 03:41:01 -04:00 |
Derrick Hammer
|
4f2ec806e1
|
fix: add download to exports
|
2023-06-23 03:36:55 -04:00 |
Derrick Hammer
|
7c07211356
|
feat: implement initial download method
|
2023-06-23 03:29:14 -04:00 |
Derrick Hammer
|
d340447aba
|
feat: add portal management apis
|
2023-06-23 03:28:39 -04:00 |
Derrick Hammer
|
d7cdaaf316
|
feat: add deriveChildKey function
|
2023-06-21 04:32:31 -04:00 |
Derrick Hammer
|
ce5a90a1a0
|
feat: initial version
|
2023-06-20 23:54:11 -04:00 |