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.
@@ -2286,19 +2286,20 @@ var TreeOfLife = class {
2286
2286
  return elementId;
2287
2287
  }
2288
2288
  addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
2289
- if (this.nodes.has(tarotArkAnnu)) {
2290
- return tarotArkAnnu;
2289
+ const tarotArkAnnuId = `tarotArkAnnu:${tarotArkAnnu}`;
2290
+ if (this.nodes.has(tarotArkAnnuId)) {
2291
+ return tarotArkAnnuId;
2291
2292
  }
2292
- this.correspond(sphereOrPath, tarotArkAnnu, "tarotArkAnnu", data);
2293
+ this.correspond(sphereOrPath, tarotArkAnnuId, "tarotArkAnnu", data);
2293
2294
  const numberId = `num:${relatedNumber}`;
2294
2295
  if (!this.nodes.has(numberId)) {
2295
2296
  this.addNode({ id: numberId, type: "number" });
2296
2297
  }
2297
- this.link(tarotArkAnnu, numberId);
2298
+ this.link(tarotArkAnnuId, numberId);
2298
2299
  if (suit) {
2299
- this.link(tarotArkAnnu, `suit:${suit}`);
2300
+ this.link(tarotArkAnnuId, `suit:${suit}`);
2300
2301
  }
2301
- return tarotArkAnnu;
2302
+ return tarotArkAnnuId;
2302
2303
  }
2303
2304
  addTarotSuit(suit, relatedElement) {
2304
2305
  const suitId = `suit:${suit}`;