New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rippled-ws-client-pool

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rippled-ws-client-pool - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

14

package.json
{
"name": "rippled-ws-client-pool",
"version": "0.0.3",
"version": "0.0.4",
"description": "Connection pool for multiple rippled-ws-client connections: client side failover and health checking",
"dependencies": {},
"dependencies": {
"rippled-ws-client": "0.0.1",
"websocket": "^1.0.26"
},
"main": "src/index.js",

@@ -11,4 +14,7 @@ "files": [

"devDependencies": {
"rippled-ws-client": "0.0.1",
"websocket": "^1.0.26"
"babel-preset-es2015-ie": "^6.7.0",
"babel-core": "^6.26.3",
"babel-preset-es2015": "^6.24.1",
"babelify": "^8.0.0",
"browserify": "^16.2.2"
},

@@ -15,0 +21,0 @@ "repository": {

@@ -14,3 +14,10 @@ # rippled-ws-client-pool

##### To compile for the browser:
```
./node_modules/.bin/browserify -t [ babelify --presets [ es2015 ] ] -r .:rippled-ws-client-pool -o dist/rippled-ws-client-pool.js
```
The output will be in the `dist` folder. You can use it in your project [like this](https://gist.github.com/WietseWind/b8879a123b432485f68a3e4a1139af23).
# API

@@ -17,0 +24,0 @@

@@ -102,3 +102,3 @@ 'use strict'

// Do nothing
if ((typeof c.transaction.Account !== 'undefined' && typeof WatchAccounts[c.transaction.Account] !== 'undefined') || (typeof c.transaction.Destination !== 'undefined' && typeof WatchAccounts[c.transaction.Destination] !== 'undefined')) {
if ((typeof c.transaction.Account !== 'undefined' && (typeof WatchAccounts[c.transaction.Account] !== 'undefined' || Object.keys(WatchAccounts).length < 1)) || (typeof c.transaction.Destination !== 'undefined' && (typeof WatchAccounts[c.transaction.Destination] !== 'undefined' || Object.keys(WatchAccounts).length < 1))) {
RecentTransactions.splice(TX_HISTORY_LENGTH)

@@ -105,0 +105,0 @@ let CurrentTxIndex = RecentTransactions.map((r) => { return r.Hash }).indexOf(c.transaction.hash)

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