@bian-womp/spark-graph 0.3.60 → 0.3.61
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/lib/cjs/index.cjs
CHANGED
|
@@ -877,18 +877,10 @@ class Graph {
|
|
|
877
877
|
const edge = this.edges.find((e) => e.id === edgeId);
|
|
878
878
|
if (!edge)
|
|
879
879
|
return;
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
edge.srcUnionTypes = updates.srcUnionTypes;
|
|
885
|
-
}
|
|
886
|
-
if (updates.convert !== undefined) {
|
|
887
|
-
edge.convert = updates.convert;
|
|
888
|
-
}
|
|
889
|
-
if (updates.convertAsync !== undefined) {
|
|
890
|
-
edge.convertAsync = updates.convertAsync;
|
|
891
|
-
}
|
|
880
|
+
edge.dstDeclared = updates.dstDeclared;
|
|
881
|
+
edge.srcUnionTypes = updates.srcUnionTypes;
|
|
882
|
+
edge.convert = updates.convert;
|
|
883
|
+
edge.convertAsync = updates.convertAsync;
|
|
892
884
|
}
|
|
893
885
|
/**
|
|
894
886
|
* Update edge stats
|