@seayoo-web/gamer-api 1.1.17 → 1.1.18

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
@@ -945,11 +945,11 @@ class br {
945
945
  *
946
946
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=OWGSPF3Ysl
947
947
  */
948
- async verifyMobileAllowed(r) {
949
- const { data: n } = await this.req.get("verify-mobile-allowed", yt, {
950
- params: { mobile: r }
948
+ async verifyMobileAllowed(r, n) {
949
+ const { data: s } = await this.req.get("verify-mobile-allowed", yt, {
950
+ params: { game_id: r, mobile: n }
951
951
  });
952
- return n;
952
+ return s;
953
953
  }
954
954
  /**
955
955
  * 获取运营活动的基础配置信息
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": "1.1.17",
4
+ "version": "1.1.18",
5
5
  "type": "module",
6
6
  "source": "index.ts",
7
7
  "main": "./dist/index.js",
@@ -22,10 +22,10 @@
22
22
  "license": "MIT",
23
23
  "devDependencies": {
24
24
  "@types/node": "^22.13.1",
25
+ "@seayoo-web/scripts": "^1.3.15",
25
26
  "@seayoo-web/combo-webview": "^2.5.0",
26
27
  "@seayoo-web/request": "^2.1.2",
27
28
  "@seayoo-web/tsconfig": "^1.0.3",
28
- "@seayoo-web/scripts": "^1.3.15",
29
29
  "@seayoo-web/utils": "^3.3.0"
30
30
  },
31
31
  "peerDependencies": {
@@ -16,7 +16,7 @@ export declare class EventApi {
16
16
  *
17
17
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=OWGSPF3Ysl
18
18
  */
19
- verifyMobileAllowed(mobile: string): Promise<import("./event.define").VerifyMobileResult | null>;
19
+ verifyMobileAllowed(gameId: string, mobile: string): Promise<import("./event.define").VerifyMobileResult | null>;
20
20
  /**
21
21
  * 获取运营活动的基础配置信息
22
22
  *