diff --git a/package-lock.json b/package-lock.json index 8a59d9c..55080f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "torrust-index-types-lib", - "version": "0.1.4", + "version": "0.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "torrust-index-types-lib", - "version": "0.1.4", + "version": "0.3.0", "license": "MIT", "devDependencies": { "typescript": "^4.9.3" diff --git a/package.json b/package.json index 6986d05..1303634 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "torrust-index-types-lib", - "version": "0.2.0", + "version": "0.3.0", "description": "Contains common types for the Torrust project.", "repository": "https://github.com/torrust/torrust-index-types-lib", "license" : "SEE LICENSE IN COPYRIGHT", diff --git a/src/types/torrent.ts b/src/types/torrent.ts index 91869e8..e938586 100644 --- a/src/types/torrent.ts +++ b/src/types/torrent.ts @@ -16,6 +16,7 @@ export type TorrentResponse = { trackers: Array magnet_link: string tags: Array + name: string } export type TorrentListing = { @@ -29,6 +30,7 @@ export type TorrentListing = { file_size: number leechers: number seeders: number + name: string } export type TorrentFile = {