@feathersjs/client 5.0.14 → 5.0.16

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/dist/feathers.js CHANGED
@@ -32,13 +32,13 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
32
32
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
33
33
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
34
34
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
35
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
36
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
37
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
35
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
38
36
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
39
37
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
40
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
38
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
41
39
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
40
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
41
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
42
42
  Object.defineProperty(exports, "__esModule", ({
43
43
  value: true
44
44
  }));
@@ -47,10 +47,9 @@ var errors_1 = __webpack_require__(/*! @feathersjs/errors */ "../errors/lib/inde
47
47
  var storage_1 = __webpack_require__(/*! ./storage */ "../authentication-client/lib/storage.js");
48
48
  var OauthError = /*#__PURE__*/function (_errors_1$FeathersErr) {
49
49
  _inherits(OauthError, _errors_1$FeathersErr);
50
- var _super = _createSuper(OauthError);
51
50
  function OauthError(message, data) {
52
51
  _classCallCheck(this, OauthError);
53
- return _super.call(this, message, 'OauthError', 401, 'oauth-error', data);
52
+ return _callSuper(this, OauthError, [message, 'OauthError', 401, 'oauth-error', data]);
54
53
  }
55
54
  return _createClass(OauthError);
56
55
  }(errors_1.FeathersError);
@@ -773,13 +772,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
773
772
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
774
773
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
775
774
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
776
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
777
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
775
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
778
776
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
779
777
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
778
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
780
779
  function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
781
- function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
782
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
780
+ function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }
781
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
783
782
  function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } }
