Comparing version 0.1.8 to 0.1.9
@@ -89,3 +89,3 @@ var _ = require('lodash'); | ||
if (!_.contains(['connected', 'disconnected', 'error', 'received', 'sent', 'server'], eventOfArgs)) { | ||
if (!_.includes(['connected', 'disconnected', 'error', 'received', 'sent', 'server'], eventOfArgs)) { | ||
this._ib.emit('result', eventOfArgs, argsOfArgs); | ||
@@ -92,0 +92,0 @@ } |
@@ -250,5 +250,5 @@ var _ = require('lodash'); | ||
Outgoing.prototype.placeOrder = function (id, contract, order) { | ||
var comboLeg, | ||
orderComboLeg; | ||
if (this._controller._serverVersion < C.MIN_SERVER_VER.SCALE_ORDERS) { | ||
@@ -267,3 +267,3 @@ if (order.scaleInitLevelSize != Number.MAX_VALUE || | ||
} | ||
}); | ||
}.bind(this)); | ||
} | ||
@@ -326,3 +326,3 @@ } | ||
} | ||
}); | ||
}.bind(this)); | ||
} | ||
@@ -383,3 +383,3 @@ } | ||
} | ||
}); | ||
}.bind(this)); | ||
} | ||
@@ -508,3 +508,3 @@ } | ||
} | ||
}); | ||
}.bind(this)); | ||
} | ||
@@ -979,4 +979,4 @@ } | ||
var comboLeg; | ||
if (_.isString(contract.secType) && | ||
@@ -983,0 +983,0 @@ C.BAG_SEC_TYPE.toUpperCase() === contract.secType.toUpperCase()) { |
@@ -112,3 +112,3 @@ var net = require('net'); | ||
_.each(tokens, function (value, i) { | ||
_.forEach(tokens, function (value, i) { | ||
if (_.isBoolean(value)) { | ||
@@ -115,0 +115,0 @@ tokens[i] = value ? 1 : 0; |
{ | ||
"name": "ib", | ||
"description": "Interactive Brokers TWS (or IB Gateway) API client library for Node.js", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"license": "MIT", | ||
@@ -43,4 +43,4 @@ "author": { | ||
"dependencies": { | ||
"command-buffer": "~0.1.0", | ||
"lodash": "~2.2.1" | ||
"command-buffer": "0.1.0", | ||
"lodash": "4.6.1" | ||
}, | ||
@@ -47,0 +47,0 @@ "devDependencies": { |
111332
2902
+ Addedlodash@4.6.1(transitive)
- Removedlodash@2.2.1(transitive)
Updatedcommand-buffer@0.1.0
Updatedlodash@4.6.1