kaabalah 1.1.3 → 1.1.5

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.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { BirthChart, BirthChartOptions, CalcFlag, HouseSystem, Planet, closeSwissEph, formatDegreeMinutes, getBirthChart, getSwissEph, getZodiacPosition } from './astrology/index.mjs';
2
- export { B as Bridge, C as ColorData, F as FOUR_WORLDS, m as HEBREW_LETTERS, n as HEBREW_LETTERS_DATA, H as HebrewLetterData, l as LATIN_LETTERS, L as LURIANIC_PATHS, w as Loader, k as MELKITZEDEKI_PATHS, M as MusicalNoteData, c as Node, b as NodeData, N as NodeId, a as NodeType, g as PLANETS, v as PartKey, P as PathData, e as SPHERES, f as SPHERE_DATA, t as SYSTEMS, S as SphereData, s as System, u as SystemKey, p as TAROT_ARKANNUS, r as TAROT_ARKANNUS_DATA, q as TAROT_DECKS, o as TAROT_SUITS, T as TarotArkAnnuData, x as TreeOfLife, U as Unloader, i as WESTERN_ELEMENTS, h as WESTERN_ZODIAC_SIGNS, j as WESTERN_ZODIAC_SIGNS_DATA, d as WesternZodiacSignData, W as WorldData } from './registry-ikCBCocm.mjs';
2
+ export { B as Bridge, C as ColorData, F as FOUR_WORLDS, m as HEBREW_LETTERS, n as HEBREW_LETTERS_DATA, H as HebrewLetterData, l as LATIN_LETTERS, L as LURIANIC_PATHS, w as Loader, k as MELKITZEDEKI_PATHS, M as MusicalNoteData, c as Node, b as NodeData, N as NodeId, a as NodeType, g as PLANETS, v as PartKey, P as PathData, e as SPHERES, f as SPHERE_DATA, t as SYSTEMS, S as SphereData, s as System, u as SystemKey, p as TAROT_ARKANNUS, r as TAROT_ARKANNUS_DATA, q as TAROT_DECKS, o as TAROT_SUITS, T as TarotArkAnnuData, x as TreeOfLife, U as Unloader, i as WESTERN_ELEMENTS, h as WESTERN_ZODIAC_SIGNS, j as WESTERN_ZODIAC_SIGNS_DATA, d as WesternZodiacSignData, W as WorldData } from './registry-BEf1897h.mjs';
3
3
  export { TreeOptions, createTree } from './core/index.mjs';
4
4
  export { calculateGematria } from './gematria/index.mjs';
5
5
  export { CYCLE_MEANINGS, Cycle, CycleInfo, calculateCycles, calculateLifePath } from './numerology/index.mjs';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { BirthChart, BirthChartOptions, CalcFlag, HouseSystem, Planet, closeSwissEph, formatDegreeMinutes, getBirthChart, getSwissEph, getZodiacPosition } from './astrology/index.js';
2
- export { B as Bridge, C as ColorData, F as FOUR_WORLDS, m as HEBREW_LETTERS, n as HEBREW_LETTERS_DATA, H as HebrewLetterData, l as LATIN_LETTERS, L as LURIANIC_PATHS, w as Loader, k as MELKITZEDEKI_PATHS, M as MusicalNoteData, c as Node, b as NodeData, N as NodeId, a as NodeType, g as PLANETS, v as PartKey, P as PathData, e as SPHERES, f as SPHERE_DATA, t as SYSTEMS, S as SphereData, s as System, u as SystemKey, p as TAROT_ARKANNUS, r as TAROT_ARKANNUS_DATA, q as TAROT_DECKS, o as TAROT_SUITS, T as TarotArkAnnuData, x as TreeOfLife, U as Unloader, i as WESTERN_ELEMENTS, h as WESTERN_ZODIAC_SIGNS, j as WESTERN_ZODIAC_SIGNS_DATA, d as WesternZodiacSignData, W as WorldData } from './registry-ikCBCocm.js';
2
+ export { B as Bridge, C as ColorData, F as FOUR_WORLDS, m as HEBREW_LETTERS, n as HEBREW_LETTERS_DATA, H as HebrewLetterData, l as LATIN_LETTERS, L as LURIANIC_PATHS, w as Loader, k as MELKITZEDEKI_PATHS, M as MusicalNoteData, c as Node, b as NodeData, N as NodeId, a as NodeType, g as PLANETS, v as PartKey, P as PathData, e as SPHERES, f as SPHERE_DATA, t as SYSTEMS, S as SphereData, s as System, u as SystemKey, p as TAROT_ARKANNUS, r as TAROT_ARKANNUS_DATA, q as TAROT_DECKS, o as TAROT_SUITS, T as TarotArkAnnuData, x as TreeOfLife, U as Unloader, i as WESTERN_ELEMENTS, h as WESTERN_ZODIAC_SIGNS, j as WESTERN_ZODIAC_SIGNS_DATA, d as WesternZodiacSignData, W as WorldData } from './registry-BEf1897h.js';
3
3
  export { TreeOptions, createTree } from './core/index.js';
