cisco-axl 1.2.0 → 1.2.1

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.
package/index.js CHANGED
@@ -15,6 +15,7 @@ const wsdlOptions = {
15
15
  */
16
16
  class axlService {
17
17
  constructor(host, username, password, version) {
18
+ if (!host | !username | !password | !version) throw new TypeError("missing parameters");
18
19
  this._OPTIONS = {
19
20
  username: username,
20
21
  password: password,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cisco-axl",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "A library to make Cisco AXL a lot easier",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/test/tests.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const axlService = require("../index");
2
2
  const emoji = require("node-emoji");
3
- const { cleanEnv, str, host } = require("envalid");
3
+ const { cleanEnv, str, host, makeValidator } = require("envalid");
4
4
  var path = require('path');
5
5
 
6
6
  // If not production load the local env file