rest-client-sdk 7.0.0 → 7.0.2

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/index.js CHANGED
@@ -2,9 +2,10 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('urijs'), require('deep-diff')) :
3
3
  typeof define === 'function' && define.amd ? define(['exports', 'urijs', 'deep-diff'], factory) :
4
4
  (global = global || self, factory(global['rest-client-sdk'] = {}, global.URI, global.diff));
5
- }(this, (function (exports, URI, deepDiff) { 'use strict';
5
+ }(this, (function (exports, URI, diff) { 'use strict';
6
6
 
7
7
  URI = URI && Object.prototype.hasOwnProperty.call(URI, 'default') ? URI['default'] : URI;
8
+ diff = diff && Object.prototype.hasOwnProperty.call(diff, 'default') ? diff['default'] : diff;
8
9
 
9
10
  function _typeof(obj) {
10
11
  "@babel/helpers - typeof";
@@ -1683,7 +1684,7 @@
1683
1684
  * deep comparaison between objects
1684
1685
  */
1685
1686
  function objectDiffers(left, right) {
1686
- var result = deepDiff.diff(left, right);
1687
+ var result = diff(left, right);
1687
1688
  return result ? result.length > 0 : false;
1688
1689
  }
1689
1690
  /**