@stordata/vsphere-soapify 0.0.26 → 0.0.28

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/.gitlab-ci.yml CHANGED
@@ -1,4 +1,4 @@
1
- image: docker.stordata.fr/stordata/docker-node:14
1
+ image: docker.stordata.fr/stordata/docker-node:16
2
2
 
3
3
  stages:
4
4
  - build
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 14.15.1
1
+ 16.13.0
package/lib/client.js CHANGED
@@ -14,7 +14,7 @@ module.exports = class Client {
14
14
  *
15
15
  * @param {String} url The URL to the vSphere endpoint.
16
16
  * Use the base URL only, the library manages the actual SDK endpoints automatically
17
- * @param {Object} [requestOptions={}] Options given to request. See https://github.com/request/request#requestoptions-callback
17
+ * @param {Object} [requestOptions] Options given to request. See https://github.com/request/request#requestoptions-callback
18
18
  * @param {Object} [features] An optional list of feature flags to control advanced settings of the created Client
19
19
  * @param {boolean} [features.alwaysUseMaxSampleInQuerySpec=false] Whether to force the use of `maxSample` in QuerySpec objects,
20
20
  * even though this might form invalid calls. Use with caution !
@@ -22,7 +22,7 @@ module.exports = class Client {
22
22
  *
23
23
  * @constructor
24
24
  */
25
- constructor(url, requestOptions = {}, features) {
25
+ constructor(url, requestOptions, features) {
26
26
  this.url = url;
27
27
  this.requestOptions = requestOptions;
28
28
  this.features = _.defaults(features, DEFAULT_FEATURES);