Derrick Hammer
|
8531f2abc9
|
refactor: change upload api to return a CID object
|
2023-09-07 19:48:17 -04:00 |
Derrick Hammer
|
7b7d770a22
|
refactor: switch to new CID class from libs5
|
2023-09-07 18:55:50 -04:00 |
Derrick Hammer
|
d2a20610ce
|
refactor: add optional raw parameter
|
2023-09-03 13:07:59 -04:00 |
Derrick Hammer
|
55e28b806c
|
refactor: add support for decodeCid to accept a Uint8Array
|
2023-09-03 12:55:09 -04:00 |
Derrick Hammer
|
bd108376ba
|
fix: check for only undefined or null on the size
|
2023-09-02 06:53:23 -04:00 |
Derrick Hammer
|
2eb5810dec
|
fix: fix encodeCid overload typings
|
2023-09-02 06:43:47 -04:00 |
Derrick Hammer
|
9bece08a19
|
refactor: update cid encoding/decoding to use libs5 CID_HASH_TYPES and CID_TYPES, and use a default type of raw and default hash type of blake3
|
2023-09-02 06:25:49 -04:00 |
Derrick Hammer
|
ae35797a25
|
fix: refactor how we process a nodejs stream, as the current approach is extremely slow and wasteful. We need to do a bit of macgyvering and convert it via pipe to a passthrough so it passes a typeof check for Stream, then import it to form-data Response, and request a blob
|
2023-08-09 06:11:18 -04:00 |
Derrick Hammer
|
0d0b2d4799
|
feat: add portalUrl getter
|
2023-07-18 16:19:14 -04:00 |
Derrick Hammer
|
d7d146b78d
|
fix: further wasm loading fixes
|
2023-07-18 11:07:58 -04:00 |
Derrick Hammer
|
ea9048868a
|
fix: async loading quirk in firefox js engine
|
2023-07-18 10:17:49 -04:00 |
Derrick Hammer
|
37fd7543af
|
fix: switch to using utf8ToBytes
|
2023-07-18 09:34:26 -04:00 |
Derrick Hammer
|
04bd9636a3
|
fix: add ?init query string for vite bundler
|
2023-07-08 04:29:37 -04:00 |
Derrick Hammer
|
848f3dff9d
|
fix: update uploadFile return type
|
2023-06-26 00:09:06 -04:00 |
Derrick Hammer
|
45fbc1b63d
|
fix: update uploadFile overload types
|
2023-06-25 23:39:22 -04:00 |
Derrick Hammer
|
051f4b2da7
|
fix: need to refactor verification stream logic further and check if the stream is done but wasm isn't
|
2023-06-24 04:28:08 -04:00 |
Derrick Hammer
|
50a7c80358
|
fix: rename exit to kill to fix symbol conflict
|
2023-06-24 04:27:08 -04:00 |
Derrick Hammer
|
23a55f772b
|
fix: exit not properly exported in wasm
|
2023-06-24 04:11:55 -04:00 |
Derrick Hammer
|
53dd352c95
|
fix: add properties and methods to go wasm middleware, accessed via reflection
|
2023-06-24 04:11:37 -04:00 |
Derrick Hammer
|
2aa53faf00
|
fix: add missing controller.enqueue
|
2023-06-24 04:10:51 -04:00 |
Derrick Hammer
|
68fec66069
|
fix: fix wasmDone logic error
|
2023-06-24 04:10:39 -04:00 |
Derrick Hammer
|
0c320f992b
|
fix: ensure root and proof are Uint8Array's
|
2023-06-24 04:10:09 -04:00 |
Derrick Hammer
|
0cbb09b247
|
fix: need to setup wasm state before calling getNextBytes
|
2023-06-24 03:34:53 -04:00 |
Derrick Hammer
|
cb4048b963
|
fix: check against MAGIC_BYTES
|
2023-06-24 03:33:57 -04:00 |
Derrick Hammer
|
a530a07f01
|
fix: wasm loading
|
2023-06-24 03:33:35 -04:00 |
Derrick Hammer
|
afd79e308f
|
fix. bad if statement
|
2023-06-24 02:59:21 -04:00 |
Derrick Hammer
|
6d5c27c972
|
refactor: have login route to pubkey login if it is configured. have loginPubkey return a LoginResponse
|
2023-06-24 02:47:57 -04:00 |
Derrick Hammer
|
8f78dd2c7b
|
fix: dynamically import fetch and Response if required
|
2023-06-24 01:30:53 -04:00 |
Derrick Hammer
|
adacdff1c3
|
fix: fix uploading in node due to issues around streams and blobs
|
2023-06-23 23:42:30 -04:00 |
Derrick Hammer
|
23c8244a68
|
fix: better handle wasm loading on node and browser
|
2023-06-23 23:41:27 -04:00 |
Derrick Hammer
|
a9e94ba896
|
fix: import needs to be relative, not hash
|
2023-06-23 20:43:51 -04:00 |
Derrick Hammer
|
0350feef64
|
fix: import needs to be relative, not hash
|
2023-06-23 08:58:59 -04:00 |
Derrick Hammer
|
4a90fb0f6e
|
fix: do conditional node checks and dynamic imports
|
2023-06-23 08:51:03 -04:00 |
Derrick Hammer
|
8afd780ac7
|
fix: need to import whole module as wildcard
|
2023-06-23 05:52:07 -04:00 |
Derrick Hammer
|
41b20b1465
|
feat: initial verified streaming support
|
2023-06-23 01:49:29 -04:00 |
Derrick Hammer
|
3784858600
|
feat: allow using existing jwt
|
2023-06-21 05:34:55 -04:00 |
Derrick Hammer
|
c42f218100
|
feat: initial version
|
2023-06-15 01:34:42 -04:00 |