@narrative.io/data-collaboration-sdk-ts 2.66.0 → 2.67.0

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.
@@ -58,11 +58,10 @@ function traverseSatisfiedStructure(node, attributeByName, visitor) {
58
58
  return;
59
59
  }
60
60
  if ("anyOf" in node && Array.isArray(node.anyOf)) {
61
- // For anyOf, only traverse the FIRST satisfied branch
61
+ // For anyOf, traverse ALL satisfied branches
62
62
  for (const child of node.anyOf) {
63
63
  if (isBranchSatisfied(child, attributeByName)) {
64
64
  traverseSatisfiedStructure(child, attributeByName, visitor);
65
- return; // Only process the first satisfied branch
66
65
  }
67
66
  }
68
67
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "2.66.0",
3
+ "version": "2.67.0",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",