@tscircuit/core 0.0.108 → 0.0.109
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 +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3010,8 +3010,8 @@ var Capacitor = class extends NormalComponent {
|
|
|
3010
3010
|
};
|
|
3011
3011
|
}
|
|
3012
3012
|
initPorts() {
|
|
3013
|
-
this.add(new Port({ name: "pin1", pinNumber: 1, aliases: ["anode", "pos"] }));
|
|
3014
|
-
this.add(new Port({ name: "pin2", pinNumber: 2, aliases: ["cathode", "neg"] }));
|
|
3013
|
+
this.add(new Port({ name: "pin1", pinNumber: 1, aliases: ["anode", "pos", "left"] }));
|
|
3014
|
+
this.add(new Port({ name: "pin2", pinNumber: 2, aliases: ["cathode", "neg", "right"] }));
|
|
3015
3015
|
}
|
|
3016
3016
|
doInitialCreateNetsFromProps() {
|
|
3017
3017
|
this._createNetsFromProps([
|
|
@@ -3534,8 +3534,8 @@ var Resistor = class extends NormalComponent {
|
|
|
3534
3534
|
};
|
|
3535
3535
|
}
|
|
3536
3536
|
initPorts() {
|
|
3537
|
-
this.add(new Port({ name: "pin1", pinNumber: 1, aliases: ["anode", "pos"] }));
|
|
3538
|
-
this.add(new Port({ name: "pin2", pinNumber: 2, aliases: ["cathode", "neg"] }));
|
|
3537
|
+
this.add(new Port({ name: "pin1", pinNumber: 1, aliases: ["anode", "pos", "left"] }));
|
|
3538
|
+
this.add(new Port({ name: "pin2", pinNumber: 2, aliases: ["cathode", "neg", "right"] }));
|
|
3539
3539
|
}
|
|
3540
3540
|
doInitialCreateNetsFromProps() {
|
|
3541
3541
|
this._createNetsFromProps([this.props.pullupFor, this.props.pullupTo]);
|