@claritylabs/cl-sdk 3.1.13 → 3.1.14

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
@@ -11256,7 +11256,8 @@ function appendDistinctText(base, addition) {
11256
11256
  if (!current) return next || void 0;
11257
11257
  if (!next) return current;
11258
11258
  if (current.toLowerCase().includes(next.toLowerCase())) return current;
11259
- const delimiter = /(?:[/(:;-]|,\s*)$/.test(current) || /^[a-z]+$/i.test(next) ? " " : " / ";
11259
+ const joinsWithSpace = /(?:[/(:;-]|,\s*)$/.test(current) || /\b(?:part of|including|subject to|not in addition to)$/i.test(current) || /^(?:aggregate|claim|loss|proceeding|occurrence|each\s+(?:claim|loss|proceeding|occurrence)|coverage\s+part\b)/i.test(next);
11260
+ const delimiter = joinsWithSpace ? " " : " / ";
11260
11261
  return cleanText(`${current}${delimiter}${next}`, current);
11261
11262
  }
11262
11263
  function mergedBbox(nodes) {