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

electrum-cash

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electrum-cash - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

14

dist/index.d.ts

@@ -108,3 +108,3 @@ /// <reference types="node" />

declare type RequestResolver = (error?: Error, data?: string) => void;
declare type ResolveFunction<T> = (value?: T | PromiseLike<T>) => void;
declare type ResolveFunction<T> = (value: T | PromiseLike<T>) => void;
declare type RejectFunction = (reason?: any) => void;

@@ -218,2 +218,3 @@ interface VersionRejected {

timeout: number;
pingInterval: number;
socket: ElectrumSocket;

@@ -237,6 +238,7 @@ sentTimestamp: number;

* @param {number} timeout how long network delays we will wait for before taking action, in milliseconds.
* @param {number} pingInterval the time between sending pings to the electrum host, in milliseconds.
*
* @throws {Error} if `version` is not a valid version string.
*/
constructor(application: string, version: string, host: string, port?: number, scheme?: TransportScheme, timeout?: number);
constructor(application: string, version: string, host: string, port?: number, scheme?: TransportScheme, timeout?: number, pingInterval?: number);
/**

@@ -361,6 +363,7 @@ * Returns a string for the host identifier for usage in debug messages.

* @param {number} timeout how long network delays we will wait for before taking action, in milliseconds.
* @param {number} pingInterval the time between sending pings to the electrum host, in milliseconds.
*
* @throws {Error} if `version` is not a valid version string.
*/
constructor(application: string, version: string, host: string, port?: number, scheme?: TransportScheme, timeout?: number);
constructor(application: string, version: string, host: string, port?: number, scheme?: TransportScheme, timeout?: number, pingInterval?: number);
/**

@@ -465,2 +468,3 @@ * Connects to the remote server.

timeout: number;
pingInterval: number;
strategy: ClusterStrategy;

@@ -488,4 +492,5 @@ clients: {

* @param {number} timeout how long network delays we will wait for before taking action, in milliseconds.
* @param {number} pingInterval the time between sending pings to the electrum host, in milliseconds.
*/
constructor(application: string, version: string, confidence?: number, distribution?: number, order?: ClusterOrder, timeout?: number);
constructor(application: string, version: string, confidence?: number, distribution?: number, order?: ClusterOrder, timeout?: number, pingInterval?: number);
/**

@@ -597,2 +602,3 @@ * Adds a server to the cluster.

TIMEOUT: number;
PING_INTERVAL: number;
CLUSTER_CONFIDENCE: number;

@@ -599,0 +605,0 @@ CLUSTER_DISTRIBUTION: ClusterDistribution;

{
"name": "electrum-cash",
"version": "2.0.6",
"version": "2.0.7",
"description": "Electrum-cash is a lightweight JavaScript library that lets you connect with one or more Electrum servers.",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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