Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

maria2

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maria2 - npm Package Compare versions

Comparing version 0.3.0-beta.7 to 0.3.0-beta.8

dist/conn-5b028013.d.ts

7

dist/index.d.ts

@@ -1,3 +0,3 @@

import { T as TrimStart, C as Conn, D as Disposable, S as Socket } from './transport-69c0b7b3.js';
export { A as Aria2RpcHTTPUrl, a as Aria2RpcWebSocketUrl, R as ReadyState, b as SendRequestOptions } from './transport-69c0b7b3.js';
import { C as Conn, D as Disposable, S as Socket } from './conn-5b028013.js';
export { R as ReadyState, a as SendRequestOptions } from './conn-5b028013.js';

@@ -654,2 +654,3 @@ type RpcVersion = '1.0' | '2.0';

type TrimStart<T, U extends string> = T extends `${U}${infer P}` ? P : T;
type ClientAria2 = {

@@ -820,2 +821,3 @@ [P in TrimStart<Exclude<keyof Aria2ClientMethodCallMap, 'aria2.tellStatus' | 'aria2.tellWaiting' | 'aria2.tellStopped' | 'aria2.tellActive'>, 'aria2.'>]: (conn: Conn, ...args: Aria2ClientMethodCallMap[`aria2.${P}`]['params']) => Promise<NonNullable<Aria2ClientMethodResultMap[`aria2.${P}`]['result']>>;

type raw_Aria2UriStatusString = Aria2UriStatusString;
declare const raw_Disposable: typeof Disposable;
type raw_RpcCall<TMethod extends RpcMethod = string, TParam = unknown> = RpcCall<TMethod, TParam>;

@@ -960,2 +962,3 @@ type raw_RpcMessage = RpcMessage;

raw_Aria2UriStatusString as Aria2UriStatusString,
raw_Disposable as Disposable,
raw_RpcCall as RpcCall,

@@ -962,0 +965,0 @@ raw_RpcMessage as RpcMessage,

@@ -1,1 +0,9 @@

export { A as Aria2RpcHTTPUrl, a as Aria2RpcWebSocketUrl, d as createHTTP, c as createWebSocket } from './transport-69c0b7b3.js';
import { S as Socket } from './conn-5b028013.js';
type Aria2RpcHTTPUrl = `${'http' | 'https'}://${string}:${number}/jsonrpc` | `${'http' | 'https'}://${string}/jsonrpc`;
declare const createHTTP: (url: Aria2RpcHTTPUrl) => Socket;
type Aria2RpcWebSocketUrl = `${'ws' | 'wss'}://${string}:${number}/jsonrpc` | `${'ws' | 'wss'}://${string}/jsonrpc`;
declare const createWebSocket: (url: Aria2RpcWebSocketUrl) => Socket;
export { createHTTP, createWebSocket };
{
"name": "maria2",
"version": "0.3.0-beta.7",
"version": "0.3.0-beta.8",
"description": "Simple RPC Library for aria2",

@@ -44,2 +44,13 @@ "type": "module",

"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": [],
".": [
"./dist/index.d.ts"
],
"transport": [
"./dist/transport.d.ts"
]
}
},
"files": [

@@ -46,0 +57,0 @@ "dist"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc