bx-rest 0.0.30 → 0.0.31

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.
@@ -1743,7 +1743,7 @@ class BXRest extends new Proxy(BXRestBase, {
1743
1743
  get(target, prop, receiver) {
1744
1744
  const res = Reflect.get(target, prop, receiver);
1745
1745
  console.log('res', res);
1746
- if (typeof res === 'function') {
1746
+ if (typeof res === 'function' && res.hasOwnProperty('pipe')) {
1747
1747
  // let mapRes = new BXRestListsElementMap()
1748
1748
  console.log('res', res);
1749
1749
  return Reflect.get(target, prop, receiver).pipe(