lol-constants 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuneCategoryByRuneName = void 0;
4
4
  const RuneSetsByRuneNames_1 = require("../../Constants/Runes/RuneSetsByRuneNames");
5
- const StatRuneNames_1 = require("../../Constants/Runes/StatRuneNames");
5
+ const StatRuneIds_1 = require("../../Constants/Runes/StatRuneIds");
6
6
  /**
7
7
  * Returns the name of the Rune Tree that the Rune belongs to.
8
8
  */
9
9
  function getRuneCategoryByRuneName(name) {
10
10
  // Start with StatRunes because it is the tiniest of all
11
- if (name in StatRuneNames_1.StatRuneNames)
11
+ if (name in StatRuneIds_1.StatRuneIds)
12
12
  return 'StatRunes';
13
13
  // Continue on with the rest of the runes
14
14
  if (name in RuneSetsByRuneNames_1.PrimaryTrees.Precision)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",