784
783
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
785
784
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
@@ -789,7 +788,6 @@ Object.defineProperty(exports, "__esModule", ({
789
788
  exports.convert = exports.errors = exports.Unavailable = exports.BadGateway = exports.NotImplemented = exports.GeneralError = exports.TooManyRequests = exports.Unprocessable = exports.LengthRequired = exports.Gone = exports.Conflict = exports.Timeout = exports.NotAcceptable = exports.MethodNotAllowed = exports.NotFound = exports.Forbidden = exports.PaymentError = exports.NotAuthenticated = exports.BadRequest = exports.FeathersError = void 0;
790
789
  var FeathersError = /*#__PURE__*/function (_Error) {
791
790
  _inherits(FeathersError, _Error);
792
- var _super = _createSuper(FeathersError);
793
791
  function FeathersError(err, name, code, className, _data) {
794
792
  var _this;
795
793
  _classCallCheck(this, FeathersError);
@@ -811,7 +809,7 @@ var FeathersError = /*#__PURE__*/function (_Error) {
811
809
  properties.errors = errors;
812
810
  properties.data = rest;
813
811
  }
814
- _this = _super.call(this, msg);
812
+ _this = _callSuper(this, FeathersError, [msg]);
815
813
  Object.assign(_assertThisInitialized(_this), properties);
816
814
  return _this;
817
815
  }
@@ -838,10 +836,9 @@ var FeathersError = /*#__PURE__*/function (_Error) {
838
836
  exports.FeathersError = FeathersError;
839
837
  var BadRequest = /*#__PURE__*/function (_FeathersError) {
840
838
  _inherits(BadRequest, _FeathersError);
841
- var _super2 = _createSuper(BadRequest);
842
839
  function BadRequest(message, data) {
843
840
  _classCallCheck(this, BadRequest);
844
- return _super2.call(this, message, 'BadRequest', 400, 'bad-request', data);
841
+ return _callSuper(this, BadRequest, [message, 'BadRequest', 400, 'bad-request', data]);
845
842
  }
846
843
  return _createClass(BadRequest);
847
844
  }(FeathersError);
@@ -849,10 +846,9 @@ exports.BadRequest = BadRequest;
849
846
  // 401 - Not Authenticated
850
847
  var NotAuthenticated = /*#__PURE__*/function (_FeathersError2) {
851
848
  _inherits(NotAuthenticated, _FeathersError2);
852
- var _super3 = _createSuper(NotAuthenticated);
853
849
  function NotAuthenticated(message, data) {
854
850
  _classCallCheck(this, NotAuthenticated);
855
- return _super3.call(this, message, 'NotAuthenticated', 401, 'not-authenticated', data);
851
+ return _callSuper(this, NotAuthenticated, [message, 'NotAuthenticated', 401, 'not-authenticated', data]);
856
852
  }
857
853
  return _createClass(NotAuthenticated);
858
854
  }(FeathersError);
@@ -860,10 +856,9 @@ exports.NotAuthenticated = NotAuthenticated;
860
856
  // 402 - Payment Error
861
857
  var PaymentError = /*#__PURE__*/function (_FeathersError3) {
862
858
  _inherits(PaymentError, _FeathersError3);
863
- var _super4 = _createSuper(PaymentError);
864
859
  function PaymentError(message, data) {
865
860
  _classCallCheck(this, PaymentError);
866
- return _super4.call(this, message, 'PaymentError', 402, 'payment-error', data);
861
+ return _callSuper(this, PaymentError, [message, 'PaymentError', 402, 'payment-error', data]);
867
862
  }
868
863
  return _createClass(PaymentError);
869
864
  }(FeathersError);
@@ -871,10 +866,9 @@ exports.PaymentError = PaymentError;
871
866
  // 403 - Forbidden
872
867
  var Forbidden = /*#__PURE__*/function (_FeathersError4) {
873
868
  _inherits(Forbidden, _FeathersError4);
874
- var _super5 = _createSuper(Forbidden);
875
869
  function Forbidden(message, data) {
876
870
  _classCallCheck(this, Forbidden);
877
- return _super5.call(this, message, 'Forbidden', 403, 'forbidden', data);
871
+ return _callSuper(this, Forbidden, [message, 'Forbidden', 403, 'forbidden', data]);
878
872
  }
879
873
  return _createClass(Forbidden);
880
874
  }(FeathersError);
@@ -882,10 +876,9 @@ exports.Forbidden = Forbidden;
882
876
  // 404 - Not Found
883
877
  var NotFound = /*#__PURE__*/function (_FeathersError5) {
884
878
  _inherits(NotFound, _FeathersError5);
885
- var _super6 = _createSuper(NotFound);
886
879
  function NotFound(message, data) {
887
880
  _classCallCheck(this, NotFound);
888
- return _super6.call(this, message, 'NotFound', 404, 'not-found', data);
881
+ return _callSuper(this, NotFound, [message, 'NotFound', 404, 'not-found', data]);
889
882
  }
890
883
  return _createClass(NotFound);
891
884
  }(FeathersError);
@@ -893,10 +886,9 @@ exports.NotFound = NotFound;
893
886
  // 405 - Method Not Allowed
894
887
  var MethodNotAllowed = /*#__PURE__*/function (_FeathersError6) {
895
888
  _inherits(MethodNotAllowed, _FeathersError6);
896
- var _super7 = _createSuper(MethodNotAllowed);
897
889
  function MethodNotAllowed(message, data) {
898
890
  _classCallCheck(this, MethodNotAllowed);
899
- return _super7.call(this, message, 'MethodNotAllowed', 405, 'method-not-allowed', data);
891
+ return _callSuper(this, MethodNotAllowed, [message, 'MethodNotAllowed', 405, 'method-not-allowed', data]);
900
892
  }
901
893
  return _createClass(MethodNotAllowed);
902
894
  }(FeathersError);
@@ -904,10 +896,9 @@ exports.MethodNotAllowed = MethodNotAllowed;
904
896
  // 406 - Not Acceptable
905
897
  var NotAcceptable = /*#__PURE__*/function (_FeathersError7) {
906
898
  _inherits(NotAcceptable, _FeathersError7);
907
- var _super8 = _createSuper(NotAcceptable);
908
899
  function NotAcceptable(message, data) {
909
900
  _classCallCheck(this, NotAcceptable);
910
- return _super8.call(this, message, 'NotAcceptable', 406, 'not-acceptable', data);
901
+ return _callSuper(this, NotAcceptable, [message, 'NotAcceptable', 406, 'not-acceptable', data]);
911
902
  }
912
903
  return _createClass(NotAcceptable);
913
904
  }(FeathersError);
@@ -915,10 +906,9 @@ exports.NotAcceptable = NotAcceptable;
915
906
  // 408 - Timeout
916
907
  var Timeout = /*#__PURE__*/function (_FeathersError8) {
917
908
  _inherits(Timeout, _FeathersError8);
918
- var _super9 = _createSuper(Timeout);
919
909
  function Timeout(message, data) {
920
910
  _classCallCheck(this, Timeout);
921
- return _super9.call(this, message, 'Timeout', 408, 'timeout', data);
911
+ return _callSuper(this, Timeout, [message, 'Timeout', 408, 'timeout', data]);
922
912
  }
923
913
  return _createClass(Timeout);
924
914
  }(FeathersError);
@@ -926,10 +916,9 @@ exports.Timeout = Timeout;
926
916
  // 409 - Conflict
927
917
  var Conflict = /*#__PURE__*/function (_FeathersError9) {
928
918
  _inherits(Conflict, _FeathersError9);
929
- var _super10 = _createSuper(Conflict);
930
919
  function Conflict(message, data) {
931
920
  _classCallCheck(this, Conflict);
932
- return _super10.call(this, message, 'Conflict', 409, 'conflict', data);
921
+ return _callSuper(this, Conflict, [message, 'Conflict', 409, 'conflict', data]);
933
922
  }
934
923
  return _createClass(Conflict);
935
924
  }(FeathersError);
@@ -937,10 +926,9 @@ exports.Conflict = Conflict;
937
926
  // 410 - Gone
938
927
  var Gone = /*#__PURE__*/function (_FeathersError10) {
939
928
  _inherits(Gone, _FeathersError10);
940
- var _super11 = _createSuper(Gone);
941
929
  function Gone(message, data) {
942
930
  _classCallCheck(this, Gone);
943
- return _super11.call(this, message, 'Gone', 410, 'gone', data);
931
+ return _callSuper(this, Gone, [message, 'Gone', 410, 'gone', data]);
944
932
  }
945
933
  return _createClass(Gone);
946
934
  }(FeathersError);
@@ -948,10 +936,9 @@ exports.Gone = Gone;
948
936
  // 411 - Length Required
949
937
  var LengthRequired = /*#__PURE__*/function (_FeathersError11) {
950
938
  _inherits(LengthRequired, _FeathersError11);
951
- var _super12 = _createSuper(LengthRequired);
952
939
  function LengthRequired(message, data) {
953
940
  _classCallCheck(this, LengthRequired);
954
- return _super12.call(this, message, 'LengthRequired', 411, 'length-required', data);
941
+ return _callSuper(this, LengthRequired, [message, 'LengthRequired', 411, 'length-required', data]);
955
942
  }
956
943
  return _createClass(LengthRequired);
957
944
  }(FeathersError);
@@ -959,10 +946,9 @@ exports.LengthRequired = LengthRequired;
959
946
  // 422 Unprocessable
960
947
  var Unprocessable = /*#__PURE__*/function (_FeathersError12) {
961
948
  _inherits(Unprocessable, _FeathersError12);
962
- var _super13 = _createSuper(Unprocessable);
963
949
  function Unprocessable(message, data) {
964
950
  _classCallCheck(this, Unprocessable);
965
- return _super13.call(this, message, 'Unprocessable', 422, 'unprocessable', data);
951
+ return _callSuper(this, Unprocessable, [message, 'Unprocessable', 422, 'unprocessable', data]);
966
952
  }
967
953
  return _createClass(Unprocessable);
968
954
  }(FeathersError);
@@ -970,10 +956,9 @@ exports.Unprocessable = Unprocessable;
970
956
  // 429 Too Many Requests
971
957
  var TooManyRequests = /*#__PURE__*/function (_FeathersError13) {
972
958
  _inherits(TooManyRequests, _FeathersError13);
973
- var _super14 = _createSuper(TooManyRequests);
974
959
  function TooManyRequests(message, data) {
975
960
  _classCallCheck(this, TooManyRequests);
976
- return _super14.call(this, message, 'TooManyRequests', 429, 'too-many-requests', data);
961
+ return _callSuper(this, TooManyRequests, [message, 'TooManyRequests', 429, 'too-many-requests', data]);
977
962
  }
978
963
  return _createClass(TooManyRequests);
979
964
  }(FeathersError);
@@ -981,10 +966,9 @@ exports.TooManyRequests = TooManyRequests;
981
966
  // 500 - General Error
982
967
  var GeneralError = /*#__PURE__*/function (_FeathersError14) {
983
968
  _inherits(GeneralError, _FeathersError14);
984
- var _super15 = _createSuper(GeneralError);
985
969
  function GeneralError(message, data) {
986
970
  _classCallCheck(this, GeneralError);
987
- return _super15.call(this, message, 'GeneralError', 500, 'general-error', data);
971
+ return _callSuper(this, GeneralError, [message, 'GeneralError', 500, 'general-error', data]);
988
972
  }
989
973
  return _createClass(GeneralError);
990
974
  }(FeathersError);
@@ -992,10 +976,9 @@ exports.GeneralError = GeneralError;
992
976
  // 501 - Not Implemented
993
977
  var NotImplemented = /*#__PURE__*/function (_FeathersError15) {
994
978
  _inherits(NotImplemented, _FeathersError15);
995
- var _super16 = _createSuper(NotImplemented);
996
979
  function NotImplemented(message, data) {
997
980
  _classCallCheck(this, NotImplemented);
998
- return _super16.call(this, message, 'NotImplemented', 501, 'not-implemented', data);
981
+ return _callSuper(this, NotImplemented, [message, 'NotImplemented', 501, 'not-implemented', data]);
999
982
  }
1000
983
  return _createClass(NotImplemented);
1001
984
  }(FeathersError);
@@ -1003,10 +986,9 @@ exports.NotImplemented = NotImplemented;
1003
986
  // 502 - Bad Gateway
1004
987
  var BadGateway = /*#__PURE__*/function (_FeathersError16) {
1005
988
  _inherits(BadGateway, _FeathersError16);
1006
- var _super17 = _createSuper(BadGateway);
1007
989
  function BadGateway(message, data) {
1008
990
  _classCallCheck(this, BadGateway);
1009
- return _super17.call(this, message, 'BadGateway', 502, 'bad-gateway', data);
991
+ return _callSuper(this, BadGateway, [message, 'BadGateway', 502, 'bad-gateway', data]);
1010
992
  }
1011
993
  return _createClass(BadGateway);
1012
994
  }(FeathersError);
@@ -1014,10 +996,9 @@ exports.BadGateway = BadGateway;
1014
996
  // 503 - Unavailable
1015
997
  var Unavailable = /*#__PURE__*/function (_FeathersError17) {
1016
998
  _inherits(Unavailable, _FeathersError17);
1017
- var _super18 = _createSuper(Unavailable);
1018
999
  function Unavailable(message, data) {
1019
1000
  _classCallCheck(this, Unavailable);
1020
- return _super18.call(this, message, 'Unavailable', 503, 'unavailable', data);
1001
+ return _callSuper(this, Unavailable, [message, 'Unavailable', 503, 'unavailable', data]);
1021
1002
  }
1022
1003
  return _createClass(Unavailable);
1023
1004
  }(FeathersError);
@@ -1094,13 +1075,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
1094
1075
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1095
1076
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
1096
1077
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1097
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1098
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1099
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1078
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1100
1079
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1101
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1102
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1080
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1103
1081
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1082
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1083
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1084
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1104
1085
  var __importDefault = this && this.__importDefault || function (mod) {
1105
1086
  return mod && mod.__esModule ? mod : {
1106
1087
  "default": mod
@@ -1121,11 +1102,10 @@ var hooks_3 = __webpack_require__(/*! ./hooks */ "../feathers/lib/hooks.js");
1121
1102
  var debug = (0, commons_1.createDebug)('@feathersjs/feathers');
1122
1103
  var Feathers = /*#__PURE__*/function (_events_1$EventEmitte) {
1123
1104
  _inherits(Feathers, _events_1$EventEmitte);
1124
- var _super = _createSuper(Feathers);
1125
1105
  function Feathers() {
1126
1106
  var _this;
1127
1107
  _classCallCheck(this, Feathers);
1128
- _this = _super.call(this);
1108
+ _this = _callSuper(this, Feathers);
1129
1109
  _this.services = {};
1130
1110
  _this.settings = {};
1131
1111
  _this.mixins = [hooks_2.hookMixin, events_2.eventMixin];
@@ -1396,15 +1376,15 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
1396
1376
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1397
1377
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
1398
1378
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1379
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1380
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1381
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1382
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1399
1383
  function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
1400
1384
  function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
1385
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1401
1386
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1402
1387
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1403
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1404
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1405
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1406
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1407
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1408
1388
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
1409
1389
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1410
1390
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -1520,11 +1500,10 @@ function createContext(service, method) {
1520
1500
  exports.createContext = createContext;
1521
1501
  var FeathersHookManager = /*#__PURE__*/function (_hooks_1$HookManager) {
1522
1502
  _inherits(FeathersHookManager, _hooks_1$HookManager);
1523
- var _super = _createSuper(FeathersHookManager);
1524
1503
  function FeathersHookManager(app, method) {
1525
1504
  var _this;
1526
1505
  _classCallCheck(this, FeathersHookManager);
1527
- _this = _super.call(this);
1506
+ _this = _callSuper(this, FeathersHookManager);
1528
1507
  _this.app = app;
1529
1508
  _this.method = method;
1530
1509
  _this._middleware = [];
@@ -1774,7 +1753,7 @@ exports.wrapService = wrapService;
1774
1753
  Object.defineProperty(exports, "__esModule", ({
1775
1754
  value: true
1776
1755
  }));
1777
- exports["default"] = 'development';
1756
+ exports["default"] = '5.0.15';
1778
1757
 
1779
1758
  /***/ }),
1780
1759
 
@@ -1793,13 +1772,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
1793
1772
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1794
1773
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
1795
1774
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1796
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1797
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1798
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1775
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1799
1776
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1800
1777
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1801
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1778
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1802
1779
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1780
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1781
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1803
1782
  Object.defineProperty(exports, "__esModule", ({
1804
1783
  value: true
1805
1784
  }));
@@ -1807,10 +1786,9 @@ exports.AxiosClient = void 0;
1807
1786
  var base_1 = __webpack_require__(/*! ./base */ "../rest-client/lib/base.js");
1808
1787
  var AxiosClient = /*#__PURE__*/function (_base_1$Base) {
1809
1788
  _inherits(AxiosClient, _base_1$Base);
1810
- var _super = _createSuper(AxiosClient);
1811
1789
  function AxiosClient() {
1812
1790
  _classCallCheck(this, AxiosClient);
1813
- return _super.apply(this, arguments);
1791
+ return _callSuper(this, AxiosClient, arguments);
1814
1792
  }
1815
1793
  _createClass(AxiosClient, [{
1816
1794
  key: "request",
@@ -2057,13 +2035,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
2057
2035
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
2058
2036
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
2059
2037
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
2060
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
2061
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
2062
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
2038
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
2063
2039
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
2064
2040
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2065
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2041
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
2066
2042
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
2043
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
2044
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
2067
2045
  Object.defineProperty(exports, "__esModule", ({
2068
2046
  value: true
2069
2047
  }));
@@ -2072,10 +2050,9 @@ var errors_1 = __webpack_require__(/*! @feathersjs/errors */ "../errors/lib/inde
2072
2050
  var base_1 = __webpack_require__(/*! ./base */ "../rest-client/lib/base.js");
2073
2051
  var FetchClient = /*#__PURE__*/function (_base_1$Base) {
2074
2052
  _inherits(FetchClient, _base_1$Base);
2075
- var _super = _createSuper(FetchClient);
2076
2053
  function FetchClient() {
2077
2054
  _classCallCheck(this, FetchClient);
2078
- return _super.apply(this, arguments);
2055
+ return _callSuper(this, FetchClient, arguments);
2079
2056
  }
2080
2057
  _createClass(FetchClient, [{
2081
2058
  key: "request",
@@ -2230,13 +2207,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
2230
2207
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
2231
2208
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
2232
2209
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
2233
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
2234
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
2235
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
2210
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
2236
2211
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
2237
2212
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2238
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2213
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
2239
2214
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
2215
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
2216
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
2240
2217
  Object.defineProperty(exports, "__esModule", ({
2241
2218
  value: true
2242
2219
  }));
@@ -2244,10 +2221,9 @@ exports.SuperagentClient = void 0;
2244
2221
  var base_1 = __webpack_require__(/*! ./base */ "../rest-client/lib/base.js");
2245
2222
  var SuperagentClient = /*#__PURE__*/function (_base_1$Base) {
2246
2223
  _inherits(SuperagentClient, _base_1$Base);
2247
- var _super = _createSuper(SuperagentClient);
2248
2224
  function SuperagentClient() {
2249
2225
  _classCallCheck(this, SuperagentClient);
2250
- return _super.apply(this, arguments);
2226
+ return _callSuper(this, SuperagentClient, arguments);
2251
2227
  }
2252
2228
  _createClass(SuperagentClient, [{
2253
2229
  key: "request",
@@ -5361,6 +5337,9 @@ var gOPD = __webpack_require__(/*! gopd */ "../../node_modules/gopd/index.js");
5361
5337
  var $TypeError = GetIntrinsic('%TypeError%');
5362
5338
  var $floor = GetIntrinsic('%Math.floor%');
5363
5339
 
5340
+ /** @typedef {(...args: unknown[]) => unknown} Func */
5341
+
5342
+ /** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */
5364
5343
  module.exports = function setFunctionLength(fn, length) {
5365
5344
  if (typeof fn !== 'function') {
5366
5345
  throw new $TypeError('`fn` is not a function');
@@ -5385,9 +5364,9 @@ module.exports = function setFunctionLength(fn, length) {
5385
5364
 
5386
5365
  if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
5387
5366
  if (hasDescriptors) {
5388
- define(fn, 'length', length, true, true);
5367
+ define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
5389
5368
  } else {
5390
- define(fn, 'length', length);
5369
+ define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
5391
5370
  }
5392
5371
  }
5393
5372
  return fn;
@@ -5606,13 +5585,13 @@ if (true) {
5606
5585
  "use strict";
5607
5586
 
5608
5587
 
5609
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
5610
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
5611
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
5588
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
5612
5589
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
5613
5590
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5614
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
5591
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
5615
5592
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5593
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
5594
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
5616
5595
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
5617
5596
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
5618
5597
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -5792,10 +5771,9 @@ var HookManager = /*#__PURE__*/function () {
5792
5771
  var Base = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : BaseHookContext;
5793
5772
  var ContextClass = /*#__PURE__*/function (_Base) {
5794
5773
  _inherits(ContextClass, _Base);
5795
- var _super = _createSuper(ContextClass);
5796
5774
  function ContextClass(data) {
5797
5775
  _classCallCheck(this, ContextClass);
5798
- return _super.call(this, data);
5776
+ return _callSuper(this, ContextClass, [data]);
5799
5777
  }
5800
5778
  return _createClass(ContextClass);
5801
5779
  }(Base);