@seayoo-web/gamer-api 2.10.1 → 2.10.2
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
|
@@ -1052,9 +1052,7 @@ const v = {
|
|
|
1052
1052
|
images: e.array(e.string()).optional(),
|
|
1053
1053
|
videos: e.array(e.string()).optional(),
|
|
1054
1054
|
description: e.string().optional(),
|
|
1055
|
-
jump_url: e.string()
|
|
1056
|
-
base_votes: e.number(),
|
|
1057
|
-
votes_multiplier: e.number()
|
|
1055
|
+
jump_url: e.string()
|
|
1058
1056
|
}), mn = e.object({
|
|
1059
1057
|
...m.shape,
|
|
1060
1058
|
feature_type: e.string().enum(cn),
|
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.10.
|
|
4
|
+
"version": "2.10.2",
|
|
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/combo-webview": "2.7.0",
|
|
34
33
|
"@seayoo-web/request": "3.4.0",
|
|
35
34
|
"@seayoo-web/scripts": "3.1.3",
|
|
36
|
-
"@seayoo-web/
|
|
35
|
+
"@seayoo-web/combo-webview": "2.7.0",
|
|
37
36
|
"@seayoo-web/tsconfig": "1.0.5",
|
|
37
|
+
"@seayoo-web/utils": "4.1.3",
|
|
38
38
|
"@seayoo-web/validator": "1.1.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@seayoo-web/combo-webview": "^2.7.0",
|
|
42
41
|
"@seayoo-web/utils": "^4.1.3",
|
|
43
|
-
"@seayoo-web/validator": "^1.1.0"
|
|
42
|
+
"@seayoo-web/validator": "^1.1.0",
|
|
43
|
+
"@seayoo-web/combo-webview": "^2.7.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"prebuild": "pnpm -F validator build && pnpm -F request build && pnpm -F combo-webview build",
|
|
@@ -14,10 +14,6 @@ export interface FeatureVoteCandidate {
|
|
|
14
14
|
description?: string;
|
|
15
15
|
/** 跳转地址 */
|
|
16
16
|
jump_url: string;
|
|
17
|
-
/** 用于修正得票数的基数。默认为 `0` */
|
|
18
|
-
base_votes: number;
|
|
19
|
-
/** 用于修正得票数的系数,不小于 `1.0`,默认为 `1.0` */
|
|
20
|
-
votes_multiplier: number;
|
|
21
17
|
}
|
|
22
18
|
export interface FeatureVote2Config {
|
|
23
19
|
/** 投票行为消耗活动道具 ID。可选,如果为 0 则同样表示不需要消耗道具 */
|