@seayoo-web/gamer-api 2.13.20 → 2.13.21
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/package.json +4 -4
- package/types/src/club.d.ts +2 -0
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.13.
|
|
4
|
+
"version": "2.13.21",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "index.ts",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"@types/node": "^22.13.1",
|
|
33
33
|
"@seayoo-web/combo-webview": "2.8.0",
|
|
34
34
|
"@seayoo-web/request": "3.4.2",
|
|
35
|
-
"@seayoo-web/utils": "4.1.3",
|
|
36
35
|
"@seayoo-web/scripts": "3.1.6",
|
|
37
36
|
"@seayoo-web/tsconfig": "1.0.5",
|
|
37
|
+
"@seayoo-web/utils": "4.1.3",
|
|
38
38
|
"@seayoo-web/validator": "2.0.0"
|
|
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",
|
package/types/src/club.d.ts
CHANGED
|
@@ -165,6 +165,8 @@ export declare class ClubApi {
|
|
|
165
165
|
getProducts(option?: {
|
|
166
166
|
/** 游戏账号 ID,游戏外必传 */
|
|
167
167
|
player_id?: string;
|
|
168
|
+
/** 商品分类 ID */
|
|
169
|
+
catalog_id?: number;
|
|
168
170
|
}, requestOptions?: IRequestOptions): Promise<import("./club.define").ClubProduct[]>;
|
|
169
171
|
/**
|
|
170
172
|
* 兑换商城商品
|