*update hash

This commit is contained in:
Derrick Hammer 2023-04-16 20:55:34 -04:00
parent ea92a2541d
commit 9bcf4a14b6
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 8 additions and 1 deletions

View File

@ -60,6 +60,13 @@ export class IPFSClient extends Client {
[Symbol.asyncIterator]() {
return {
async next(): Promise<IteratorResult<Uint8Array>> {
if (done) {
return {
value: undefined,
done,
};
}
const chunk = await pipe.promise;
update("next");
@ -80,5 +87,5 @@ export class IPFSClient extends Client {
export const createClient = factory<IPFSClient>(
IPFSClient,
"AABQIM9nyK61LFfr5jUAivD6JYRvQsC5XSNE71XXHfn-sg"
"AAD_sKxIPbN-n7sNpYycq0M6wyix_UMIhqFiUPILfKiuqA"
);