connection-manager
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -238,17 +238,17 @@ /** | ||
} else if (typeof o !== 'object') { | ||
return cb('first parameter object not defined.'); | ||
return cb('connection manager requires a connection object'); | ||
} | ||
if (typeof o.id !== 'string') { | ||
return cb('missing `id` string property'); | ||
return cb('connection object must contain a `id` string property'); | ||
} else if (typeof o.credentials !== 'object') { | ||
return cb('missing `credentials` object property'); | ||
return cb('connection object must contain a `credentials` object property'); | ||
} else if (typeof o.listeners !== 'object') { | ||
return cb('missing `listeners` object property'); | ||
return cb('connection object must contain a `listeners` object property ['+typeof o.listeners+']'); | ||
} else if (typeof o.addListener !== 'function') { | ||
return cb('missing `addListener` function property'); | ||
return cb('connection object must contain a `addListener` function property'); | ||
} else if (typeof o.removeListener !== 'function') { | ||
return cb('missing `removeListener` function property'); | ||
return cb('connection object must contain a `removeListener` function property'); | ||
} else if (typeof o.disconnect !== 'function') { | ||
return cb('missing `disconnect` function property'); | ||
return cb('connection object must contain a `disconnect` function property'); | ||
} | ||
@@ -417,4 +417,2 @@ | ||
/** | ||
@@ -487,3 +485,2 @@ * Function: move | ||
/** | ||
@@ -506,3 +503,2 @@ * Function: exists | ||
/** | ||
@@ -529,3 +525,2 @@ * Function: referenceCount | ||
/** | ||
@@ -532,0 +527,0 @@ * Function: getKeys |
{ | ||
"name": "connection-manager", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Store, checkout & keepalive active connections from multiple locations in your code-base.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
# node-connection-manager | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/silverbucket/node-connection-manager.svg)](https://greenkeeper.io/) | ||
[![Build Status](http://img.shields.io/travis/silverbucket/node-connection-manager.svg?style=flat)](http://travis-ci.org/silverbucket/node-connection-manager) | ||
@@ -4,0 +6,0 @@ [![Code Climate](http://img.shields.io/codeclimate/github/silverbucket/node-connection-manager.svg?style=flat)](https://codeclimate.com/github/silverbucket/node-connection-manager) |
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
39592
113