@evergis/api 3.0.185 → 3.0.186

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.
@@ -36,6 +36,9 @@ function _defineProperties(target, props) {
36
36
  function _createClass(Constructor, protoProps, staticProps) {
37
37
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
38
  if (staticProps) _defineProperties(Constructor, staticProps);
39
+ Object.defineProperty(Constructor, "prototype", {
40
+ writable: false
41
+ });
39
42
  return Constructor;
40
43
  }
41
44
 
@@ -69,6 +72,9 @@ function _inherits(subClass, superClass) {
69
72
  configurable: true
70
73
  }
71
74
  });
75
+ Object.defineProperty(subClass, "prototype", {
76
+ writable: false
77
+ });
72
78
  if (superClass) _setPrototypeOf(subClass, superClass);
73
79
  }
74
80
 
@@ -127,6 +133,8 @@ function _assertThisInitialized(self) {
127
133
  function _possibleConstructorReturn(self, call) {
128
134
  if (call && (typeof call === "object" || typeof call === "function")) {
129
135
  return call;
136
+ } else if (call !== void 0) {
137
+ throw new TypeError("Derived constructors may only return object or undefined");
130
138
  }
131
139
 
132
140
  return _assertThisInitialized(self);
@@ -160,7 +168,7 @@ function _superPropBase(object, property) {
160
168
  return object;
161
169
  }
162
170
 
163
- function _get(target, property, receiver) {
171
+ function _get() {
164
172
  if (typeof Reflect !== "undefined" && Reflect.get) {
165
173
  _get = Reflect.get;
166
174
  } else {
@@ -171,14 +179,14 @@ function _get(target, property, receiver) {
171
179
  var desc = Object.getOwnPropertyDescriptor(base, property);
172
180
 
173
181
  if (desc.get) {
174
- return desc.get.call(receiver);
182
+ return desc.get.call(arguments.length < 3 ? target : receiver);
175
183
  }
176
184
 
177
185
  return desc.value;
178
186
  };
179
187
  }
180
188
 
181
- return _get(target, property, receiver || target);
189
+ return _get.apply(this, arguments);
182
190
  }
183
191
 
184
192
  let HttpClient = /*#__PURE__*/function () {
@@ -4905,8 +4913,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
4905
4913
  || event.code === 4002
4906
4914
  /* InvalidSession */
4907
4915
  ) {
4908
- _this.connectStatus = exports.ConnectionStatus.SessionClosed;
4909
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4916
+ _this.connectStatus = exports.ConnectionStatus.SessionClosed;
4917
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4910
4918
  _this.connectStatus = exports.ConnectionStatus.Break;
4911
4919
  _this.reconnectTries++;
4912
4920
 
@@ -5738,12 +5746,12 @@ let Resources = /*#__PURE__*/function () {
5738
5746
  }, {
5739
5747
  key: "getDependentNames",
5740
5748
  value: function getDependentNames(deps, depType) {
5741
- return deps.filter((_ref) => {
5749
+ return deps.filter(_ref => {
5742
5750
  let {
5743
5751
  type
5744
5752
  } = _ref;
5745
5753
  return type === depType;
5746
- }).map((_ref2) => {
5754
+ }).map(_ref2 => {
5747
5755
  let {
5748
5756
  name
5749
5757
  } = _ref2;
@@ -6199,7 +6207,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
6199
6207
  const taskProgress = await this.getTaskProgress(id);
6200
6208
  this.resolveTaskStatus(taskProgress, resolve, reject);
6201
6209
 
6202
- const taskResultCallback = async (_ref) => {
6210
+ const taskResultCallback = async _ref => {
6203
6211
  let {
6204
6212
  data
6205
6213
  } = _ref;