greybel-mock-environment 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -161,7 +161,7 @@ var MockEnvironment = /** @class */ (function () {
161
161
  };
162
162
  MockEnvironment.prototype.getRouterByIp = function (ipAddress) {
163
163
  var me = this;
164
- if ((0, utils_1.isValidIp)(ipAddress)) {
164
+ if (!(0, utils_1.isValidIp)(ipAddress)) {
165
165
  return null;
166
166
  }
167
167
  var serverMap = me.networkGenerator.serverMap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "greybel-mock-environment",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Mock environment",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index",