@seayoo-web/gamer-api 4.5.4 → 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 +3 -3
- package/package.json +4 -4
- package/types/src/event.enums.d.ts +2 -0
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: `${
|
|
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
|
+
"version": "4.5.5",
|
|
4
4
|
"description": "agent for gamer api",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "web@seayoo.com",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"vitest": "^4.1.4",
|
|
33
33
|
"@seayoo-web/combo-webview": "2.9.8",
|
|
34
34
|
"@seayoo-web/scripts": "4.3.10",
|
|
35
|
-
"@seayoo-web/
|
|
36
|
-
"@seayoo-web/request": "4.1.3",
|
|
35
|
+
"@seayoo-web/tsconfig": "1.0.6",
|
|
37
36
|
"@seayoo-web/utils": "4.5.5",
|
|
38
|
-
"@seayoo-web/
|
|
37
|
+
"@seayoo-web/request": "4.1.3",
|
|
38
|
+
"@seayoo-web/validator": "2.3.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@seayoo-web/combo-webview": "^2.9.8",
|
|
@@ -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> & {
|