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.
@@ -2306,19 +2306,20 @@ var TreeOfLife = class {
2306
2306
  return elementId;
2307
2307
  }
2308
2308
  addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
2309
- if (this.nodes.has(tarotArkAnnu)) {
2310
- return tarotArkAnnu;
2309
+ const tarotArkAnnuId = `tarotArkAnnu:${tarotArkAnnu}`;
2310
+ if (this.nodes.has(tarotArkAnnuId)) {
2311
+ return tarotArkAnnuId;
2311
2312
  }
2312
- this.correspond(sphereOrPath, tarotArkAnnu, "tarotArkAnnu", data);
2313
+ this.correspond(sphereOrPath, tarotArkAnnuId, "tarotArkAnnu", data);
2313
2314
  const numberId = `num:${relatedNumber}`;
2314
2315
  if (!this.nodes.has(numberId)) {
2315
2316
  this.addNode({ id: numberId, type: "number" });
2316
2317
  }
2317
- this.link(tarotArkAnnu, numberId);
2318
+ this.link(tarotArkAnnuId, numberId);
2318
2319
  if (suit) {
2319
- this.link(tarotArkAnnu, `suit:${suit}`);
2320
+ this.link(tarotArkAnnuId, `suit:${suit}`);
2320
2321
  }
2321
- return tarotArkAnnu;
2322
+ return tarotArkAnnuId;
2322
2323
  }
2323
2324
  addTarotSuit(suit, relatedElement) {
2324
2325
  const suitId = `suit:${suit}`;