@ctrl/shared-torrent
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -5,11 +5,11 @@ /// <reference types="node" /> | ||
config: TorrentSettings; | ||
getAllData(): Promise<AllClientData>; | ||
getTorrent(id: any): Promise<NormalizedTorrent>; | ||
pauseTorrent(id: any): Promise<any>; | ||
resumeTorrent(id: any): Promise<any>; | ||
removeTorrent(id: any, removeData?: boolean): Promise<any>; | ||
queueUp(id: any): Promise<any>; | ||
queueDown(id: any): Promise<any>; | ||
addTorrent(torrent: string | Buffer, options?: any): Promise<any>; | ||
normalizedAddTorrent(torrent: string | Buffer, options?: Partial<AddTorrentOptions>): Promise<NormalizedTorrent>; | ||
getAllData: () => Promise<AllClientData>; | ||
getTorrent: (id: any) => Promise<NormalizedTorrent>; | ||
pauseTorrent: (id: any) => Promise<any>; | ||
resumeTorrent: (id: any) => Promise<any>; | ||
removeTorrent: (id: any, removeData?: boolean) => Promise<any>; | ||
queueUp: (id: any) => Promise<any>; | ||
queueDown: (id: any) => Promise<any>; | ||
addTorrent: (torrent: string | Buffer, options?: any) => Promise<any>; | ||
normalizedAddTorrent: (torrent: string | Buffer, options?: Partial<AddTorrentOptions>) => Promise<NormalizedTorrent>; | ||
} | ||
@@ -16,0 +16,0 @@ export interface TorrentSettings { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TorrentState = void 0; | ||
var TorrentState; | ||
@@ -4,0 +5,0 @@ (function (TorrentState) { |
{ | ||
"name": "@ctrl/shared-torrent", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "shared types and interfaces between torrent clients", | ||
"author": "Scott Cooper <scttcper@gmail.com>", | ||
"license": "MIT", | ||
"repository": "typectrl/shared-torrent", | ||
"main": "./dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"repository": "scttcper/shared-torrent", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"files": [ | ||
@@ -22,18 +22,11 @@ "dist" | ||
"prepare": "npm run build", | ||
"build": "tsc", | ||
"semantic-release": "semantic-release" | ||
"build": "tsc" | ||
}, | ||
"dependencies": { | ||
"got": "^11.0.2" | ||
"got": "^11.4.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "13.13.2", | ||
"@typescript-eslint/eslint-plugin": "2.29.0", | ||
"@typescript-eslint/parser": "2.29.0", | ||
"eslint": "6.8.0", | ||
"eslint-config-xo-space": "0.24.0", | ||
"eslint-config-xo-typescript": "0.27.0", | ||
"eslint-plugin-import": "2.20.2", | ||
"semantic-release": "17.0.7", | ||
"typescript": "3.8.3" | ||
"@ctrl/eslint-config": "1.0.3", | ||
"@types/node": "14.0.14", | ||
"typescript": "3.9.6" | ||
}, | ||
@@ -40,0 +33,0 @@ "publishConfig": { |
@@ -1,2 +0,2 @@ | ||
# shared-torrent [![npm](https://img.shields.io/npm/v/@ctrl/shared-torrent.svg?maxAge=3600)](https://www.npmjs.com/package/@ctrl/shared-torrent) [![CircleCI](https://circleci.com/gh/TypeCtrl/shared-torrent.svg?style=svg)](https://circleci.com/gh/TypeCtrl/shared-torrent) | ||
# shared-torrent [![npm](https://badgen.net/npm/v/@ctrl/shared-torrent)](https://www.npmjs.com/package/@ctrl/shared-torrent) [![CircleCI](https://badgen.net/circleci/github/scttcper/shared-torrent)](https://circleci.com/gh/scttcper/shared-torrent) | ||
@@ -6,5 +6,5 @@ > shared types and interfaces between torrent clients | ||
#### Normalized Torrent Clients | ||
- deluge - [@ctrl/deluge](https://github.com/TypeCtrl/deluge) | ||
- transmission - [@ctrl/transmission](https://github.com/TypeCtrl/transmission) | ||
- qbittorrent - [@ctrl/qbittorrent](https://github.com/TypeCtrl/qbittorrent) | ||
- utorrent - [@ctrl/qbittorrent](https://github.com/TypeCtrl/utorrent) | ||
- deluge - [@ctrl/deluge](https://github.com/scttcper/deluge) | ||
- transmission - [@ctrl/transmission](https://github.com/scttcper/transmission) | ||
- qbittorrent - [@ctrl/qbittorrent](https://github.com/scttcper/qbittorrent) | ||
- utorrent - [@ctrl/qbittorrent](https://github.com/scttcper/utorrent) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
113531
3
139
Updatedgot@^11.4.0