@remote-app/transmission-client 0.0.11 → 0.0.13

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.
package/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # @remote-app/transmission-client
2
+
3
+ A lightweight Transmission RPC client.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ $ npm install @remote-app/transmission-client
9
+ ```
10
+
11
+ ## Supported methods
12
+
13
+ ### Torrent methods
14
+ - Torrent actions
15
+ - [x] torrent-start
16
+ - [x] torrent-start-now
17
+ - [x] torrent-stop
18
+ - [x] torrent-verify
19
+ - [x] torrent-reannounce
20
+ - Torrent mutator
21
+ - [x] torrent-set
22
+ - Torrent accessor
23
+ - [x] torrent-get
24
+ - Torrent addition
25
+ - [x] torrent-add
26
+ - Torrent removal
27
+ - [x] torrent-remove
28
+ - Move torrent
29
+ - [x] torrent-set-location
30
+ - Renaming torrent
31
+ - [ ] torrent-rename-path
32
+
33
+ ### Session methods
34
+ - Session accessor
35
+ - [x] session-get
36
+ - Session mutator
37
+ - [x] session-set
38
+ - Session statistics
39
+ - [x] session-stats
40
+ - Session shutdown
41
+ - [ ] session-close
42
+
43
+ ### Blocklist
44
+ - Mutator
45
+ - [ ] blocklist-update
46
+
47
+ ### Port
48
+ - Check
49
+ - [ ] port-test
50
+
51
+ ### Space
52
+ - Check
53
+ - [x] free-space
54
+
55
+ ### Groups
56
+ - Group accessor
57
+ - [ ] group-get
58
+ - Group mutator
59
+ - [ ] group-set
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export type { SessionGetResponse, SessionSetRequest, SessionStatsResponse, FreeSpaceRequest, FreeSpaceResponse, TorrentStartRequest, TorrentStartNowRequest, TorrentStopRequest, TorrentVerifyRequest, TorrentReannounceRequest, TorrentSetRequest, TorrentGetRequest, TorrentGetResponse, TorrentAddRequest, TorrentAddResponse, TorrentRemoveRequest, TorrentSetLocationRequest, } from "./rpc-calls";
2
2
  export { TorrentStatus } from "./rpc-calls/torrent-get";
3
+ export type { Torrent } from "./rpc-calls/torrent-get";
3
4
  export type { Methods } from "./rpc-call";
4
5
  export { HTTPError, TransmissionError } from "./error";
5
6
  export { TransmissionClient as default } from "./client";
@@ -85,7 +85,7 @@ export declare enum TorrentStatus {
85
85
  QUEUED_TO_SEED = 5,
86
86
  SEEDING = 6
87
87
  }
88
- declare type Torrent = {
88
+ export declare type Torrent = {
89
89
  activityDate: number;
90
90
  addedDate: number;
91
91
  bandwidthPriority: number;
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@remote-app/transmission-client",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "Transmission RPC client",
5
+ "keywords": ["transmission", "rpc", "client"],
5
6
  "license": "MIT",
6
7
  "repository": {
7
8
  "type": "git",
8
- "url": "https://github.com/jgalat/remote-app",
9
+ "url": "git+https://github.com/jgalat/remote-app.git",
9
10
  "directory": "packages/transmission-client"
10
11
  },
11
12
  "main": "dist/index.js",