kaabalah 3.3.1 → 4.1.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.
Files changed (87) hide show
  1. package/dist/astrology/index.d.mts +47 -22
  2. package/dist/astrology/index.d.ts +47 -22
  3. package/dist/astrology/index.js +21 -17
  4. package/dist/astrology/index.mjs +2 -2
  5. package/dist/chunk-2TAUU4AE.js +836 -0
  6. package/dist/chunk-2TAUU4AE.js.map +1 -0
  7. package/dist/{chunk-JJ76YVMI.js → chunk-4GW52TEP.js} +18 -18
  8. package/dist/{chunk-JJ76YVMI.js.map → chunk-4GW52TEP.js.map} +1 -1
  9. package/dist/chunk-CGCEKFLD.js +685 -0
  10. package/dist/chunk-CGCEKFLD.js.map +1 -0
  11. package/dist/chunk-FM7WUVZV.js +26 -0
  12. package/dist/{chunk-2TUXWMP5.js.map → chunk-FM7WUVZV.js.map} +1 -1
  13. package/dist/chunk-KP7RTWRA.mjs +820 -0
  14. package/dist/chunk-KP7RTWRA.mjs.map +1 -0
  15. package/dist/{chunk-7CAIYKIO.js → chunk-LWX4YXES.js} +6 -6
  16. package/dist/{chunk-7CAIYKIO.js.map → chunk-LWX4YXES.js.map} +1 -1
  17. package/dist/{chunk-5ISXTWFX.mjs → chunk-MAK5YPPE.mjs} +3 -3
  18. package/dist/{chunk-5ISXTWFX.mjs.map → chunk-MAK5YPPE.mjs.map} +1 -1
  19. package/dist/chunk-P7VAKSJY.mjs +671 -0
  20. package/dist/chunk-P7VAKSJY.mjs.map +1 -0
  21. package/dist/chunk-WY6NIR2V.mjs +21 -0
  22. package/dist/{chunk-PY5SMMJB.mjs.map → chunk-WY6NIR2V.mjs.map} +1 -1
  23. package/dist/{chunk-3LUQXNH6.mjs → chunk-XQ6PO4OP.mjs} +3 -3
  24. package/dist/{chunk-3LUQXNH6.mjs.map → chunk-XQ6PO4OP.mjs.map} +1 -1
  25. package/dist/core/index.js +37 -37
  26. package/dist/core/index.mjs +2 -2
  27. package/dist/gematria/index.js +4 -4
  28. package/dist/gematria/index.mjs +3 -3
  29. package/dist/ifa/index.js +1 -1
  30. package/dist/ifa/index.mjs +1 -1
  31. package/dist/index.d.mts +2 -2
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index.js +78 -74
  34. package/dist/index.mjs +5 -5
  35. package/dist/numerology/index.d.mts +171 -57
  36. package/dist/numerology/index.d.ts +171 -57
  37. package/dist/numerology/index.js +22 -22
  38. package/dist/numerology/index.mjs +4 -4
  39. package/dist/swisseph.js +1 -1
  40. package/dist/swisseph.node-2K5IHMKE.wasm +0 -0
  41. package/dist/swisseph.node-6H4ISR7M.mjs +3356 -0
  42. package/dist/swisseph.node-6H4ISR7M.mjs.map +1 -0
  43. package/dist/swisseph.node-UD2JYYLE.js +3358 -0
  44. package/dist/swisseph.node-UD2JYYLE.js.map +1 -0
  45. package/dist/swisseph.node.js +30 -0
  46. package/dist/swisseph.node.wasm +0 -0
  47. package/dist/swisseph.wasm +0 -0
  48. package/dist/swisseph.web-2K5IHMKE.wasm +0 -0
  49. package/dist/{chunk-T2JS2IJN.js → swisseph.web-MXYBWOOS.js} +43 -472
  50. package/dist/swisseph.web-MXYBWOOS.js.map +1 -0
  51. package/dist/{chunk-S6GM43CR.mjs → swisseph.web-TSFJI7DQ.mjs} +30 -448
  52. package/dist/swisseph.web-TSFJI7DQ.mjs.map +1 -0
  53. package/dist/swisseph.web.js +30 -0
  54. package/dist/swisseph.web.wasm +0 -0
  55. package/dist/tarot/index.js +1 -1
  56. package/dist/tarot/index.mjs +1 -1
  57. package/dist/wasm/build/swisseph.js +1 -1
  58. package/dist/wasm/build/swisseph.node-2K5IHMKE.wasm +0 -0
  59. package/dist/wasm/build/swisseph.node-6H4ISR7M.mjs +3356 -0
  60. package/dist/wasm/build/swisseph.node-6H4ISR7M.mjs.map +1 -0
  61. package/dist/wasm/build/swisseph.node-UD2JYYLE.js +3358 -0
  62. package/dist/wasm/build/swisseph.node-UD2JYYLE.js.map +1 -0
  63. package/dist/wasm/build/swisseph.node.js +30 -0
  64. package/dist/wasm/build/swisseph.node.wasm +0 -0
  65. package/dist/wasm/build/swisseph.wasm +0 -0
  66. package/dist/wasm/build/swisseph.web-2K5IHMKE.wasm +0 -0
  67. package/dist/wasm/build/swisseph.web-MXYBWOOS.js +3055 -0
  68. package/dist/wasm/build/swisseph.web-MXYBWOOS.js.map +1 -0
  69. package/dist/wasm/build/swisseph.web-TSFJI7DQ.mjs +3053 -0
  70. package/dist/wasm/build/swisseph.web-TSFJI7DQ.mjs.map +1 -0
  71. package/dist/wasm/build/swisseph.web.js +30 -0
  72. package/dist/wasm/build/swisseph.web.wasm +0 -0
  73. package/package.json +1 -1
  74. package/wasm/build/swisseph.js +1 -1
  75. package/wasm/build/swisseph.node.js +30 -0
  76. package/wasm/build/swisseph.node.wasm +0 -0
  77. package/wasm/build/swisseph.wasm +0 -0
  78. package/wasm/build/swisseph.web.js +30 -0
  79. package/wasm/build/swisseph.web.wasm +0 -0
  80. package/dist/chunk-2TUXWMP5.js +0 -47
  81. package/dist/chunk-4IMODQPK.js +0 -495
  82. package/dist/chunk-4IMODQPK.js.map +0 -1
  83. package/dist/chunk-6DHXZLYH.mjs +0 -479
  84. package/dist/chunk-6DHXZLYH.mjs.map +0 -1
  85. package/dist/chunk-PY5SMMJB.mjs +0 -41
  86. package/dist/chunk-S6GM43CR.mjs.map +0 -1
  87. package/dist/chunk-T2JS2IJN.js.map +0 -1
