@ctrl/shared-torrent 4.1.1 → 4.2.0

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 CHANGED
@@ -6,4 +6,4 @@
6
6
  - deluge - [@ctrl/deluge](https://github.com/scttcper/deluge)
7
7
  - transmission - [@ctrl/transmission](https://github.com/scttcper/transmission)
8
8
  - qbittorrent - [@ctrl/qbittorrent](https://github.com/scttcper/qbittorrent)
9
- - utorrent - [@ctrl/qbittorrent](https://github.com/scttcper/utorrent)
9
+ - utorrent - [@ctrl/utorrent](https://github.com/scttcper/utorrent)
package/dist/index.d.ts CHANGED
@@ -40,6 +40,7 @@ export declare enum TorrentState {
40
40
  paused = "paused",
41
41
  queued = "queued",
42
42
  checking = "checking",
43
+ warning = "warning",
43
44
  error = "error",
44
45
  unknown = "unknown"
45
46
  }
@@ -71,7 +72,7 @@ export interface NormalizedTorrent {
71
72
  */
72
73
  dateAdded: string;
73
74
  /**
74
- * date completd as iso string;
75
+ * date completed as iso string;
75
76
  */
76
77
  dateCompleted?: string;
77
78
  savePath: string;
package/dist/index.js CHANGED
@@ -5,6 +5,7 @@ export var TorrentState;
5
5
  TorrentState["paused"] = "paused";
6
6
  TorrentState["queued"] = "queued";
7
7
  TorrentState["checking"] = "checking";
8
+ TorrentState["warning"] = "warning";
8
9
  TorrentState["error"] = "error";
9
10
  TorrentState["unknown"] = "unknown";
10
11
  })(TorrentState = TorrentState || (TorrentState = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctrl/shared-torrent",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "description": "shared types and interfaces between torrent clients",
5
5
  "author": "Scott Cooper <scttcper@gmail.com>",
6
6
  "license": "MIT",
@@ -20,13 +20,13 @@
20
20
  "build": "tsc"
21
21
  },
22
22
  "dependencies": {
23
- "got": "^12.1.0"
23
+ "got": "^12.3.1"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@sindresorhus/tsconfig": "3.0.1",
27
- "@ctrl/eslint-config": "3.4.4",
28
- "@types/node": "17.0.38",
29
- "typescript": "4.7.2"
27
+ "@ctrl/eslint-config": "3.4.9",
28
+ "@types/node": "18.7.14",
29
+ "typescript": "4.8.2"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"