lol-constants 2.6.1 → 2.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,4 +8,4 @@ export declare const RuneTreeIdsNum: {
8
8
  };
9
9
  export type RuneTreeIdNum = typeof RuneTreeIdsNum[keyof typeof RuneTreeIdsNum];
10
10
  export declare function isRuneTreeIdNum(id: any): id is RuneTreeIdNum;
11
- export declare function getRuneTreeIdByName(name: RuneTreeName): RuneTreeIdNum;
11
+ export declare function getRuneTreeIdNumByName(name: RuneTreeName): RuneTreeIdNum;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuneTreeIdByName = exports.isRuneTreeIdNum = exports.RuneTreeIdsNum = void 0;
3
+ exports.getRuneTreeIdNumByName = exports.isRuneTreeIdNum = exports.RuneTreeIdsNum = void 0;
4
4
  const RuneTreeNames_1 = require("./RuneTreeNames");
5
5
  exports.RuneTreeIdsNum = {
6
6
  Precision: 8000,
@@ -13,7 +13,7 @@ function isRuneTreeIdNum(id) {
13
13
  return typeof id == 'number' && id in RuneTreeNames_1.RuneTreeNames;
14
14
  }
15
15
  exports.isRuneTreeIdNum = isRuneTreeIdNum;
16
- function getRuneTreeIdByName(name) {
16
+ function getRuneTreeIdNumByName(name) {
17
17
  return exports.RuneTreeIdsNum[name];
18
18
  }
19
- exports.getRuneTreeIdByName = getRuneTreeIdByName;
19
+ exports.getRuneTreeIdNumByName = getRuneTreeIdNumByName;
package/core/index.d.ts CHANGED
@@ -56,7 +56,9 @@ export * from './constants/Runes/RuneSets';
56
56
  export * from './constants/Runes/RuneSetsByRuneNames';
57
57
  export * from './constants/Runes/RuneSetsByRuneNamesNum';
58
58
  export * from './constants/Runes/RuneTreeIds';
59
+ export * from './constants/Runes/RuneTreeIdsNum';
59
60
  export * from './constants/Runes/RuneTreeNames';
61
+ export * from './constants/Runes/RuneTreeTypes';
60
62
  export * from './constants/Spells/SpellIds';
61
63
  export * from './constants/Spells/SpellIdsByName';
62
64
  export * from './constants/Spells/SpellKeys';
package/core/index.js CHANGED
@@ -76,7 +76,9 @@ __exportStar(require("./constants/Runes/RuneSets"), exports);
76
76
  __exportStar(require("./constants/Runes/RuneSetsByRuneNames"), exports);
77
77
  __exportStar(require("./constants/Runes/RuneSetsByRuneNamesNum"), exports);
78
78
  __exportStar(require("./constants/Runes/RuneTreeIds"), exports);
79
+ __exportStar(require("./constants/Runes/RuneTreeIdsNum"), exports);
79
80
  __exportStar(require("./constants/Runes/RuneTreeNames"), exports);
81
+ __exportStar(require("./constants/Runes/RuneTreeTypes"), exports);
80
82
  // ## Spells
81
83
  __exportStar(require("./constants/Spells/SpellIds"), exports);
82
84
  __exportStar(require("./constants/Spells/SpellIdsByName"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
5
5
  "main": "core/index.js",
6
6
  "types": "core/index.d.ts",