Commit Graph

57 Commits

Author SHA1 Message Date
Derrick Hammer f8a0c55340
refactor: move to vite build system and update deps 2023-07-08 08:14:37 -04:00
Derrick Hammer 04438ee02c
ci: add repository to package.json 2023-07-06 01:20:14 -04:00
Derrick Hammer 15df3a86d3
ci: setup 2023-07-06 01:15:26 -04:00
Derrick Hammer 659428c812
ci: add npm-shrinkwrap.json 2023-07-06 01:14:56 -04:00
Derrick Hammer 774aab1a21
refactor: move to new sdks and build system 2023-07-06 01:14:10 -04:00
Derrick Hammer 499d2cfbf7
*Update tcp patch 2023-04-16 20:52:13 -04:00
Derrick Hammer acca3680ac
*Update deps 2023-04-16 20:51:58 -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 f69ff102cc
Revert "Revert "* Remove timers.js from build.js inject.""
This reverts commit 184eed8be8.
2023-04-09 02:38:32 -04:00
Derrick Hammer 184eed8be8
Revert "* Remove timers.js from build.js inject."
This reverts commit 17bb912927.
2023-04-09 00:51:16 -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 1dedb7b240
*patch b4a 2023-04-09 00:47:56 -04:00
Derrick Hammer 17bb912927
* Remove timers.js from build.js inject. 2023-04-08 23:35:03 -04:00
Derrick Hammer b6f1df264d
* use protomux kernel client 2023-04-08 23:24:35 -04:00
Derrick Hammer 76d9b69935
* Export TCP class and add exports for additional modules in package.json. 2023-04-08 23:24:08 -04:00
Derrick Hammer ffc62dc5be
*patch 6.1.5 not 5.0.2 2023-04-08 23:19:05 -04:00
Derrick Hammer 911c34076e
* Add new import paths for socket-to-conn and utils in package.json, and apply a patch to use "@libp2p__tcp@5.0.2" version in patchedDependencies. 2023-04-08 23:13:04 -04:00
Derrick Hammer df42526b21
*Remove unneeded deps 2023-04-06 14:10:27 -04:00
Derrick Hammer a18deea021
*update deps 2023-04-04 11:33:20 -04:00
Derrick Hammer 04bcc3f7eb
*update deps 2023-04-04 07:21:43 -04:00
Derrick Hammer cba2a126ae
*switch to iife 2023-04-04 06:30:49 -04:00
Derrick Hammer 6f5e0765d6
*add crypto-browserify 2023-04-04 06:30:35 -04:00
Derrick Hammer 6cc15997f8
*add webcrypto polyfill fork 2023-04-04 06:30:22 -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