@ctrl/transmission 7.0.0 → 7.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.
- package/dist/src/transmission.js +1 -3
- package/package.json +12 -12
package/dist/src/transmission.js
CHANGED
@@ -297,7 +297,6 @@ export class Transmission {
|
|
297
297
|
}),
|
298
298
|
headers,
|
299
299
|
retry: 0,
|
300
|
-
// allow proxy agent
|
301
300
|
timeout: this.config.timeout,
|
302
301
|
responseType: 'json',
|
303
302
|
parseResponse(body) {
|
@@ -308,8 +307,7 @@ export class Transmission {
|
|
308
307
|
return body;
|
309
308
|
}
|
310
309
|
},
|
311
|
-
|
312
|
-
agent: this.config.agent,
|
310
|
+
dispatcher: this.config.dispatcher,
|
313
311
|
});
|
314
312
|
return res;
|
315
313
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ctrl/transmission",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.1.0",
|
4
4
|
"description": "TypeScript api wrapper for transmission using got",
|
5
5
|
"author": "Scott Cooper <scttcper@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"lint:eslint": "eslint .",
|
23
23
|
"lint:fix": "pnpm run '/^(lint:biome|lint:eslint):fix$/'",
|
24
24
|
"lint:eslint:fix": "eslint . --fix",
|
25
|
-
"lint:biome:fix": "biome check . --
|
25
|
+
"lint:biome:fix": "biome check . --write",
|
26
26
|
"prepare": "npm run build",
|
27
27
|
"build": "tsc",
|
28
28
|
"build:docs": "typedoc",
|
@@ -32,23 +32,23 @@
|
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
34
|
"@ctrl/magnet-link": "^4.0.2",
|
35
|
-
"@ctrl/shared-torrent": "^6.
|
36
|
-
"ofetch": "^1.
|
35
|
+
"@ctrl/shared-torrent": "^6.1.0",
|
36
|
+
"ofetch": "^1.4.1",
|
37
37
|
"ufo": "^1.5.4",
|
38
38
|
"uint8array-extras": "^1.4.0"
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
|
-
"@biomejs/biome": "1.
|
42
|
-
"@ctrl/eslint-config-biome": "4.
|
41
|
+
"@biomejs/biome": "1.9.4",
|
42
|
+
"@ctrl/eslint-config-biome": "4.2.11",
|
43
43
|
"@ctrl/magnet-link": "^4.0.2",
|
44
|
-
"@ctrl/shared-torrent": "^6.
|
44
|
+
"@ctrl/shared-torrent": "^6.1.0",
|
45
45
|
"@sindresorhus/tsconfig": "6.0.0",
|
46
|
-
"@types/node": "22.
|
47
|
-
"@vitest/coverage-v8": "2.
|
46
|
+
"@types/node": "22.9.0",
|
47
|
+
"@vitest/coverage-v8": "2.1.4",
|
48
48
|
"p-wait-for": "5.0.2",
|
49
|
-
"typedoc": "0.26.
|
50
|
-
"typescript": "5.
|
51
|
-
"vitest": "2.
|
49
|
+
"typedoc": "0.26.11",
|
50
|
+
"typescript": "5.6.3",
|
51
|
+
"vitest": "2.1.4"
|
52
52
|
},
|
53
53
|
"publishConfig": {
|
54
54
|
"access": "public",
|