@valerypopoff/rivet2-core 2.29.0 → 2.32.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.
@@ -1592,6 +1592,7 @@ function toSerializedNode(node, allNodes, allConnections) {
1592
1592
  return {
1593
1593
  description: ((_a = node.description) == null ? void 0 : _a.trim()) ? node.description : void 0,
1594
1594
  visualData: packVisualDataV4(node),
1595
+ dataBusChannelOrder: node.visualData.dataBusChannelOrder,
1595
1596
  isSplitRun: node.isSplitRun ? true : void 0,
1596
1597
  splitRunMax: node.isSplitRun ? node.splitRunMax : void 0,
1597
1598
  splitRunConcurrency: node.isSplitRun ? node.splitRunConcurrency : void 0,
@@ -1627,7 +1628,8 @@ function fromSerializedNode2(serializedNode, serializedNodeInfo) {
1627
1628
  y,
1628
1629
  width,
1629
1630
  zIndex,
1630
- color
1631
+ color,
1632
+ ...Array.isArray(serializedNode.dataBusChannelOrder) ? { dataBusChannelOrder: serializedNode.dataBusChannelOrder } : {}
1631
1633
  },
1632
1634
  data: serializedNode.data ?? {},
1633
1635
  variants: serializedNode.variants ?? [],