4
4
  export { calculateGematria } from './gematria/index.js';
5
5
  export { CYCLE_MEANINGS, Cycle, CycleInfo, calculateCycles, calculateLifePath } from './numerology/index.js';
package/dist/index.js CHANGED
@@ -3656,52 +3656,52 @@ var LATIN_LETTERS = {
3656
3656
  \u00C3: "\xC3"
3657
3657
  };
3658
3658
  var HEBREW_LETTERS = {
3659
- ALEPH: "\u05D0",
3660
- BETH: "\u05D1",
3661
- GIMEL: "\u05D2",
3662
- DALET: "\u05D3",
3663
- HE: "\u05D4",
3664
- VAV: "\u05D5",
3665
- ZAYIN: "\u05D6",
3666
- HET: "\u05D7",
3667
- TET: "\u05D8",
3668
- YOD: "\u05D9",
3669
- KAPH: "\u05DB",
3670
- LAMED: "\u05DC",
3671
- MEM: "\u05DE",
3672
- NUN: "\u05E0",
3673
- SAMEKH: "\u05E1",
3674
- AYIN: "\u05E2",
3675
- PE: "\u05E4",
3676
- TSADI: "\u05E6",
3677
- QOPH: "\u05E7",
3678
- RESH: "\u05E8",
3679
- SHIN: "\u05E9",
3680
- TAV: "\u05EA"
3659
+ ALEPH: "Aleph",
3660
+ BETH: "Beth",
3661
+ GIMEL: "Gimel",
3662
+ DALET: "Dalet",
3663
+ HE: "He",
3664
+ VAV: "Vav",
3665
+ ZAYIN: "Zayin",
3666
+ HET: "Het",
3667
+ TET: "Tet",
3668
+ YOD: "Yod",
3669
+ KAPH: "Kaph",
3670
+ LAMED: "Lamed",
3671
+ MEM: "Mem",
3672
+ NUN: "Nun",
3673
+ SAMEKH: "Samekh",
3674
+ AYIN: "Ayin",
3675
+ PE: "Pe",
3676
+ TSADI: "Tsadi",
3677
+ QOPH: "Qoph",
3678
+ RESH: "Resh",
3679
+ SHIN: "Shin",
3680
+ TAV: "Tav"
3681
3681
  };
