@one-commerce/sdk-core 1.19.7 → 1.19.8

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.
@@ -57,18 +57,17 @@ function _inherits(subClass, superClass) {
57
57
  }
58
58
 
59
59
  function _getPrototypeOf(o) {
60
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
60
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
61
61
  return o.__proto__ || Object.getPrototypeOf(o);
62
62
  };
63
63
  return _getPrototypeOf(o);
64
64
  }
65
65
 
66
66
  function _setPrototypeOf(o, p) {
67
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
67
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
68
68
  o.__proto__ = p;
69
69
  return o;
70
70
  };
71
-
72
71
  return _setPrototypeOf(o, p);
73
72
  }
74
73