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.mjs CHANGED
@@ -5735,19 +5735,20 @@ var TreeOfLife = class {
5735
5735
  return elementId;
5736
5736
  }
5737
5737
  addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
5738
- if (this.nodes.has(tarotArkAnnu)) {
5739
- return tarotArkAnnu;
5738
+ const tarotArkAnnuId = `tarotArkAnnu:${tarotArkAnnu}`;
5739
+ if (this.nodes.has(tarotArkAnnuId)) {
5740
+ return tarotArkAnnuId;
5740
5741
  }
5741
- this.correspond(sphereOrPath, tarotArkAnnu, "tarotArkAnnu", data);
5742
+ this.correspond(sphereOrPath, tarotArkAnnuId, "tarotArkAnnu", data);
5742
5743
  const numberId = `num:${relatedNumber}`;
5743
5744
  if (!this.nodes.has(numberId)) {
5744
5745
  this.addNode({ id: numberId, type: "number" });
5745
5746
  }
5746
- this.link(tarotArkAnnu, numberId);
5747
+ this.link(tarotArkAnnuId, numberId);
5747
5748
  if (suit) {
5748
- this.link(tarotArkAnnu, `suit:${suit}`);
5749
+ this.link(tarotArkAnnuId, `suit:${suit}`);
5749
5750
  }
5750
- return tarotArkAnnu;
5751
+ return tarotArkAnnuId;
5751
5752
  }
5752
5753
  addTarotSuit(suit, relatedElement) {
5753
5754
  const suitId = `suit:${suit}`;