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.
@@ -2324,19 +2324,20 @@ var TreeOfLife = class {
2324
2324
  return elementId;
2325
2325
  }
2326
2326
  addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
2327
- if (this.nodes.has(tarotArkAnnu)) {
2328
- return tarotArkAnnu;
2327
+ const tarotArkAnnuId = `tarotArkAnnu:${tarotArkAnnu}`;
2328
+ if (this.nodes.has(tarotArkAnnuId)) {
2329
+ return tarotArkAnnuId;
2329
2330
  }
2330
- this.correspond(sphereOrPath, tarotArkAnnu, "tarotArkAnnu", data);
2331
+ this.correspond(sphereOrPath, tarotArkAnnuId, "tarotArkAnnu", data);
2331
2332
  const numberId = `num:${relatedNumber}`;
2332
2333
  if (!this.nodes.has(numberId)) {
2333
2334
  this.addNode({ id: numberId, type: "number" });
2334
2335
  }
2335
- this.link(tarotArkAnnu, numberId);
2336
+ this.link(tarotArkAnnuId, numberId);
2336
2337
  if (suit) {
2337
- this.link(tarotArkAnnu, `suit:${suit}`);
2338
+ this.link(tarotArkAnnuId, `suit:${suit}`);
2338
2339
  }
2339
- return tarotArkAnnu;
2340
+ return tarotArkAnnuId;
2340
2341
  }
2341
2342
  addTarotSuit(suit, relatedElement) {
2342
2343
  const suitId = `suit:${suit}`;