electrum-cash
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "electrum-cash", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Electrum-cash is a lightweight JavaScript library that lets you connect with one or more Electrum servers.", | ||
"main": "dist/lib/index.js", | ||
"main": "dist/main/lib/index.js", | ||
"module": "dist/module/lib/index.js", | ||
"typings": "dist/main/lib/index.d.ts", | ||
"directories": { | ||
@@ -11,11 +13,16 @@ "example": "examples", | ||
"files": [ | ||
"dist/lib" | ||
"dist/main/lib", | ||
"dist/module/lib" | ||
], | ||
"scripts": { | ||
"build": "npm run clean && npm run compile", | ||
"build": "npm run clean && npm run compile:main", | ||
"build:prepublish": "npm run clean && npm run compile", | ||
"clean": "del ./dist", | ||
"compile": "tsc", | ||
"compile": "npm run compile:main && npm run compile:module", | ||
"compile:main": "tsc", | ||
"compile:module": "tsc -p tsconfig.module.json", | ||
"lint": "eslint . --ext .ts", | ||
"test": "npm run build && c8 ava test/**/*.test.ts", | ||
"docs": "npm run build && jsdoc dist/** -t node_modules/docdash -d public/" | ||
"docs": "npm run build && jsdoc dist/main/** -t node_modules/docdash -d public/", | ||
"prepublish": "npm run build:prepublish" | ||
}, | ||
@@ -34,17 +41,17 @@ "repository": { | ||
"@ava/typescript": "^1.1.1", | ||
"@generalprotocols/eslint-config": "https://gitlab.com/GeneralProtocols/eslint-config", | ||
"@generalprotocols/eslint-config": "git+https://gitlab.com/GeneralProtocols/eslint-config.git", | ||
"@types/debug": "^4.1.5", | ||
"@typescript-eslint/eslint-plugin": "^3.4.0", | ||
"ava": "^3.0.0", | ||
"c8": "^7.2.0", | ||
"@typescript-eslint/eslint-plugin": "^3.6.1", | ||
"ava": "^3.10.1", | ||
"c8": "^7.2.1", | ||
"del-cli": "^3.0.1", | ||
"docdash": "^1.2.0", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint-plugin-import": "^2.22.0", | ||
"jsdoc": "^3.6.4", | ||
"sinon": "^9.0.2", | ||
"typescript": "^3.9.5" | ||
"typescript": "^3.9.7" | ||
}, | ||
"dependencies": { | ||
"async-mutex": "^0.2.3", | ||
"async-mutex": "^0.2.4", | ||
"debug": "^4.1.1" | ||
@@ -56,3 +63,3 @@ }, | ||
"rewritePaths": { | ||
"./": "dist/" | ||
"./": "dist/main/" | ||
} | ||
@@ -64,5 +71,5 @@ } | ||
"test/**", | ||
"dist/test/**" | ||
"dist/*/test/**" | ||
] | ||
} | ||
} |
# electrum-cash | ||
Electrum-cash is a lightweight `JavaScript` library that lets you connect with one or more `Electrum` servers. | ||
It offers encrypted connections by default, | ||
Electrum-cash is a lightweight `JavaScript` library that lets you connect with one or more `Electrum` servers. | ||
It offers encrypted connections by default, | ||
performs the expected protocol version negotiation and | ||
@@ -22,3 +22,3 @@ automatically keeps your connection alive until your close it. | ||
If you only want to use a **single serve**r, load the `Client` module: | ||
If you only want to use a **single server**, load the `Client` module: | ||
@@ -52,3 +52,3 @@ ```js | ||
*For more information on various cluster configurations, read the [cluster documentation](cluster.md).* | ||
*For more information on various cluster configurations, read the [cluster documentation](cluster.md).* | ||
@@ -55,0 +55,0 @@ ```js |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
253006
83
3481
3
Updatedasync-mutex@^0.2.4