caelus-wheel 0.14.0 → 0.16.0

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/README.md CHANGED
@@ -55,4 +55,4 @@ counterclockwise.
55
55
  - [caelus](https://www.npmjs.com/package/caelus) — the engine
56
56
  - [caelus-birth](https://www.npmjs.com/package/caelus-birth) — local birth time + place → UT
57
57
  - caelus-wheel — this package
58
- - [caelus-mcp](https://www.npmjs.com/package/caelus-mcp) — MCP server, twenty-two chart tools over stdio
58
+ - [caelus-mcp](https://www.npmjs.com/package/caelus-mcp) — MCP server, twenty-seven chart tools over stdio
@@ -23,7 +23,7 @@ export interface WheelAspect {
23
23
  orb: number;
24
24
  }
25
25
  export interface WheelChart {
26
- bodies: Record<string, WheelPosition>;
26
+ bodies: Record<string, WheelPosition | undefined>;
27
27
  angles: {
28
28
  asc: number;
29
29
  mc: number;
@@ -17,8 +17,9 @@ export interface SpherePosition {
17
17
  }
18
18
  export interface SphereChart {
19
19
  /** Bodies with ecliptic longitude AND latitude (the caelus chart's bodies
20
- * satisfy this as-is). */
21
- bodies: Record<string, SpherePosition>;
20
+ * satisfy this as-is). A body may be absent (e.g. Chiron outside its fitted
21
+ * range); the component filters these out before reading them. */
22
+ bodies: Record<string, SpherePosition | undefined>;
22
23
  }
23
24
  export interface ChartSphereProps {
24
25
  chart: SphereChart;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "caelus-wheel",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "description": "React SVG chart wheel for caelus: zodiac, houses, planets with collision avoidance, aspect lines. SSR-safe, zero runtime dependencies.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",