kaabalah 1.0.2 → 1.0.3

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.js CHANGED
@@ -5771,19 +5771,20 @@ var TreeOfLife = class {
5771
5771
  return elementId;
5772
5772
  }
5773
5773
  addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
5774
- if (this.nodes.has(tarotArkAnnu)) {
5775
- return tarotArkAnnu;
5774
+ const tarotArkAnnuId = `tarotArkAnnu:${tarotArkAnnu}`;
5775
+ if (this.nodes.has(tarotArkAnnuId)) {
5776
+ return tarotArkAnnuId;
5776
5777
  }
5777
- this.correspond(sphereOrPath, tarotArkAnnu, "tarotArkAnnu", data);
5778
+ this.correspond(sphereOrPath, tarotArkAnnuId, "tarotArkAnnu", data);
5778
5779
  const numberId = `num:${relatedNumber}`;
5779
5780
  if (!this.nodes.has(numberId)) {
5780
5781
  this.addNode({ id: numberId, type: "number" });
5781
5782
  }
5782
- this.link(tarotArkAnnu, numberId);
5783
+ this.link(tarotArkAnnuId, numberId);
5783
5784
  if (suit) {
5784
- this.link(tarotArkAnnu, `suit:${suit}`);
5785
+ this.link(tarotArkAnnuId, `suit:${suit}`);
5785
5786
  }
5786
- return tarotArkAnnu;
5787
+ return tarotArkAnnuId;
5787
5788
  }
5788
5789
  addTarotSuit(suit, relatedElement) {
5789
5790
  const suitId = `suit:${suit}`;