@eso-status/service-alerts 1.0.0 → 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.
- package/lib/classes/ServiceAlertsElement.js +11 -5
- package/package.json +16 -16
|
@@ -102,7 +102,9 @@ var ServiceAlertsElement = /** @class */ (function () {
|
|
|
102
102
|
|| rawData.includes('Forums')
|
|
103
103
|
|| rawData.includes('Crown Store')
|
|
104
104
|
|| rawData.includes('ESO store')
|
|
105
|
-
|| rawData.includes('
|
|
105
|
+
|| rawData.includes('ESO Store')
|
|
106
|
+
|| rawData.includes('account system')
|
|
107
|
+
|| rawData.includes('Account System');
|
|
106
108
|
}
|
|
107
109
|
return false;
|
|
108
110
|
};
|
|
@@ -142,10 +144,12 @@ var ServiceAlertsElement = /** @class */ (function () {
|
|
|
142
144
|
}
|
|
143
145
|
if (support === 'store') {
|
|
144
146
|
return rawData.includes('Crown Store')
|
|
145
|
-
|| rawData.includes('ESO store')
|
|
147
|
+
|| rawData.includes('ESO store')
|
|
148
|
+
|| rawData.includes('ESO Store');
|
|
146
149
|
}
|
|
147
150
|
if (support === 'system') {
|
|
148
|
-
return rawData.includes('account system')
|
|
151
|
+
return rawData.includes('account system')
|
|
152
|
+
|| rawData.includes('Account System');
|
|
149
153
|
}
|
|
150
154
|
return false;
|
|
151
155
|
};
|
|
@@ -187,10 +191,12 @@ var ServiceAlertsElement = /** @class */ (function () {
|
|
|
187
191
|
return rawData.includes('Crown Store');
|
|
188
192
|
}
|
|
189
193
|
if (zone === 'eso') {
|
|
190
|
-
return rawData.includes('ESO store')
|
|
194
|
+
return rawData.includes('ESO store')
|
|
195
|
+
|| rawData.includes('ESO Store');
|
|
191
196
|
}
|
|
192
197
|
if (zone === 'account') {
|
|
193
|
-
return rawData.includes('account system')
|
|
198
|
+
return rawData.includes('account system')
|
|
199
|
+
|| rawData.includes('Account System');
|
|
194
200
|
}
|
|
195
201
|
return false;
|
|
196
202
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eso-status/service-alerts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Library used to get servers status of The elders scrolls Online game with https://help.elderscrollsonline.com/app/answers/detail/a_id/4320",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -41,23 +41,23 @@
|
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://github.com/eso-status/service-alerts#readme",
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@eso-status/types": "1.0.
|
|
45
|
-
"@types/jest": "
|
|
46
|
-
"@types/node": "
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
48
|
-
"@typescript-eslint/parser": "5.
|
|
49
|
-
"@typescript-eslint/typescript-estree": "5.
|
|
50
|
-
"eslint": "8.
|
|
44
|
+
"@eso-status/types": "1.0.1",
|
|
45
|
+
"@types/jest": "27.5.1",
|
|
46
|
+
"@types/node": "17.0.34",
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "5.25.0",
|
|
48
|
+
"@typescript-eslint/parser": "5.25.0",
|
|
49
|
+
"@typescript-eslint/typescript-estree": "5.25.0",
|
|
50
|
+
"eslint": "8.15.0",
|
|
51
51
|
"eslint-config-airbnb-base": "15.0.0",
|
|
52
|
-
"eslint-plugin-import": "2.
|
|
53
|
-
"eslint-plugin-jest": "
|
|
54
|
-
"jest": "
|
|
55
|
-
"nodemon": "2.0.
|
|
56
|
-
"ts-jest": "
|
|
57
|
-
"typescript": "4.
|
|
52
|
+
"eslint-plugin-import": "2.26.0",
|
|
53
|
+
"eslint-plugin-jest": "26.2.2",
|
|
54
|
+
"jest": "28.1.0",
|
|
55
|
+
"nodemon": "2.0.16",
|
|
56
|
+
"ts-jest": "28.0.2",
|
|
57
|
+
"typescript": "4.6.4"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"axios": "0.
|
|
61
|
-
"moment": "2.29.
|
|
60
|
+
"axios": "0.27.2",
|
|
61
|
+
"moment": "2.29.3"
|
|
62
62
|
}
|
|
63
63
|
}
|