@seayoo-web/gamer-api 2.16.2 → 2.16.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
@@ -1265,7 +1265,7 @@ const v = {
1265
1265
  })
1266
1266
  )
1267
1267
  }), An = e.object({
1268
- platform: e.string()
1268
+ platform: e.string().optional()
1269
1269
  }), Gn = e.object({
1270
1270
  weixin_openid: e.string()
1271
1271
  }), On = e.object({
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.16.2",
4
+ "version": "2.16.3",
5
5
  "type": "module",
6
6
  "source": "index.ts",
7
7
  "main": "./dist/index.js",
@@ -30,16 +30,16 @@
30
30
  "license": "MIT",
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.13.1",
33
- "@seayoo-web/tsconfig": "1.0.5",
34
33
  "@seayoo-web/combo-webview": "2.8.0",
35
34
  "@seayoo-web/request": "3.4.3",
36
- "@seayoo-web/scripts": "3.1.8",
37
- "@seayoo-web/utils": "4.3.0",
35
+ "@seayoo-web/tsconfig": "1.0.6",
36
+ "@seayoo-web/utils": "4.4.0",
37
+ "@seayoo-web/scripts": "3.1.9",
38
38
  "@seayoo-web/validator": "2.3.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@seayoo-web/combo-webview": "^2.8.0",
42
- "@seayoo-web/utils": "^4.3.0",
42
+ "@seayoo-web/utils": "^4.4.0",
43
43
  "@seayoo-web/validator": "^2.3.0"
44
44
  },
45
45
  "scripts": {
@@ -1,9 +1,9 @@
1
1
  export interface ShareEngagementData {
2
2
  /** 用户分享到对应的平台 */
3
- platform: string;
3
+ platform?: string;
4
4
  }
5
5
  export declare const ShareEngagementDataValidator: import("@seayoo-web/validator").ObjectValidator<ShareEngagementData, false, false>;
6
6
  export interface ShareEngagementParam {
7
7
  /** 用户分享到对应的平台 */
8
- platform: string;
8
+ platform?: string;
9
9
  }