@seayoo-web/gamer-api 2.12.2 → 2.12.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
@@ -1245,7 +1245,7 @@ const v = {
1245
1245
  role_name: e.string().optional(),
1246
1246
  total_likes: e.number().optional()
1247
1247
  })
1248
- ).maybeNull(),
1248
+ ).optional(),
1249
1249
  next_token: e.string().optional()
1250
1250
  }), In = e.object({
1251
1251
  existed: e.bool(),
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.12.2",
4
+ "version": "2.12.3",
5
5
  "type": "module",
6
6
  "source": "index.ts",
7
7
  "main": "./dist/index.js",
@@ -31,16 +31,16 @@
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.13.1",
33
33
  "@seayoo-web/combo-webview": "2.8.0",
34
- "@seayoo-web/scripts": "3.1.5",
35
34
  "@seayoo-web/tsconfig": "1.0.5",
35
+ "@seayoo-web/scripts": "3.1.5",
36
36
  "@seayoo-web/utils": "4.1.3",
37
37
  "@seayoo-web/request": "3.4.0",
38
38
  "@seayoo-web/validator": "1.1.1"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@seayoo-web/combo-webview": "^2.8.0",
42
- "@seayoo-web/utils": "^4.1.3",
43
- "@seayoo-web/validator": "^1.1.1"
42
+ "@seayoo-web/validator": "^1.1.1",
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",
@@ -55,7 +55,7 @@ export interface UgcRecord {
55
55
  }
56
56
  export interface UgcRecordResponse {
57
57
  /** 稿件列表 */
58
- ugcs: Array<UgcRecord> | null;
58
+ ugcs?: Array<UgcRecord>;
59
59
  /** 分页标识,返回空表示后续没有数据了 */
60
60
  next_token?: string;
61
61
  }
@@ -454,7 +454,7 @@ export declare const UgcSocialMedia: {
454
454
  readonly Douyu: "douyu";
455
455
  };
456
456
  export type UgcSocialMedia = ValueOf<typeof UgcSocialMedia>;
457
- export declare const UgcSocialMediaValidator: import("@seayoo-web/validator").StringValidator<"douyin" | "xiaohongshu" | "taptap" | "bilibili" | "weibo" | "huya" | "douyu", false, false> & {
457
+ export declare const UgcSocialMediaValidator: import("@seayoo-web/validator").StringValidator<UgcSocialMedia, false, false> & {
458
458
  pattern: never;
459
459
  url: never;
460
460
  dataUri: never;