@seayoo-web/gamer-api 2.8.2 → 2.8.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
|
@@ -882,7 +882,8 @@ const R = {
|
|
|
882
882
|
since: e.number(),
|
|
883
883
|
until: e.number(),
|
|
884
884
|
engage_account: Ye,
|
|
885
|
-
feature_rewards: dt.clone().optional()
|
|
885
|
+
feature_rewards: dt.clone().optional(),
|
|
886
|
+
sort: e.number().optional()
|
|
886
887
|
}), gt = u.Cashback, pt = e.object({
|
|
887
888
|
...l.shape,
|
|
888
889
|
feature_type: e.string().enum(gt),
|
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.8.
|
|
4
|
+
"version": "2.8.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "index.ts",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.13.1",
|
|
33
|
+
"@seayoo-web/request": "3.4.0",
|
|
33
34
|
"@seayoo-web/combo-webview": "2.6.0",
|
|
34
35
|
"@seayoo-web/scripts": "3.0.5",
|
|
35
|
-
"@seayoo-web/request": "3.4.0",
|
|
36
|
-
"@seayoo-web/utils": "4.0.2",
|
|
37
36
|
"@seayoo-web/tsconfig": "1.0.5",
|
|
37
|
+
"@seayoo-web/utils": "4.0.2",
|
|
38
38
|
"@seayoo-web/validator": "1.0.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@seayoo-web/combo-webview": "2.6.0",
|
|
42
|
-
"@seayoo-web/
|
|
43
|
-
"@seayoo-web/
|
|
42
|
+
"@seayoo-web/utils": "4.0.2",
|
|
43
|
+
"@seayoo-web/validator": "1.0.1"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"prebuild": "pnpm -F request build && pnpm -F combo-webview build",
|
|
@@ -21,5 +21,7 @@ export interface EventFeatureBaseConfig {
|
|
|
21
21
|
engage_account: EngageAccountType;
|
|
22
22
|
/** 玩法参与奖励 */
|
|
23
23
|
feature_rewards?: FeatureReward;
|
|
24
|
+
/** 玩法排序 */
|
|
25
|
+
sort?: number;
|
|
24
26
|
}
|
|
25
27
|
export declare const EventFeatureBaseConfigValidator: import("@seayoo-web/validator").ObjectValidator<EventFeatureBaseConfig, false, false>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type InferType } from "@seayoo-web/validator";
|
|
2
2
|
import { type EventFeatureBaseConfig } from "./feature.base";
|
|
3
|
-
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"
|
|
3
|
+
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"event_item" | "game_item" | "physical_item" | "weixin_hongbao" | "activation_key" | "credit" | "external_gift_code" | "void_item", false, false>;
|
|
4
4
|
declare const featureType: "lottery";
|
|
5
5
|
export interface FeatureLotteryItemConfig {
|
|
6
6
|
/** 抽奖奖励道具 id */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type InferType } from "@seayoo-web/validator";
|
|
2
|
-
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"
|
|
2
|
+
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"event_item" | "game_item" | "physical_item" | "weixin_hongbao" | "activation_key" | "credit" | "external_gift_code" | "void_item", false, false>;
|
|
3
3
|
export interface EventRewardItemConfig {
|
|
4
4
|
/** 玩法奖励道具 id */
|
|
5
5
|
reward_item_id: number;
|