electrum-cash
Advanced tools
Comparing version 2.0.7 to 2.0.8
@@ -64,3 +64,2 @@ /// <reference types="node" /> | ||
} | ||
//# sourceMappingURL=enums.d.ts.map | ||
@@ -79,6 +78,2 @@ declare type RPCParameter = string | number | boolean | null; | ||
} | ||
interface RPCErrorResponse extends RPCBase { | ||
id: number | null; | ||
error: RPCError; | ||
} | ||
interface RPCError { | ||
@@ -89,3 +84,7 @@ code: number; | ||
} | ||
declare type RPCResponse = RPCErrorResponse | RPCStatement;//# sourceMappingURL=rpc-interfaces.d.ts.map | ||
interface RPCErrorResponse extends RPCBase { | ||
id: number | null; | ||
error: RPCError; | ||
} | ||
declare type RPCResponse = RPCErrorResponse | RPCStatement; | ||
@@ -130,3 +129,2 @@ interface ClusterStrategy { | ||
} | ||
//# sourceMappingURL=interfaces.d.ts.map | ||
@@ -223,4 +221,3 @@ /** | ||
socket: ElectrumSocket; | ||
sentTimestamp: number; | ||
receivedTimestamp: number; | ||
lastReceivedTimestamp: number; | ||
timers: { | ||
@@ -230,2 +227,3 @@ keepAlive?: NodeJS.Timer; | ||
}; | ||
verifications: Array<NodeJS.Timer>; | ||
status: ConnectionStatus; | ||
@@ -443,2 +441,4 @@ messageBuffer: string; | ||
* Aborts all active requests with an error message indicating that connection was lost. | ||
* | ||
* @ignore | ||
*/ | ||
@@ -466,3 +466,3 @@ onConnectionDisconnect(): void; | ||
* High-level electrum client that provides transparent load balancing, confidence checking and/or low-latency polling. | ||
*/ | ||
*/ | ||
declare class ElectrumCluster extends EventEmitter { | ||
@@ -609,4 +609,3 @@ application: string; | ||
}; | ||
//# sourceMappingURL=constants.d.ts.map | ||
export { ClientConfig, ClientState, ClusterDistribution, ClusterOrder, ClusterStatus, ClusterStrategy, ConnectionOptions, ConnectionStatus, DefaultParameters, ElectrumClient, ElectrumCluster, ElectrumTransport, RejectFunction, RequestResolver, RequestResponse, ResolveFunction, SubscribeCallback, SubscriptionTracker, TransportScheme, VersionNegotiated, VersionRejected, isVersionNegotiated, isVersionRejected }; |
{ | ||
"name": "electrum-cash", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "Electrum-cash is a lightweight JavaScript library that lets you connect with one or more Electrum servers.", | ||
@@ -24,7 +24,7 @@ "main": "dist/index.cjs.js", | ||
"test": "npm run build && c8 ava test/**/*.test.ts", | ||
"docs": "npm run build && jsdoc dist/main/** -t node_modules/docdash -d public/", | ||
"docs": "jsdoc -c jsdoc.json", | ||
"prepublishOnly": "npm run build:prepublish", | ||
"rollup": "rollup -c", | ||
"postrollup": "del ./dist/module ./dist/main", | ||
"spellcheck": "cspell '**'" | ||
"spellcheck": "cspell 'lib/**' 'test/**' 'examples/**'" | ||
}, | ||
@@ -57,23 +57,24 @@ "repository": { | ||
"@generalprotocols/eslint-config": "git+https://gitlab.com/GeneralProtocols/eslint-config.git", | ||
"@types/debug": "^4.1.5", | ||
"@typescript-eslint/eslint-plugin": "^3.6.1", | ||
"ava": "^3.10.1", | ||
"c8": "^7.2.1", | ||
"cspell": "4.1.2", | ||
"del-cli": "^3.0.1", | ||
"@types/debug": "^4.1.6", | ||
"@typescript-eslint/eslint-plugin": "^4.28.2", | ||
"ava": "^3.15.0", | ||
"better-docs": "^2.3.2", | ||
"c8": "^7.7.3", | ||
"cspell": "^5.6.6", | ||
"del-cli": "^4.0.0", | ||
"docdash": "^1.2.0", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-import": "^2.22.0", | ||
"jsdoc": "^3.6.4", | ||
"rollup": "^2.25.0", | ||
"rollup-plugin-dts": "^1.4.10", | ||
"sinon": "^9.0.2", | ||
"typescript": "^3.9.7" | ||
"eslint": "^7.30.0", | ||
"eslint-plugin-import": "^2.23.4", | ||
"jsdoc": "^3.6.7", | ||
"rollup": "^2.53.0", | ||
"rollup-plugin-dts": "^3.0.2", | ||
"sinon": "^11.1.1", | ||
"typescript": "^4.3.5" | ||
}, | ||
"dependencies": { | ||
"@types/ws": "^7.2.6", | ||
"async-mutex": "^0.2.4", | ||
"debug": "^4.1.1", | ||
"@types/ws": "^7.4.6", | ||
"async-mutex": "^0.3.1", | ||
"debug": "^4.3.2", | ||
"isomorphic-ws": "^4.0.1", | ||
"ws": "^7.3.1" | ||
"ws": "^7.5.2" | ||
}, | ||
@@ -80,0 +81,0 @@ "ava": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
202709
3983
4
18
+ Addedasync-mutex@0.3.2(transitive)
- Removedasync-mutex@0.2.6(transitive)
Updated@types/ws@^7.4.6
Updatedasync-mutex@^0.3.1
Updateddebug@^4.3.2
Updatedws@^7.5.2