lol-constants 2.6.0 → 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
@@ -9,7 +9,9 @@ export * from './constants/Lanes';
9
9
  export * from './constants/LaneTypes';
10
10
  export * from './constants/Levels';
11
11
  export * from './constants/Locales';
12
+ export * from './constants/MapIds';
12
13
  export * from './constants/MonsterTypes';
14
+ export * from './constants/ParticipantIds';
13
15
  export * from './constants/PlatformApiUris';
14
16
  export * from './constants/PlatformIds';
15
17
  export * from './constants/Positions';
@@ -24,6 +26,7 @@ export * from './constants/RelativeTeams';
24
26
  export * from './constants/Roles';
25
27
  export * from './constants/Skills';
26
28
  export * from './constants/SkillSlots';
29
+ export * from './constants/TeamIds';
27
30
  export * from './constants/TowerTypes';
28
31
  export * from './constants/WardTypes';
29
32
  export * from './constants/Champions/ChampionIds';
@@ -53,7 +56,9 @@ export * from './constants/Runes/RuneSets';
53
56
  export * from './constants/Runes/RuneSetsByRuneNames';
54
57
  export * from './constants/Runes/RuneSetsByRuneNamesNum';
55
58
  export * from './constants/Runes/RuneTreeIds';
59
+ export * from './constants/Runes/RuneTreeIdsNum';
56
60
  export * from './constants/Runes/RuneTreeNames';
61
+ export * from './constants/Runes/RuneTreeTypes';
57
62
  export * from './constants/Spells/SpellIds';
58
63
  export * from './constants/Spells/SpellIdsByName';
59
64
  export * from './constants/Spells/SpellKeys';
package/core/index.js CHANGED
@@ -26,7 +26,9 @@ __exportStar(require("./constants/Lanes"), exports);
26
26
  __exportStar(require("./constants/LaneTypes"), exports);
27
27
  __exportStar(require("./constants/Levels"), exports);
28
28
  __exportStar(require("./constants/Locales"), exports);
29
+ __exportStar(require("./constants/MapIds"), exports);
29
30
  __exportStar(require("./constants/MonsterTypes"), exports);
31
+ __exportStar(require("./constants/ParticipantIds"), exports);
30
32
  __exportStar(require("./constants/PlatformApiUris"), exports);
31
33
  __exportStar(require("./constants/PlatformIds"), exports);
32
34
  __exportStar(require("./constants/Positions"), exports);
@@ -41,6 +43,7 @@ __exportStar(require("./constants/RelativeTeams"), exports);
41
43
  __exportStar(require("./constants/Roles"), exports);
42
44
  __exportStar(require("./constants/Skills"), exports);
43
45
  __exportStar(require("./constants/SkillSlots"), exports);
46
+ __exportStar(require("./constants/TeamIds"), exports);
44
47
  __exportStar(require("./constants/TowerTypes"), exports);
45
48
  __exportStar(require("./constants/WardTypes"), exports);
46
49
  // ## Champions
@@ -73,7 +76,9 @@ __exportStar(require("./constants/Runes/RuneSets"), exports);
73
76
  __exportStar(require("./constants/Runes/RuneSetsByRuneNames"), exports);
74
77
  __exportStar(require("./constants/Runes/RuneSetsByRuneNamesNum"), exports);
75
78
  __exportStar(require("./constants/Runes/RuneTreeIds"), exports);
79
+ __exportStar(require("./constants/Runes/RuneTreeIdsNum"), exports);
76
80
  __exportStar(require("./constants/Runes/RuneTreeNames"), exports);
81
+ __exportStar(require("./constants/Runes/RuneTreeTypes"), exports);
77
82
  // ## Spells
78
83
  __exportStar(require("./constants/Spells/SpellIds"), exports);
79
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.0",
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",