Some generated files are not rendered by default. Learn more about how customized files appear on GitHub. 24 changes: 12 additions & 12 deletions 24 src/RealDebrid.ts Original file line numberDiff line numberDiff line change @@ -1,3 +1,13 @@ import { PersistedCache } from "@effect...
client.put("/torrents/addTorrent", { body: HttpBody.uint8Array(torrent), }), ), Effect.flatMap(decodeAddMagnetResponse), Effect.scoped, ) const getTorrentInfo = (id: string) => client.get(`/torrents/info/${id}`).pipe( Effect.flatMap(decodeTorrentInfo), @@ -226,7 +211,6 @@ exp...
Large diffs are not rendered by default. 4 changes: 2 additions & 2 deletions 4 src/Cinemeta.ts Original file line numberDiff line numberDiff line change @@ -149,7 +149,7 @@ export class Cinemeta extends Effect.Service<Cinemeta>()("Cinemeta", { export class Video extends S.Class...
const fromHashItorrents = (hash: string) => pipe( client.get(`https://itorrents.org/torrent/${hash}.torrent`), Effect.flatMap(r => r.arrayBuffer), Effect.scoped, Effect.map(buffer => new Uint8Array(buffer)), Effect.withSpan("Torrent.fromHashItorrents", { attributes: { hash } })...