@oxyfoo/gamelife-types 2.1.1 → 2.1.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/Class/Experience.d.ts
CHANGED
|
@@ -7,14 +7,6 @@ export interface XPInfo {
|
|
|
7
7
|
export interface EnrichedXPInfo extends XPInfo {
|
|
8
8
|
lastTime: number;
|
|
9
9
|
}
|
|
10
|
-
export interface Stats {
|
|
11
|
-
int: XPInfo;
|
|
12
|
-
soc: XPInfo;
|
|
13
|
-
for: XPInfo;
|
|
14
|
-
sta: XPInfo;
|
|
15
|
-
agi: XPInfo;
|
|
16
|
-
dex: XPInfo;
|
|
17
|
-
}
|
|
18
10
|
export interface StatsXP {
|
|
19
11
|
int: number;
|
|
20
12
|
for: number;
|
|
@@ -244,7 +244,12 @@ export interface ClientRequestSendReport {
|
|
|
244
244
|
export interface ClientRequestSendStatistics {
|
|
245
245
|
action: 'send-statistics';
|
|
246
246
|
stats: {
|
|
247
|
-
LoadingTimeMs
|
|
247
|
+
LoadingTimeMs?: number;
|
|
248
|
+
PagesVisit?: Array<{
|
|
249
|
+
name: string;
|
|
250
|
+
count: number;
|
|
251
|
+
}>;
|
|
252
|
+
LinkClick?: string;
|
|
248
253
|
};
|
|
249
254
|
anonymous?: boolean;
|
|
250
255
|
callbackID?: string;
|
|
@@ -28,6 +28,7 @@ export interface ServerRequestCheckIntegrity {
|
|
|
28
28
|
export interface ServerRequestAuthenticate {
|
|
29
29
|
status: 'authenticate';
|
|
30
30
|
result: 'ok' | 'banned' | 'error';
|
|
31
|
+
devMode?: boolean;
|
|
31
32
|
newUuid?: string;
|
|
32
33
|
newSessionToken?: string;
|
|
33
34
|
callbackID?: string;
|
|
@@ -56,7 +57,6 @@ export interface ServerRequestWaitMail {
|
|
|
56
57
|
export interface ServerRequestLogin {
|
|
57
58
|
status: 'login';
|
|
58
59
|
result: 'free' | 'mailNotSent' | 'deviceLimitReached' | 'waitMailConfirmation' | 'error' | {
|
|
59
|
-
devMode: boolean;
|
|
60
60
|
banned: boolean;
|
|
61
61
|
};
|
|
62
62
|
callbackID?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxyfoo/gamelife-types",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "GameLife Types - TypeScript types for the GameLife project.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"build": "tsc && tsc-alias && cp package.json README.md LICENSE ./dist/ && rm -f ./dist/tsconfig.tsbuildinfo",
|
|
9
9
|
"lint": "eslint .",
|
|
10
10
|
"test": "tsc --noEmit && echo \"No tests specified but there is no error in the code\"",
|
|
11
|
-
"clean": "rm -rf dist node_modules"
|
|
11
|
+
"clean": "rm -rf dist node_modules package-lock.json"
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|