@ctrl/deluge 4.0.1 → 4.1.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.
@@ -572,7 +572,7 @@ export class Deluge {
572
572
  state,
573
573
  isCompleted,
574
574
  stateMessage: torrent.state,
575
- progress: torrent.progress,
575
+ progress: torrent.progress / 100,
576
576
  ratio: torrent.ratio,
577
577
  dateAdded,
578
578
  dateCompleted: undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctrl/deluge",
3
- "version": "4.0.1",
3
+ "version": "4.1.0",
4
4
  "description": "TypeScript api wrapper for deluge using got",
5
5
  "author": "Scott Cooper <scttcper@gmail.com>",
6
6
  "license": "MIT",
@@ -25,11 +25,11 @@
25
25
  "build:docs": "typedoc",
26
26
  "test": "vitest run",
27
27
  "test:watch": "vitest",
28
- "test:ci": "vitest run --coverage"
28
+ "test:ci": "vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml"
29
29
  },
30
30
  "dependencies": {
31
- "@ctrl/magnet-link": "^3.1.0",
32
- "@ctrl/shared-torrent": "^4.1.0",
31
+ "@ctrl/magnet-link": "^3.1.1",
32
+ "@ctrl/shared-torrent": "^4.1.1",
33
33
  "@ctrl/url-join": "^2.0.0",
34
34
  "formdata-node": "^4.3.2",
35
35
  "got": "^12.1.0",
@@ -38,13 +38,13 @@
38
38
  "devDependencies": {
39
39
  "@ctrl/eslint-config": "3.4.4",
40
40
  "@sindresorhus/tsconfig": "3.0.1",
41
- "@types/node": "17.0.38",
41
+ "@types/node": "17.0.40",
42
42
  "@types/tough-cookie": "4.0.2",
43
43
  "c8": "7.11.3",
44
44
  "p-wait-for": "4.1.0",
45
45
  "typedoc": "0.22.17",
46
- "typescript": "4.7.2",
47
- "vitest": "0.13.1"
46
+ "typescript": "4.7.3",
47
+ "vitest": "0.14.1"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"