circuit-json 0.0.340 → 0.0.341

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/README.md +0 -41
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -163,7 +163,6 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
163
163
  - [SchematicTrace](#schematictrace)
164
164
  - [SchematicVoltageProbe](#schematicvoltageprobe)
165
165
  - [Simulation Elements](#simulation-elements)
166
- - [SimulationCurrentSource](#simulationcurrentsource)
167
166
  - [SimulationExperiment](#simulationexperiment)
168
167
  - [SimulationSwitch](#simulationswitch)
169
168
  - [SimulationTransientVoltageGraph](#simulationtransientvoltagegraph)
@@ -2694,46 +2693,6 @@ interface SchematicVoltageProbe {
2694
2693
 
2695
2694
  ## Simulation Elements
2696
2695
 
2697
- ### SimulationCurrentSource
2698
-
2699
- [Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_current_source.ts)
2700
-
2701
- ```typescript
2702
- type SimulationCurrentSource =
2703
- | SimulationDcCurrentSource
2704
- | SimulationAcCurrentSource
2705
-
2706
- /** Defines a DC current source for simulation purposes. It forces a current
2707
- * between two source ports. */
2708
- interface SimulationDcCurrentSource {
2709
- type: "simulation_current_source"
2710
- simulation_current_source_id: string
2711
- is_dc_source: true
2712
- positive_source_port_id?: string
2713
- positive_source_net_id?: string
2714
- negative_source_port_id?: string
2715
- negative_source_net_id?: string
2716
- current: number
2717
- }
2718
-
2719
- /** Defines an AC current source for simulation purposes. */
2720
- interface SimulationAcCurrentSource {
2721
- type: "simulation_current_source"
2722
- simulation_current_source_id: string
2723
- is_dc_source: false
2724
- terminal1_source_port_id?: string
2725
- terminal2_source_port_id?: string
2726
- terminal1_source_net_id?: string
2727
- terminal2_source_net_id?: string
2728
- current?: number
2729
- frequency?: number
2730
- peak_to_peak_current?: number
2731
- wave_shape?: WaveShape
2732
- phase?: number
2733
- duty_cycle?: number
2734
- }
2735
- ```
2736
-
2737
2696
  ### SimulationExperiment
2738
2697
 
2739
2698
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_experiment.ts)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "circuit-json",
3
- "version": "0.0.340",
3
+ "version": "0.0.341",
4
4
  "author": "",
5
5
  "main": "dist/index.mjs",
6
6
  "devDependencies": {