@ctrl/transmission 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/README.md CHANGED
@@ -27,7 +27,7 @@ async function main() {
27
27
  ### Api
28
28
 
29
29
  Docs: https://transmission.vercel.app
30
- API Docs: https://github.com/transmission/transmission/blob/master/extras/rpc-spec.txt
30
+ API Docs: https://github.com/transmission/transmission/blob/main/docs/rpc-spec.md
31
31
 
32
32
  ### Normalized API
33
33
 
@@ -316,7 +316,7 @@ export class Transmission {
316
316
  try {
317
317
  return JSON.parse(body);
318
318
  }
319
- catch (error) {
319
+ catch {
320
320
  return body;
321
321
  }
322
322
  },
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@ctrl/transmission",
3
- "version": "7.3.0",
4
- "description": "TypeScript api wrapper for transmission using got",
3
+ "version": "7.4.0",
4
+ "description": "TypeScript api wrapper for transmission using ofetch",
5
5
  "author": "Scott Cooper <scttcper@gmail.com>",
6
6
  "license": "MIT",
7
- "repository": "scttcper/transmission",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/scttcper/transmission.git"
10
+ },
8
11
  "keywords": [
9
12
  "transmission",
10
13
  "typescript"