@seayoo-web/gamer-api 2.3.0 → 2.3.2

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
@@ -1372,6 +1372,7 @@ class Pr {
1372
1372
  );
1373
1373
  return l && l.rewards && (l.rewards = l.rewards.map((p) => (p.reward_status = p.reward_status === E.UnclaimedErr ? E.Unclaimed : p.reward_status, p))), l ?? {
1374
1374
  error: d
1375
+ // 没有可领取的激活码
1375
1376
  };
1376
1377
  }
1377
1378
  /**
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.3.0",
4
+ "version": "2.3.2",
5
5
  "type": "module",
6
6
  "source": "index.ts",
7
7
  "main": "./dist/index.js",
@@ -13,6 +13,13 @@
13
13
  "types",
14
14
  "README.md"
15
15
  ],
16
+ "exports": {
17
+ ".": {
18
+ "types": "./types/index.d.ts",
19
+ "import": "./dist/index.js",
20
+ "default": "./dist/index.js"
21
+ }
22
+ },
16
23
  "publishConfig": {
17
24
  "access": "public"
18
25
  },
@@ -23,11 +30,11 @@
23
30
  "license": "MIT",
24
31
  "devDependencies": {
25
32
  "@types/node": "^22.13.1",
26
- "@seayoo-web/combo-webview": "^2.5.4",
27
33
  "@seayoo-web/tsconfig": "^1.0.4",
34
+ "@seayoo-web/request": "^3.2.0",
28
35
  "@seayoo-web/scripts": "^2.5.7",
29
- "@seayoo-web/utils": "^3.5.2",
30
- "@seayoo-web/request": "^3.2.0"
36
+ "@seayoo-web/combo-webview": "^2.5.4",
37
+ "@seayoo-web/utils": "^3.5.2"
31
38
  },
32
39
  "peerDependencies": {
33
40
  "@seayoo-web/combo-webview": "^2.5.4",
@@ -120,7 +120,7 @@ export declare class EventApi {
120
120
  role_id?: string;
121
121
  role_name?: string;
122
122
  }, requestOptions?: IRequestOptions): Promise<import("./event.define").EngageResponse | {
123
- error: RequestInternalError | "event_not_found" | "feature_not_found" | "invalid_weixin_appid" | "invalid_weixin_openid" | "event_not_started" | "event_already_ended" | "engage_feature_reached_limit" | "comment_too_frequently" | "lottery_reward_is_empty" | "invalid_merchant_parameter" | "budget_not_enough" | "combo_id_not_found" | "query_user_order_total_amount_err" | "unique_gift_code_is_empty" | "player_created_at_out_of_range" | "user_had_joined_a_team" | "team_is_full" | "disband_team_not_allowed" | "change_team_visibility_not_allowed" | "team_not_found" | "join_team_conflict" | "team_has_been_disbanded" | "exceeded_assembled_team_limit" | "invalid_engage_lottery_draw_ticket" | "lottery_ticket_not_found" | "draw_lottery_ticket_not_start" | "draw_lottery_ticket_is_ended";
123
+ error: RequestInternalError | "event_not_found" | "feature_not_found" | "invalid_weixin_appid" | "invalid_weixin_openid" | "event_not_started" | "event_already_ended" | "engage_feature_reached_limit" | "comment_too_frequently" | "lottery_reward_is_empty" | "invalid_merchant_parameter" | "budget_not_enough" | "combo_id_not_found" | "query_user_order_total_amount_err" | "unique_gift_code_is_empty" | "player_created_at_out_of_range" | "user_had_joined_a_team" | "team_is_full" | "disband_team_not_allowed" | "change_team_visibility_not_allowed" | "team_not_found" | "join_team_conflict" | "team_has_been_disbanded" | "exceeded_assembled_team_limit" | "invalid_engage_lottery_draw_ticket" | "lottery_ticket_not_found" | "draw_lottery_ticket_not_start" | "draw_lottery_ticket_is_ended" | "activation_group_not_found" | "activation_group_expired" | "no_claim_activation_key_eligibility" | "no_activation_key_available";
124
124
  }>;
125
125
  /**
126
126
  * 用户领取除红包和实物奖励以外的所有奖励