@gen3/core 0.12.65 → 0.12.66

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/cjs/index.js CHANGED
@@ -1593,8 +1593,8 @@ const isOperationWithField = (operation)=>{
1593
1593
  const isOperatorWithFieldAndArrayOfOperands = (operation)=>{
1594
1594
  if (typeof operation === 'object' && operation !== null && 'operands' in operation && Array.isArray(operation.operands) && 'field' in operation && typeof operation.field === 'string' // Assuming `field` should be a string
1595
1595
  ) {
1596
- const { operator } = operation.operator;
1597
- return operator === 'in' || operator === 'exclude' || operator === 'excludeifany';
1596
+ const { operator } = operation;
1597
+ return operator === 'in' || operator === 'includes' || operator === 'excludes' || operator === 'excludeifany';
1598
1598
  }
1599
1599
  return false;
1600
1600
  };