@@ -19,6 +19,10 @@ declare enum Planet {
19
19
  LILITH_TRUE = 13,
20
20
  CHIRON = 15
21
21
  }
22
+ declare enum VirtualNodes {
23
+ PARS_FORTUNAE = "parsFortunae"
24
+ }
25
+ declare const PLANET_AND_NODE_NAMES: Record<string, string>;
22
26
  declare enum HouseSystem {
23
27
  PLACIDUS = "P",
24
28
  KOCH = "K",
@@ -46,6 +50,14 @@ declare enum CalcFlag {
46
50
  TOPOCTR = 32768,
47
51
  SIDEREAL = 65536
48
52
  }
53
+ interface PlanetPosition {
54
+ longitude: number;
55
+ latitude: number;
56
+ distance: number;
57
+ longitudeSpeed?: number;
58
+ latitudeSpeed?: number;
59
+ distanceSpeed?: number;
60
+ }
49
61
  declare const normalizeAngle: (deg: number) => number;
50
62
 
51
63
  /**
@@ -76,17 +88,41 @@ interface BirthChartOptions {
76
88
  timezone: number;
77
89
  houseSystem?: HouseSystem;
78
90
  }
91
+ type ZodiacPosition = {
92
+ sign: string;
93
+ decimalDegrees: number;
94
+ traditionalFormat: string;
95
+ decimal: string;
96
+ longitude: number;
97
+ house: number;
98
+ };
99
+ type HydratedNode = ZodiacPosition & {
100
+ id: VirtualNodes;
101
+ name: string;
102
+ };
103
+ type HydratedPlanet = PlanetPosition & {
104
+ id: Planet;
105
+ name: string;
106
+ zodiacPosition: ZodiacPosition;
107
+ };
79
108
  interface BirthChart {
80
109
  dateUtc: Date;
81
- planets: Record<string, {
82
- longitude: number;
83
- latitude: number;
84
- distance: number;
85
- }>;
110
+ planets: Record<string, HydratedPlanet>;
111
+ nodes: Record<string, HydratedNode>;
86
112
  houses: {
87
- houses: number[];
88
- ascendant: number;
89
- mc: number;
113
+ ascendant: ZodiacPosition;
114
+ mc: ZodiacPosition;
115
+ dc: ZodiacPosition;
116
+ ic: ZodiacPosition;
117
+ houses: ZodiacPosition[];
118
+ ascmc?: {
119
+ armc?: ZodiacPosition;
120
+ vertex?: ZodiacPosition;
121
+ equasc?: ZodiacPosition;
122
+ coasc1?: ZodiacPosition;
123
+ coasc2?: ZodiacPosition;
124
+ polasc?: ZodiacPosition;
125
+ };
90
126
  };
91
127
  }
92
128
  /**
@@ -110,18 +146,7 @@ declare function formatDegreeMinutes(decimalDegrees: number): string;
110
146
  * @param longitude Longitude in decimal degrees (0-360)
111
147
  * @returns Formatted zodiac position with both decimal and traditional format
112
148
  */
113
- declare function getZodiacPosition(longitude: number): {
114
- sign: string;
115
- decimalDegrees: number;
116
- traditionalFormat: string;
117
- decimal: string;
118
- };
119
- declare function formatHouseCusps(houses360: number[]): {
120
- house: number;
121
- sign: string;
122
- degree: string;
123
- longitude: number;
124
- }[];
125
- declare function findHouseOf(longitude: number, cusps360: number[]): number;
149
+ declare function getZodiacPosition(longitude: number, houseCusps: number[]): ZodiacPosition;
150
+ declare function findHouseOf(longitude: number, housePositions: number[]): number;
126
151
 
127
- export { type BirthChart, type BirthChartOptions, CalcFlag, HouseSystem, Planet, SIGNS, closeSwissEph, findHouseOf, formatDegreeMinutes, formatHouseCusps, getBirthChart, getSwissEph, getZodiacPosition, normalizeAngle };
152
+ export { type BirthChart, type BirthChartOptions, CalcFlag, HouseSystem, type HydratedNode, type HydratedPlanet, PLANET_AND_NODE_NAMES, Planet, SIGNS, VirtualNodes, type ZodiacPosition, closeSwissEph, findHouseOf, formatDegreeMinutes, getBirthChart, getSwissEph, getZodiacPosition, normalizeAngle };
@@ -19,6 +19,10 @@ declare enum Planet {
19
19
  LILITH_TRUE = 13,
20
20
  CHIRON = 15
21
21
  }
22
+ declare enum VirtualNodes {
23
+ PARS_FORTUNAE = "parsFortunae"
24
+ }
25
+ declare const PLANET_AND_NODE_NAMES: Record<string, string>;
22
26
  declare enum HouseSystem {
23
27
  PLACIDUS = "P",
24
28
  KOCH = "K",
@@ -46,6 +50,14 @@ declare enum CalcFlag {
46
50
  TOPOCTR = 32768,
47
51
  SIDEREAL = 65536
48
52
  }
53
+ interface PlanetPosition {
54
+ longitude: number;
55
+ latitude: number;
56
+ distance: number;
57
+ longitudeSpeed?: number;
58
+ latitudeSpeed?: number;
59
+ distanceSpeed?: number;
60
+ }
49
61
  declare const normalizeAngle: (deg: number) => number;
50
62
 
51
63
  /**
@@ -76,17 +88,41 @@ interface BirthChartOptions {
76
88
  timezone: number;
77
89
  houseSystem?: HouseSystem;
78
90
  }
91
+ type ZodiacPosition = {
92
+ sign: string;
93
+ decimalDegrees: number;
94
+ traditionalFormat: string;
95
+ decimal: string;
96
+ longitude: number;
97
+ house: number;
98
+ };
99
+ type HydratedNode = ZodiacPosition & {
100
+ id: VirtualNodes;
101
+ name: string;
102
+ };
103
+ type HydratedPlanet = PlanetPosition & {
104
+ id: Planet;
105
+ name: string;
106
+ zodiacPosition: ZodiacPosition;
107
+ };
79
108
  interface BirthChart {
80
109
  dateUtc: Date;
81
- planets: Record<string, {
82
- longitude: number;
83
- latitude: number;
84
- distance: number;
85
- }>;
110
+ planets: Record<string, HydratedPlanet>;
111
+ nodes: Record<string, HydratedNode>;
86
112
  houses: {
87
- houses: number[];
88
- ascendant: number;
89
- mc: number;
113
+ ascendant: ZodiacPosition;
114
+ mc: ZodiacPosition;
115
+ dc: ZodiacPosition;
116
+ ic: ZodiacPosition;
117
+ houses: ZodiacPosition[];
118
+ ascmc?: {
119
+ armc?: ZodiacPosition;
120
+ vertex?: ZodiacPosition;
121
+ equasc?: ZodiacPosition;
122
+ coasc1?: ZodiacPosition;
123
+ coasc2?: ZodiacPosition;
124
+ polasc?: ZodiacPosition;
125
+ };
90
126
  };
91
127
  }
92
128
  /**
@@ -110,18 +146,7 @@ declare function formatDegreeMinutes(decimalDegrees: number): string;
110
146
  * @param longitude Longitude in decimal degrees (0-360)
111
147
  * @returns Formatted zodiac position with both decimal and traditional format
112
148
  */
113
- declare function getZodiacPosition(longitude: number): {
114
- sign: string;
115
- decimalDegrees: number;
116
- traditionalFormat: string;
117
- decimal: string;
118
- };
119
- declare function formatHouseCusps(houses360: number[]): {
120
- house: number;
121
- sign: string;
122
- degree: string;
123
- longitude: number;
124
- }[];
125
- declare function findHouseOf(longitude: number, cusps360: number[]): number;
149
+ declare function getZodiacPosition(longitude: number, houseCusps: number[]): ZodiacPosition;
150
+ declare function findHouseOf(longitude: number, housePositions: number[]): number;
126
151
 
127
- export { type BirthChart, type BirthChartOptions, CalcFlag, HouseSystem, Planet, SIGNS, closeSwissEph, findHouseOf, formatDegreeMinutes, formatHouseCusps, getBirthChart, getSwissEph, getZodiacPosition, normalizeAngle };
152
+ export { type BirthChart, type BirthChartOptions, CalcFlag, HouseSystem, type HydratedNode, type HydratedPlanet, PLANET_AND_NODE_NAMES, Planet, SIGNS, VirtualNodes, type ZodiacPosition, closeSwissEph, findHouseOf, formatDegreeMinutes, getBirthChart, getSwissEph, getZodiacPosition, normalizeAngle };
@@ -1,57 +1,61 @@
1
1
  'use strict';
2
2
 
3
- var chunkT2JS2IJN_js = require('../chunk-T2JS2IJN.js');
4
- require('../chunk-2TUXWMP5.js');
3
+ var chunkCGCEKFLD_js = require('../chunk-CGCEKFLD.js');
4
+ require('../chunk-FM7WUVZV.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "CalcFlag", {
9
9
  enumerable: true,
10
- get: function () { return chunkT2JS2IJN_js.CalcFlag; }
10
+ get: function () { return chunkCGCEKFLD_js.CalcFlag; }
11
11
  });
12
12
  Object.defineProperty(exports, "HouseSystem", {
13
13
  enumerable: true,
14
- get: function () { return chunkT2JS2IJN_js.HouseSystem; }
14
+ get: function () { return chunkCGCEKFLD_js.HouseSystem; }
15
+ });
16
+ Object.defineProperty(exports, "PLANET_AND_NODE_NAMES", {
17
+ enumerable: true,
18
+ get: function () { return chunkCGCEKFLD_js.PLANET_AND_NODE_NAMES; }
15
19
  });
16
20
  Object.defineProperty(exports, "Planet", {
17
21
  enumerable: true,
18
- get: function () { return chunkT2JS2IJN_js.Planet; }
22
+ get: function () { return chunkCGCEKFLD_js.Planet; }
19
23
  });
20
24
  Object.defineProperty(exports, "SIGNS", {
21
25
  enumerable: true,
22
- get: function () { return chunkT2JS2IJN_js.SIGNS; }
26
+ get: function () { return chunkCGCEKFLD_js.SIGNS; }
27
+ });
28
+ Object.defineProperty(exports, "VirtualNodes", {
29
+ enumerable: true,
30
+ get: function () { return chunkCGCEKFLD_js.VirtualNodes; }
23
31
  });
24
32
  Object.defineProperty(exports, "closeSwissEph", {
25
33
  enumerable: true,
26
- get: function () { return chunkT2JS2IJN_js.closeSwissEph; }
34
+ get: function () { return chunkCGCEKFLD_js.closeSwissEph; }
27
35
  });
28
36
  Object.defineProperty(exports, "findHouseOf", {
29
37
  enumerable: true,
30
- get: function () { return chunkT2JS2IJN_js.findHouseOf; }
38
+ get: function () { return chunkCGCEKFLD_js.findHouseOf; }
31
39
  });
32
40
  Object.defineProperty(exports, "formatDegreeMinutes", {
33
41
  enumerable: true,
34
- get: function () { return chunkT2JS2IJN_js.formatDegreeMinutes; }
35
- });
36
- Object.defineProperty(exports, "formatHouseCusps", {
37
- enumerable: true,
38
- get: function () { return chunkT2JS2IJN_js.formatHouseCusps; }
42
+ get: function () { return chunkCGCEKFLD_js.formatDegreeMinutes; }
39
43
  });
40
44
  Object.defineProperty(exports, "getBirthChart", {
41
45
  enumerable: true,
42
- get: function () { return chunkT2JS2IJN_js.getBirthChart; }
46
+ get: function () { return chunkCGCEKFLD_js.getBirthChart; }
43
47
  });
44
48
  Object.defineProperty(exports, "getSwissEph", {
45
49
  enumerable: true,
46
- get: function () { return chunkT2JS2IJN_js.getSwissEph; }
50
+ get: function () { return chunkCGCEKFLD_js.getSwissEph; }
47
51
  });
48
52
  Object.defineProperty(exports, "getZodiacPosition", {
49
53
  enumerable: true,
50
- get: function () { return chunkT2JS2IJN_js.getZodiacPosition; }
54
+ get: function () { return chunkCGCEKFLD_js.getZodiacPosition; }
51
55
  });
52
56
  Object.defineProperty(exports, "normalizeAngle", {
53
57
  enumerable: true,
54
- get: function () { return chunkT2JS2IJN_js.normalizeAngle; }
58
+ get: function () { return chunkCGCEKFLD_js.normalizeAngle; }
55
59
  });
56
60
  //# sourceMappingURL=index.js.map
57
61
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { CalcFlag, HouseSystem, Planet, SIGNS, closeSwissEph, findHouseOf, formatDegreeMinutes, formatHouseCusps, getBirthChart, getSwissEph, getZodiacPosition, normalizeAngle } from '../chunk-S6GM43CR.mjs';
2
- import '../chunk-PY5SMMJB.mjs';
1
+ export { CalcFlag, HouseSystem, PLANET_AND_NODE_NAMES, Planet, SIGNS, VirtualNodes, closeSwissEph, findHouseOf, formatDegreeMinutes, getBirthChart, getSwissEph, getZodiacPosition, normalizeAngle } from '../chunk-P7VAKSJY.mjs';
2
+ import '../chunk-WY6NIR2V.mjs';
3
3
  //# sourceMappingURL=index.mjs.map
4
4
  //# sourceMappingURL=index.mjs.map