@seayoo-web/gamer-api 4.5.3 → 4.5.5

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
@@ -553,7 +553,8 @@ var p = "gamer_token", se = class {
553
553
  OrderAmountInPayCenter: "order_seayoo_web_total_amount",
554
554
  TeamSize: "team_size",
555
555
  UserGroup: "user_group",
556
- engagementCount: "engagement_count"
556
+ engagementCount: "engagement_count",
557
+ GameTaskGM: "game_task_gm"
557
558
  }, E = f.string().enum(Ye).lock(), Xe = {
558
559
  System: "system",
559
560
  UserSubmission: "user_submission",
@@ -1425,9 +1426,8 @@ var yi = {
1425
1426
  }, bi = f.number().enum(yi).lock(), xi = class {
1426
1427
  req;
1427
1428
  constructor(e, t) {
1428
- let n = ae(e) ? e : `https://${o(e)}`;
1429
1429
  this.req = t({
1430
- baseURL: `${n}/v1/ggd`,
1430
+ baseURL: `${ae(e) ? e : `https://${o(e)}`}/v1/ggd`,
1431
1431
  timeout: 1e4,
1432
1432
  maxRetry: 2,
1433
1433
  retryInterval: "2EB",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/gamer-api",
3
- "version": "4.5.3",
3
+ "version": "4.5.5",
4
4
  "description": "agent for gamer api",
5
5
  "license": "MIT",
6
6
  "author": "web@seayoo.com",
@@ -30,16 +30,16 @@
30
30
  "@vitest/coverage-istanbul": "^4.1.4",
31
31
  "happy-dom": "^13.10.1",
32
32
  "vitest": "^4.1.4",
33
- "@seayoo-web/utils": "4.5.4",
34
- "@seayoo-web/request": "4.1.2",
35
- "@seayoo-web/scripts": "4.3.10",
36
33
  "@seayoo-web/combo-webview": "2.9.8",
34
+ "@seayoo-web/scripts": "4.3.10",
37
35
  "@seayoo-web/tsconfig": "1.0.6",
36
+ "@seayoo-web/utils": "4.5.5",
37
+ "@seayoo-web/request": "4.1.3",
38
38
  "@seayoo-web/validator": "2.3.1"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@seayoo-web/combo-webview": "^2.9.8",
42
- "@seayoo-web/utils": "^4.5.4",
42
+ "@seayoo-web/utils": "^4.5.5",
43
43
  "@seayoo-web/validator": "^2.3.1"
44
44
  },
45
45
  "engines": {
@@ -204,6 +204,8 @@ export declare const QuestObjective: {
204
204
  readonly UserGroup: "user_group";
205
205
  /** 玩法参与次数 */
206
206
  readonly engagementCount: "engagement_count";
207
+ /** 游戏内任务-GM*/
208
+ readonly GameTaskGM: "game_task_gm";
207
209
  };
208
210
  export type QuestObjective = ValueOf<typeof QuestObjective>;
209
211
  export declare const QuestObjectiveValidator: import("@seayoo-web/validator").StringValidator<QuestObjective, false, false> & {
@@ -1,22 +0,0 @@
1
- import type { ValueOf } from "@seayoo-web/utils";
2
- /** 房间状态 */
3
- export declare const GGDRoomStatus: {
4
- /** 等待中 */
5
- readonly Waiting: 1;
6
- /** 游戏中 */
7
- readonly Playing: 2;
8
- };
9
- export type GGDRoomStatus = ValueOf<typeof GGDRoomStatus>;
10
- export declare const GGDRoomStatusValidator: import("@seayoo-web/validator").NumberValidator<GGDRoomStatus, false, false> & {
11
- int: never;
12
- min: never;
13
- max: never;
14
- allowNaN: never;
15
- allowInfinity: never;
16
- unsafe: never;
17
- enum: never;
18
- disallow: never;
19
- optional: never;
20
- maybeNull: never;
21
- lock: never;
22
- };