@seayoo-web/gamer-api 4.6.1 → 4.6.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 +2 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1516,7 +1516,7 @@ var yi = {
|
|
|
1516
1516
|
}
|
|
1517
1517
|
async describeRoleMatchStats(e) {
|
|
1518
1518
|
if (!this.req) throw Error("初始化错误,没有找到请求工具");
|
|
1519
|
-
let { data: t, code: n, message: r } = await this.req.
|
|
1519
|
+
let { data: t, code: n, message: r } = await this.req.get("ggd/describe-role-match-stats", { role_id: e }, d({
|
|
1520
1520
|
inference_level: f.string().optional(),
|
|
1521
1521
|
recent_classic_survival_round: f.number().optional(),
|
|
1522
1522
|
recent_goose_vote_correct_rate: f.string().optional(),
|
|
@@ -1542,7 +1542,7 @@ var yi = {
|
|
|
1542
1542
|
}
|
|
1543
1543
|
async listRoleMatches(e) {
|
|
1544
1544
|
if (!this.req) throw Error("初始化错误,没有找到请求工具");
|
|
1545
|
-
let { data: t, code: n, message: r } = await this.req.
|
|
1545
|
+
let { data: t, code: n, message: r } = await this.req.get("ggd/list-role-matches", { role_id: e }, d({ matches: f.array(f.object({
|
|
1546
1546
|
players_num: f.number(),
|
|
1547
1547
|
end_time: f.number(),
|
|
1548
1548
|
map_name: f.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seayoo-web/gamer-api",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.2",
|
|
4
4
|
"description": "agent for gamer api",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "web@seayoo.com",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"@vitest/coverage-istanbul": "^4.1.4",
|
|
31
31
|
"happy-dom": "^13.10.1",
|
|
32
32
|
"vitest": "^4.1.4",
|
|
33
|
-
"@seayoo-web/combo-webview": "2.9.8",
|
|
34
|
-
"@seayoo-web/scripts": "4.3.11",
|
|
35
33
|
"@seayoo-web/tsconfig": "1.0.7",
|
|
36
|
-
"@seayoo-web/
|
|
34
|
+
"@seayoo-web/scripts": "4.3.11",
|
|
35
|
+
"@seayoo-web/request": "4.1.3",
|
|
37
36
|
"@seayoo-web/validator": "2.3.1",
|
|
38
|
-
"@seayoo-web/
|
|
37
|
+
"@seayoo-web/utils": "4.5.6",
|
|
38
|
+
"@seayoo-web/combo-webview": "2.9.8"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@seayoo-web/combo-webview": "^2.9.8",
|