kaabalah 5.1.0 → 5.1.1

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.
@@ -6622,7 +6622,7 @@ var TreeOfLife = class {
6622
6622
  }
6623
6623
  return [
6624
6624
  ...new Set(
6625
- [...this.adjacent.get(id2).values()].map(
6625
+ [...(this.adjacent.get(id2) ?? /* @__PURE__ */ new Set()).values()].map(
6626
6626
  (nodeId) => this.nodes.get(nodeId).type
6627
6627
  )
6628
6628
  )
@@ -6817,9 +6817,10 @@ var TreeOfLife = class {
6817
6817
  this.link(node, tarotArkAnnuId);
6818
6818
  this.addNumber({ number: relatedNumber, nodeId: tarotArkAnnuId });
6819
6819
  if (suit) {
6820
+ const suitValue = suit.includes(":") ? suit.split(":").pop() : suit;
6820
6821
  const suitId = this.upsertNode(
6821
6822
  new BaseNode({
6822
- id: suit,
6823
+ id: suitValue,
6823
6824
  type: "tarotSuit" /* TAROT_SUIT */
6824
6825
  })
6825
6826
  );
@@ -6843,5 +6844,5 @@ function createTree(opts = {
6843
6844
  }
6844
6845
 
6845
6846
  export { BaseNode, COLORS, COLORS_DATA, FOUR_WORLDS, FOUR_WORLDS_DATA, HEBREW_LETTERS, HEBREW_LETTERS_DATA, KaabalahTypes, LATIN_LETTERS, LATIN_LETTERS_DATA, LURIANIC_PATHS, LetterTypes, MELKITZEDEKI_PATHS, MODALITIES, MUSICAL_NOTES, MUSICAL_NOTES_DATA, MiscTypes, NumerologyTypes, PLANETS, SPHERES, SPHERES_DATA, SYSTEM, SYSTEMS, TAROT_ARKANNUS, TAROT_ARKANNUS_DATA, TAROT_DECKS, TAROT_SUITS, TantraTypes, TarotTypes, TreeOfLife, WESTERN_ASPECTS, WESTERN_ELEMENTS, WESTERN_HOUSES, WESTERN_ZODIAC_SIGNS, WesternAstrologyTypes, createTree, id, parseId };
6846
- //# sourceMappingURL=chunk-JBMCNKO4.mjs.map
6847
- //# sourceMappingURL=chunk-JBMCNKO4.mjs.map
6847
+ //# sourceMappingURL=chunk-2J6CVLH2.mjs.map
6848
+ //# sourceMappingURL=chunk-2J6CVLH2.mjs.map