@tscircuit/core 0.0.114 → 0.0.115

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -704,7 +704,7 @@ var PrimitiveComponent = class extends Renderable {
704
704
  getAvailablePcbLayers() {
705
705
  if (this.isPcbPrimitive) {
706
706
  const { maybeFlipLayer } = this._getPcbPrimitiveFlippedHelpers();
707
- if ("layer" in this._parsedProps) {
707
+ if ("layer" in this._parsedProps || this.componentName === "SmtPad") {
708
708
  const layer = maybeFlipLayer(this._parsedProps.layer ?? "top");
709
709
  return [layer];
710
710
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.114",
4
+ "version": "0.0.115",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",