torrent.fromHash(hash), Effect.flatMap(torrent => client.put("/torrents/addTorrent", { body: HttpBody.uint8Array(torrent), }), ), Effect.flatMap(decodeAddMagnetResponse), Effect.scoped, ) const getTorrentInfo = (id: string) => client.get(`/torrents/info/${id}`).pipe( Effect.flatMa...
"ioredis": "^5.4.1", "parse-torrent": "^11.0.17" } } 9 changes: 0 additions & 9 deletions 9 patches/webrtc-polyfill@1.1.8.patch Load diff This file was deleted. 496 changes: 331 additions & 165 deletions 496 pnpm-lock.yaml Load diff Large diffs are not rendered by defaul...
"tsup": "^8.3.5", "tsx": "^4.19.2", "typescript": "^5.7.2" }, "dependencies": { "ioredis": "^5.4.1", "parse-torrent": "^11.0.17" "ioredis": "^5.4.1" } } 6 changes: 3 additions & 3 deletions 6 pnpm-lock.yaml Load diff Some generated files are not rendered by...
return { getTorrent } as const }) export class WebTorrent extends Context.Tag("WebTorrent")< WebTorrent, Effect.Effect.Success<typeof make> >() { static Live = Layer.scoped(WebTorrent, make) } 1 change: 0 additions & 1 deletion 1 tsup.config.ts Original file line numberDiff line num...