3682
3682
  var HEBREW_LETTERS_DATA = {
3683
- ALEPH: { gematriaValue: 1, type: "mother", symbol: "Man", hieroglyph: "Unity, central point, abstract principle", yvritMeaning: "Universal man and the human gender", transliteration: "Aleph" },
3684
- BETH: { gematriaValue: 2, type: "double", symbol: "Mouth", hieroglyph: "Woman's duality", yvritMeaning: "Man's mouth, habitation, interior", transliteration: "Beth" },
3685
- GIMEL: { gematriaValue: 3, type: "double", symbol: "Grasping hand", hieroglyph: "Expansion and growth", yvritMeaning: "Man's throat, channel", transliteration: "Gimel" },
3686
- DALET: { gematriaValue: 4, type: "double", symbol: "Breast", hieroglyph: "Universal quaternary, source of physical existence", yvritMeaning: "Abundance and nourishment", transliteration: "Dalet" },
3687
- HE: { gematriaValue: 5, type: "simple", symbol: "Breath", hieroglyph: "Universal life, men's breath, the breath, everything that animates and vivifies", yvritMeaning: "Window", transliteration: "He" },
3688
- VAV: { gematriaValue: 6, type: "simple", symbol: "Eye, ear", hieroglyph: "A point connection that separates being and non-being", yvritMeaning: "Construction nail", transliteration: "Vav" },
3689
- ZAYIN: { gematriaValue: 7, type: "simple", symbol: "Arrow", hieroglyph: "Goal, objective to achieve", yvritMeaning: "Dart, sword", transliteration: "Zayin" },
3690
- HET: { gematriaValue: 8, type: "simple", symbol: "Field", hieroglyph: "Elemental existence", yvritMeaning: "Fence", transliteration: "Het" },
3691
- TET: { gematriaValue: 9, type: "simple", symbol: "A house covering", hieroglyph: "Men's shelter, roof, shield, protection, resistance", yvritMeaning: "Serpent", transliteration: "Tet" },
3692
- YOD: { gematriaValue: 10, type: "simple", symbol: "Index finger", hieroglyph: "Potential manifestation, eternal worship", yvritMeaning: "Hand, index finger", transliteration: "Yod" },
3693
- KAPH: { gematriaValue: 20, type: "double", gematriaValueWhenEnding: 500, symbol: "Closing hand", hieroglyph: "Reflective and fleeting life", yvritMeaning: "Palm closing in the act of grasping something", transliteration: "Kaph" },
3694
- LAMED: { gematriaValue: 30, type: "simple", symbol: "Extending arm", hieroglyph: "Extension, elevation", yvritMeaning: "Sting rod, human arm representing extension, elevation", transliteration: "Lamed" },
3695
- MEM: { gematriaValue: 40, type: "mother", gematriaValueWhenEnding: 600, symbol: "Woman", hieroglyph: "External passive action, all formative and plastic principle when starting a word, collectiveness when ending one", yvritMeaning: "Waters, woman, mother, man's companion", transliteration: "Mem" },
3696
- NUN: { gematriaValue: 50, type: "simple", gematriaValueWhenEnding: 700, symbol: "Fruit", hieroglyph: "Novelty, youth, grace, beauty", yvritMeaning: "Fish", transliteration: "Nun" },
3697
- SAMEKH: { gematriaValue: 60, type: "simple", symbol: "Serpent", hieroglyph: "Cyclical circular movement", yvritMeaning: "Support, brace, crutch", transliteration: "Samekh" },
3698
- AYIN: { gematriaValue: 70, type: "simple", symbol: "Binding", hieroglyph: "Material side of things, emptiness, nothingness, all evil", yvritMeaning: "Eye", transliteration: "Ayin" },
3699
- PE: { gematriaValue: 80, type: "double", gematriaValueWhenEnding: 800, symbol: "Mouth, tongue", hieroglyph: "Power of the verb, spoken word", yvritMeaning: "Mouth releasing", transliteration: "Pe" },
3700
- TSADI: { gematriaValue: 90, type: "simple", gematriaValueWhenEnding: 900, symbol: "Roof", hieroglyph: "Fixed thought upon a purpose", yvritMeaning: "Fishhook", transliteration: "Tsadi" },
3701
- QOPH: { gematriaValue: 100, type: "simple", symbol: "Axe", hieroglyph: "Repressive pressure", yvritMeaning: "Back of the head", transliteration: "Qoph" },
3702
- RESH: { gematriaValue: 200, type: "double", symbol: "Head", hieroglyph: "Feeling, wanting, thinking, movement, reflection, origin, repetition", yvritMeaning: "Illuminated head", transliteration: "Resh" },
3703
- SHIN: { gematriaValue: 300, type: "mother", symbol: "Crown", hieroglyph: "Relative duration, existence", yvritMeaning: "Part of the bow from which the arrow is released", transliteration: "Shin" },
3704
- TAV: { gematriaValue: 400, type: "double", symbol: "Thorax", hieroglyph: "Universal soul, reciprocity, protection, perfection, abundance", yvritMeaning: "Ankh Cross", transliteration: "Tav" }
3683
+ ALEPH: { gematriaValue: 1, type: "mother", symbol: "Man", hieroglyph: "Unity, central point, abstract principle", yvritMeaning: "Universal man and the human gender", character: "\u05D0" },
3684
+ BETH: { gematriaValue: 2, type: "double", symbol: "Mouth", hieroglyph: "Woman's duality", yvritMeaning: "Man's mouth, habitation, interior", character: "\u05D1" },
3685
+ GIMEL: { gematriaValue: 3, type: "double", symbol: "Grasping hand", hieroglyph: "Expansion and growth", yvritMeaning: "Man's throat, channel", character: "\u05D2" },
3686
+ DALET: { gematriaValue: 4, type: "double", symbol: "Breast", hieroglyph: "Universal quaternary, source of physical existence", yvritMeaning: "Abundance and nourishment", character: "\u05D3" },
3687
+ HE: { gematriaValue: 5, type: "simple", symbol: "Breath", hieroglyph: "Universal life, men's breath, the breath, everything that animates and vivifies", yvritMeaning: "Window", character: "\u05D4" },
3688
+ VAV: { gematriaValue: 6, type: "simple", symbol: "Eye, ear", hieroglyph: "A point connection that separates being and non-being", yvritMeaning: "Construction nail", character: "\u05D5" },
3689
+ ZAYIN: { gematriaValue: 7, type: "simple", symbol: "Arrow", hieroglyph: "Goal, objective to achieve", yvritMeaning: "Dart, sword", character: "\u05D6" },
3690
+ HET: { gematriaValue: 8, type: "simple", symbol: "Field", hieroglyph: "Elemental existence", yvritMeaning: "Fence", character: "\u05D7" },
3691
+ TET: { gematriaValue: 9, type: "simple", symbol: "A house covering", hieroglyph: "Men's shelter, roof, shield, protection, resistance", yvritMeaning: "Serpent", character: "\u05D8" },
3692
+ YOD: { gematriaValue: 10, type: "simple", symbol: "Index finger", hieroglyph: "Potential manifestation, eternal worship", yvritMeaning: "Hand, index finger", character: "\u05D9" },
3693
+ KAPH: { gematriaValue: 20, type: "double", gematriaValueWhenEnding: 500, symbol: "Closing hand", hieroglyph: "Reflective and fleeting life", yvritMeaning: "Palm closing in the act of grasping something", character: "\u05DB", characterWhenEnding: "\u05DA" },
3694
+ LAMED: { gematriaValue: 30, type: "simple", symbol: "Extending arm", hieroglyph: "Extension, elevation", yvritMeaning: "Sting rod, human arm representing extension, elevation", character: "\u05DC" },
3695
+ MEM: { gematriaValue: 40, type: "mother", gematriaValueWhenEnding: 600, symbol: "Woman", hieroglyph: "External passive action, all formative and plastic principle when starting a word, collectiveness when ending one", yvritMeaning: "Waters, woman, mother, man's companion", character: "\u05DE", characterWhenEnding: "\u05DD" },
3696
+ NUN: { gematriaValue: 50, type: "simple", gematriaValueWhenEnding: 700, symbol: "Fruit", hieroglyph: "Novelty, youth, grace, beauty", yvritMeaning: "Fish", character: "\u05E0", characterWhenEnding: "\u05DF" },
3697
+ SAMEKH: { gematriaValue: 60, type: "simple", symbol: "Serpent", hieroglyph: "Cyclical circular movement", yvritMeaning: "Support, brace, crutch", character: "\u05E1" },
3698
+ AYIN: { gematriaValue: 70, type: "simple", symbol: "Binding", hieroglyph: "Material side of things, emptiness, nothingness, all evil", yvritMeaning: "Eye", character: "\u05E2" },
3699
+ PE: { gematriaValue: 80, type: "double", gematriaValueWhenEnding: 800, symbol: "Mouth, tongue", hieroglyph: "Power of the verb, spoken word", yvritMeaning: "Mouth releasing", character: "\u05E4", characterWhenEnding: "\u05E3" },
3700
+ TSADI: { gematriaValue: 90, type: "simple", gematriaValueWhenEnding: 900, symbol: "Roof", hieroglyph: "Fixed thought upon a purpose", yvritMeaning: "Fishhook", character: "\u05E6", characterWhenEnding: "\u05E5" },
3701
+ QOPH: { gematriaValue: 100, type: "simple", symbol: "Axe", hieroglyph: "Repressive pressure", yvritMeaning: "Back of the head", character: "\u05E7" },
3702
+ RESH: { gematriaValue: 200, type: "double", symbol: "Head", hieroglyph: "Feeling, wanting, thinking, movement, reflection, origin, repetition", yvritMeaning: "Illuminated head", character: "\u05E8" },
3703
+ SHIN: { gematriaValue: 300, type: "mother", symbol: "Crown", hieroglyph: "Relative duration, existence", yvritMeaning: "Part of the bow from which the arrow is released", character: "\u05E9" },
3704
+ TAV: { gematriaValue: 400, type: "double", symbol: "Thorax", hieroglyph: "Universal soul, reciprocity, protection, perfection, abundance", yvritMeaning: "Ankh Cross", character: "\u05EA" }
3705
3705
  };
