@remote-app/transmission-client 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import type { Response as TorrentAddResponse } from "./torrent-get";
1
+ import type { Response as TorrentGetResponse } from "./torrent-get";
2
2
  declare type optionals = {
3
3
  cookies?: string;
4
4
  "download-dir"?: string;
@@ -17,6 +17,8 @@ export declare type Request = ({
17
17
  metainfo: string;
18
18
  }) & optionals;
19
19
  export declare type Response = {
20
- torrents: Pick<TorrentAddResponse["torrents"][number], "id" | "name" | "hashString">[];
20
+ "torrent-added": Pick<TorrentGetResponse["torrents"][number], "id" | "name" | "hashString">[];
21
+ } | {
22
+ "torrent-duplicate": Pick<TorrentGetResponse["torrents"][number], "id" | "name" | "hashString">[];
21
23
  };
22
24
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remote-app/transmission-client",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Transmission RPC client",
5
5
  "keywords": [
6
6
  "transmission",
@@ -27,6 +27,6 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/base-64": "^1.0.0",
30
- "typescript": "~4.3.5"
30
+ "typescript": "~5.1.3"
31
31
  }
32
32
  }