Commit Graph

37 Commits

Author SHA1 Message Date
Derrick Hammer 663a67c7ba
feat: add register method for network registry 2023-07-19 12:58:08 -04:00
Derrick Hammer 391ad98113
refactor: upgrade to latest version of helia and libp2p, and restructure libp2p config 2023-07-09 11:29:05 -04:00
Derrick Hammer 774aab1a21
refactor: move to new sdks and build system 2023-07-06 01:14:10 -04:00
Derrick Hammer 2fd5b11582
*Update to use new multisocket proxy 2023-04-16 20:51:32 -04:00
Derrick Hammer 824881ed88
* Add support for chunked streaming in `index.ts` by setting up a next chunk promise and handling "next" and "abort" messages in the receive update callback. 2023-04-09 17:16:12 -04:00
Derrick Hammer 50271fad44
* Add '@lumeweb/libkernel-universal' as dependency and make socket.ts asynchronous using 'maybeGetAsyncProperty'. 2023-04-09 00:50:14 -04:00
Derrick Hammer 4dd54a4f8b
*Add ready method 2023-04-03 19:02:13 -04:00
Derrick Hammer 3ba792cd35
*attempt to return the normal CID before manually finding its base 2023-04-01 12:57:14 -04:00
Derrick Hammer 3955ff2c29
*Create getCID helper and have all api calls use it 2023-04-01 12:51:11 -04:00
Derrick Hammer bc10722539
*Check if we have peers when doing a IPNS lookup and if not, force reset the peer defer, then await on it 2023-03-31 11:37:04 -04:00
Derrick Hammer fd2d66d2c4
*add getActivePeers api method 2023-03-30 21:06:04 -04:00
Derrick Hammer cad93cbb21
*Wait until we have an active peer to try and do an IPNS lookup. 2023-03-30 21:05:45 -04:00
Derrick Hammer b9b8040b50
*switch to p-defer 2023-03-30 20:57:08 -04:00
Derrick Hammer fe6dac6e4a
*Add Cloudflare, Estuary, Pinata, Eternum, 8api.sh, and Storj community nodes to the bootstrap list 2023-03-30 20:18:21 -04:00
Derrick Hammer 9edc8269fa
*Pass CID as string, not object 2023-03-30 19:01:50 -04:00
Derrick Hammer 053e988ea8
*switch to indexeddb blockstore and datastore 2023-03-30 18:56:26 -04:00
Derrick Hammer f0e6c5aa02
*Need to trigger creation of ipfsReady promise 2023-03-30 18:55:36 -04:00
Derrick Hammer 74498c5691
*Add IPNS support
*Re-add in DHT
*Create ready helper function
2023-03-30 18:05:14 -04:00
Derrick Hammer 2ec2663ced
*Remove unneeded const 2023-03-17 05:37:27 -04:00
Derrick Hammer 4855c993fd
*Remove unneeded method 2023-03-17 05:37:11 -04:00
Derrick Hammer 8345026736
*Rewrite to use new IPFS proxy protocol over relay network 2023-03-17 05:36:02 -04:00
Derrick Hammer cd7f89b617
*Change to ternary and return null if there is a stream 2022-09-20 06:16:45 -04:00
Derrick Hammer 9ebee0eefd
*Add support for canceling the stream 2022-09-05 06:30:20 -04:00
Derrick Hammer c674e18229
*add queryTimeout 2022-08-31 18:34:20 -04:00
Derrick Hammer c894082b9d
*set methods to default to empty array 2022-08-31 18:26:18 -04:00
Derrick Hammer bcf4b0d998
*set relayTimeout to 30 seconds 2022-08-31 18:25:55 -04:00
Derrick Hammer 7834ed5e6d
*Need to pass methods to check in module.method format 2022-08-31 18:25:39 -04:00
Derrick Hammer e30f1797fb
*PingRPCResponse returns a string, not an object 2022-08-31 18:25:04 -04:00
Derrick Hammer d7a17ca163
*Use updated rpc client/protocol 2022-08-31 15:19:35 -04:00
Derrick Hammer 5d0f30c49d
*force is now bypassCache 2022-08-21 21:45:22 -04:00
Derrick Hammer 524372c49b
*Remove timer
*Remove check for error on response?.data
*Refactor stream logic to not stream the done message
2022-08-21 21:45:06 -04:00
Derrick Hammer afdeca0bca
*Update types
*Remove timer
2022-08-21 21:43:21 -04:00
Derrick Hammer 564306bed2
*If we have no active gateways, try to refresh the list first 2022-08-14 06:19:13 -04:00
Derrick Hammer b70c77eeda
*Remove use of aq 2022-08-13 05:41:36 -04:00
Derrick Hammer 6aca65b3e1
*Add missing resolve call 2022-08-10 17:51:41 -04:00
Derrick Hammer 3ca8fd9711
*remove error 2022-08-06 01:13:15 -04:00
Derrick Hammer 909e8be59e
*Initial version 2022-08-05 09:25:55 -04:00