@ctrl/deluge 7.3.0 → 7.4.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/dist/src/deluge.js +0 -1
- package/package.json +11 -11
package/dist/src/deluge.js
CHANGED
@@ -98,7 +98,6 @@ export class Deluge {
|
|
98
98
|
async checkSession() {
|
99
99
|
// cookie is missing or expires in x seconds
|
100
100
|
if (this.state.auth.cookie) {
|
101
|
-
// eslint-disable-next-line new-cap
|
102
101
|
if (this.state.auth.cookie.TTL() < 5000) {
|
103
102
|
this.resetSession();
|
104
103
|
return false;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ctrl/deluge",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.4.0",
|
4
4
|
"description": "TypeScript api wrapper for deluge using ofetch",
|
5
5
|
"author": "Scott Cooper <scttcper@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -28,26 +28,26 @@
|
|
28
28
|
"test:ci": "vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml"
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
|
-
"@ctrl/magnet-link": "^4.0
|
32
|
-
"@ctrl/shared-torrent": "^6.
|
31
|
+
"@ctrl/magnet-link": "^4.2.0",
|
32
|
+
"@ctrl/shared-torrent": "^6.5.0",
|
33
33
|
"node-fetch-native": "^1.6.7",
|
34
34
|
"ofetch": "^1.4.1",
|
35
35
|
"tough-cookie": "^6.0.0",
|
36
|
-
"type-fest": "^
|
36
|
+
"type-fest": "^5.0.1",
|
37
37
|
"ufo": "^1.6.1",
|
38
38
|
"uint8array-extras": "^1.5.0"
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
|
-
"@ctrl/oxlint-config": "1.2.
|
41
|
+
"@ctrl/oxlint-config": "1.2.6",
|
42
42
|
"@sindresorhus/tsconfig": "8.0.1",
|
43
43
|
"@trivago/prettier-plugin-sort-imports": "5.2.2",
|
44
|
-
"@types/node": "24.
|
44
|
+
"@types/node": "24.6.1",
|
45
45
|
"@vitest/coverage-v8": "3.2.4",
|
46
|
-
"oxlint": "1.
|
47
|
-
"p-wait-for": "
|
46
|
+
"oxlint": "1.19.0",
|
47
|
+
"p-wait-for": "6.0.0",
|
48
48
|
"prettier": "3.6.2",
|
49
|
-
"typedoc": "0.28.
|
50
|
-
"typescript": "5.9.
|
49
|
+
"typedoc": "0.28.13",
|
50
|
+
"typescript": "5.9.3",
|
51
51
|
"vitest": "3.2.4"
|
52
52
|
},
|
53
53
|
"publishConfig": {
|
@@ -62,7 +62,7 @@
|
|
62
62
|
"engines": {
|
63
63
|
"node": ">=18"
|
64
64
|
},
|
65
|
-
"packageManager": "pnpm@10.
|
65
|
+
"packageManager": "pnpm@10.17.1",
|
66
66
|
"prettier": {
|
67
67
|
"singleQuote": true,
|
68
68
|
"trailingComma": "all",
|