3706
3706
  var TAROT_SUITS = {
3707
3707
  WANDS: "Wands",
@@ -5863,12 +5863,14 @@ var calculateGematria = (word, options = {}, tree) => {
5863
5863
  const latinLetterId2 = `letter:${combinedLetter}`;
5864
5864
  const [mapping2] = tree.walk(latinLetterId2, 2, "hebrewLetter");
5865
5865
  if (mapping2?.data) {
5866
+ let hebrewCharacter = mapping2.data.character;
5866
5867
  let value = mapping2.data.gematriaValue;
5867
- if (isEnding2 && mapping2.data.gematriaValueWhenEnding !== void 0) {
5868
+ if (isEnding2 && mapping2.data.gematriaValueWhenEnding !== void 0 && mapping2.data.characterWhenEnding !== void 0) {
5869
+ hebrewCharacter = mapping2.data.characterWhenEnding;
5868
5870
  value = mapping2.data.gematriaValueWhenEnding;
5869
5871
  }
5870
5872
  includedGematriaValues.add(value);
5871
- includedLetters.push({ latinLetterId: latinLetterId2, value, hebrewLetterId: mapping2.id, isVowel: isVowel(letter) });
5873
+ includedLetters.push({ latinLetterId: latinLetterId2, value, hebrewLetterId: mapping2.id, hebrewCharacter, isVowel: isVowel(letter) });
5872
5874
  consonantsSum += value;
5873
5875
  i++;
5874
5876
  continue;
@@ -5885,11 +5887,13 @@ var calculateGematria = (word, options = {}, tree) => {
5885
5887
  const isEnding = i > 0 && i === letters.length - 1;
5886
5888
  if (mapping?.data) {
5887
5889
  let value = mapping.data.gematriaValue;
5888
- if (isEnding && mapping.data.gematriaValueWhenEnding !== void 0) {
5890
+ let hebrewCharacter = mapping.data.character;
5891
+ if (isEnding && mapping.data.gematriaValueWhenEnding !== void 0 && mapping.data.characterWhenEnding !== void 0) {
5889
5892
  value = mapping.data.gematriaValueWhenEnding;
5893
+ hebrewCharacter = mapping.data.characterWhenEnding;
5890
5894
  }
5891
5895
  includedGematriaValues.add(value);
5892
- includedLetters.push({ latinLetterId, value, hebrewLetterId: mapping.id, isVowel: isVowel(letter) });
5896
+ includedLetters.push({ latinLetterId, value, hebrewLetterId: mapping.id, hebrewCharacter, isVowel: isVowel(letter) });
5893
5897
  if (isVowel(letter)) {
5894
5898
  vowelsSum += value;
5895
5899
  } else {