@evergis/api 3.0.149 → 3.0.151

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.
@@ -35,9 +35,6 @@ function _defineProperties(target, props) {
35
35
  function _createClass(Constructor, protoProps, staticProps) {
36
36
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
37
37
  if (staticProps) _defineProperties(Constructor, staticProps);
38
- Object.defineProperty(Constructor, "prototype", {
39
- writable: false
40
- });
41
38
  return Constructor;
42
39
  }
43
40
 
@@ -71,9 +68,6 @@ function _inherits(subClass, superClass) {
71
68
  configurable: true
72
69
  }
73
70
  });
74
- Object.defineProperty(subClass, "prototype", {
75
- writable: false
76
- });
77
71
  if (superClass) _setPrototypeOf(subClass, superClass);
78
72
  }
79
73
 
@@ -132,8 +126,6 @@ function _assertThisInitialized(self) {
132
126
  function _possibleConstructorReturn(self, call) {
133
127
  if (call && (typeof call === "object" || typeof call === "function")) {
134
128
  return call;
135
- } else if (call !== void 0) {
136
- throw new TypeError("Derived constructors may only return object or undefined");
137
129
  }
138
130
 
139
131
  return _assertThisInitialized(self);
@@ -167,7 +159,7 @@ function _superPropBase(object, property) {
167
159
  return object;
168
160
  }
169
161
 
170
- function _get() {
162
+ function _get(target, property, receiver) {
171
163
  if (typeof Reflect !== "undefined" && Reflect.get) {
172
164
  _get = Reflect.get;
173
165
  } else {
@@ -178,14 +170,14 @@ function _get() {
178
170
  var desc = Object.getOwnPropertyDescriptor(base, property);
179
171
 
180
172
  if (desc.get) {
181
- return desc.get.call(arguments.length < 3 ? target : receiver);
173
+ return desc.get.call(receiver);
182
174
  }
183
175
 
184
176
  return desc.value;
185
177
  };
186
178
  }
187
179
 
188
- return _get.apply(this, arguments);
180
+ return _get(target, property, receiver || target);
189
181
  }
190
182
 
191
183
  let HttpClient = /*#__PURE__*/function () {
@@ -1103,8 +1095,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1103
1095
  || event.code === 4002
1104
1096
  /* InvalidSession */
1105
1097
  ) {
1106
- _this.connectStatus = exports.ConnectionStatus.SessionClosed;
1107
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1098
+ _this.connectStatus = exports.ConnectionStatus.SessionClosed;
1099
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1108
1100
  _this.connectStatus = exports.ConnectionStatus.Break;
1109
1101
  _this.reconnectTries++;
1110
1102
 
@@ -1653,7 +1645,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1653
1645
  const taskProgress = await this.getTaskProgress(id);
1654
1646
  this.resolveTaskStatus(taskProgress, resolve, reject);
1655
1647
 
1656
- const taskResultCallback = async _ref => {
1648
+ const taskResultCallback = async (_ref) => {
1657
1649
  let {
1658
1650
  data
1659
1651
  } = _ref;
@@ -3915,12 +3907,12 @@ let Resources = /*#__PURE__*/function () {
3915
3907
  }, {
3916
3908
  key: "getDependentNames",
3917
3909
  value: function getDependentNames(deps, depType) {
3918
- return deps.filter(_ref => {
3910
+ return deps.filter((_ref) => {
3919
3911
  let {
3920
3912
  type
3921
3913
  } = _ref;
3922
3914
  return type === depType;
3923
- }).map(_ref2 => {
3915
+ }).map((_ref2) => {
3924
3916
  let {
3925
3917
  name
3926
3918
  } = _ref2;