lol-constants 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Patch.d.ts +1 -1
- package/dist/Patch.js +1 -1
- package/dist/lol.d.ts +4 -1
- package/dist/objects/Regions.d.ts +7 -0
- package/dist/objects/Regions.js +2 -0
- package/package.json +1 -1
package/dist/Patch.d.ts
CHANGED
package/dist/Patch.js
CHANGED
package/dist/lol.d.ts
CHANGED
@@ -22,7 +22,7 @@ export declare const lol: {
|
|
22
22
|
* ## Current patch version
|
23
23
|
* What patch the library is currently on. *(read-only)*
|
24
24
|
*/
|
25
|
-
version: "14.
|
25
|
+
version: "14.21";
|
26
26
|
/**
|
27
27
|
* ## Constants
|
28
28
|
* Riot API defined constants.
|
@@ -4030,6 +4030,9 @@ export declare const lol: {
|
|
4030
4030
|
} | {
|
4031
4031
|
readonly region: "VN";
|
4032
4032
|
readonly platform: "VN2";
|
4033
|
+
} | {
|
4034
|
+
readonly region: "MENA";
|
4035
|
+
readonly platform: "ME1";
|
4033
4036
|
} | {
|
4034
4037
|
readonly region: "PBE";
|
4035
4038
|
readonly platform: "PBE1";
|
@@ -63,6 +63,10 @@ export declare const Regions: {
|
|
63
63
|
readonly region: "VN";
|
64
64
|
readonly platform: "VN2";
|
65
65
|
};
|
66
|
+
readonly MENA: {
|
67
|
+
readonly region: "MENA";
|
68
|
+
readonly platform: "ME1";
|
69
|
+
};
|
66
70
|
readonly PBE: {
|
67
71
|
readonly region: "PBE";
|
68
72
|
readonly platform: "PBE1";
|
@@ -116,6 +120,9 @@ export declare const RegionsArr: ({
|
|
116
120
|
} | {
|
117
121
|
readonly region: "VN";
|
118
122
|
readonly platform: "VN2";
|
123
|
+
} | {
|
124
|
+
readonly region: "MENA";
|
125
|
+
readonly platform: "ME1";
|
119
126
|
} | {
|
120
127
|
readonly region: "PBE";
|
121
128
|
readonly platform: "PBE1";
|
package/dist/objects/Regions.js
CHANGED
@@ -15,6 +15,7 @@ export const Regions = {
|
|
15
15
|
'TH': { region: 'TH', platform: 'TH2' },
|
16
16
|
'TW': { region: 'TW', platform: 'TW2' },
|
17
17
|
'VN': { region: 'VN', platform: 'VN2' },
|
18
|
+
'MENA': { region: 'MENA', platform: 'ME1' },
|
18
19
|
'PBE': { region: 'PBE', platform: 'PBE1' },
|
19
20
|
};
|
20
21
|
export const RegionsArr = Object.values(Regions);
|
@@ -35,6 +36,7 @@ const platforms = {
|
|
35
36
|
'TH2': 'TH',
|
36
37
|
'TW2': 'TW',
|
37
38
|
'VN2': 'VN',
|
39
|
+
'ME1': 'MENA',
|
38
40
|
'PBE1': 'PBE',
|
39
41
|
};
|
40
42
|
export function isRegion(region) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "lol-constants",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.4",
|
4
4
|
"description": "League of Legends constants, functions, and types. Provides a plathera of functions to easily convert between ID, Name, and Key for champions, items, summoner spells, and runes.",
|
5
5
|
"license": "MIT",
|
6
6
|
"type": "module",
|