@seayoo-web/gamer-api 2.15.2 → 2.15.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/dist/index.js
CHANGED
|
@@ -1263,11 +1263,13 @@ const v = {
|
|
|
1263
1263
|
}), Pn = e.string().enum(w.Unknown, w.Pending), En = e.union(
|
|
1264
1264
|
e.object({
|
|
1265
1265
|
ticket: e.string(),
|
|
1266
|
-
status: Pn
|
|
1266
|
+
status: Pn,
|
|
1267
|
+
created_at: e.number()
|
|
1267
1268
|
}),
|
|
1268
1269
|
e.object({
|
|
1269
1270
|
ticket: e.string(),
|
|
1270
1271
|
status: e.string().enum(U(w, "Unknown", "Pending")),
|
|
1272
|
+
created_at: e.number(),
|
|
1271
1273
|
reward: R
|
|
1272
1274
|
})
|
|
1273
1275
|
).satisfies(), $n = e.object({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seayoo-web/gamer-api",
|
|
3
3
|
"description": "agent for gamer api",
|
|
4
|
-
"version": "2.15.
|
|
4
|
+
"version": "2.15.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "index.ts",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.13.1",
|
|
33
33
|
"@seayoo-web/combo-webview": "2.8.0",
|
|
34
|
-
"@seayoo-web/request": "3.4.2",
|
|
35
|
-
"@seayoo-web/scripts": "3.1.6",
|
|
36
34
|
"@seayoo-web/tsconfig": "1.0.5",
|
|
37
35
|
"@seayoo-web/utils": "4.1.3",
|
|
38
|
-
"@seayoo-web/validator": "2.0.0"
|
|
36
|
+
"@seayoo-web/validator": "2.0.0",
|
|
37
|
+
"@seayoo-web/request": "3.4.2",
|
|
38
|
+
"@seayoo-web/scripts": "3.1.6"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@seayoo-web/combo-webview": "^2.8.0",
|
|
42
|
-
"@seayoo-web/
|
|
43
|
-
"@seayoo-web/
|
|
42
|
+
"@seayoo-web/validator": "^2.0.0",
|
|
43
|
+
"@seayoo-web/utils": "^4.1.3"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"prebuild": "pnpm -F validator build && pnpm -F request build && pnpm -F combo-webview build",
|
|
@@ -44,9 +44,11 @@ export declare const UserEngagementDataValidator: import("@seayoo-web/validator"
|
|
|
44
44
|
tickets: ({
|
|
45
45
|
ticket: /*elided*/ any;
|
|
46
46
|
status: /*elided*/ any;
|
|
47
|
+
created_at: /*elided*/ any;
|
|
47
48
|
} | {
|
|
48
49
|
ticket: /*elided*/ any;
|
|
49
50
|
status: /*elided*/ any;
|
|
51
|
+
created_at: /*elided*/ any;
|
|
50
52
|
reward: /*elided*/ any;
|
|
51
53
|
})[];
|
|
52
54
|
}, false, false>, import("@seayoo-web/validator").ObjectValidator<ClaimActivationKeyEngagementData, false, false>, import("@seayoo-web/validator").ObjectValidator<{
|
|
@@ -9,11 +9,15 @@ export type LotteryDrawTicket = {
|
|
|
9
9
|
ticket: string;
|
|
10
10
|
/** 抽奖券状态 */
|
|
11
11
|
status: InferType<typeof noRewardStatus>;
|
|
12
|
+
/**抽奖券的获得时间 */
|
|
13
|
+
created_at: number;
|
|
12
14
|
} | {
|
|
13
15
|
/** 抽奖券 */
|
|
14
16
|
ticket: string;
|
|
15
17
|
/** 抽奖券状态 */
|
|
16
18
|
status: Exclude<LotteryTicketStatus, InferType<typeof noRewardStatus>>;
|
|
19
|
+
/**抽奖券的获得时间 */
|
|
20
|
+
created_at: number;
|
|
17
21
|
/** 抽奖券奖励物品,status = drawn 时 reward_id = 0 */
|
|
18
22
|
reward: UserReward;
|
|
19
23
|
};
|
|
@@ -24,9 +28,11 @@ export declare const LotteryDrawEngagementDataValidator: import("@seayoo-web/val
|
|
|
24
28
|
tickets: ({
|
|
25
29
|
ticket: /*elided*/ any;
|
|
26
30
|
status: /*elided*/ any;
|
|
31
|
+
created_at: /*elided*/ any;
|
|
27
32
|
} | {
|
|
28
33
|
ticket: /*elided*/ any;
|
|
29
34
|
status: /*elided*/ any;
|
|
35
|
+
created_at: /*elided*/ any;
|
|
30
36
|
reward: /*elided*/ any;
|
|
31
37
|
})[];
|
|
32
38
|
}, false, false>;
|