circuit-to-svg 0.0.278 → 0.0.279

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
@@ -2887,7 +2887,7 @@ function createSvgObjectsFromPcbTrace(trace, ctx) {
2887
2887
  if (!layer) continue;
2888
2888
  if (layerFilter && layer !== layerFilter) continue;
2889
2889
  const copperColor = layerNameToColor(layer, colorMap2);
2890
- const maskColor = colorMap2.soldermask[layer] ?? copperColor;
2890
+ const maskColor = colorMap2.soldermaskWithCopperUnderneath[layer];
2891
2891
  const traceWidth = "width" in start ? start.width : "width" in end ? end.width : null;
2892
2892
  const width = traceWidth ? (traceWidth * Math.abs(transform.a)).toString() : "0.3";
2893
2893
  if (showSolderMask) {
@@ -5092,7 +5092,7 @@ function getSoftwareUsedString(circuitJson) {
5092
5092
  var package_default = {
5093
5093
  name: "circuit-to-svg",
5094
5094
  type: "module",
5095
- version: "0.0.277",
5095
+ version: "0.0.278",
5096
5096
  description: "Convert Circuit JSON to SVG",
5097
5097
  main: "dist/index.js",
5098
5098
  files: [