@seayoo-web/gamer-api 4.1.1 → 4.1.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
@@ -959,6 +959,7 @@ var d = "gamer_token", ue = class {
959
959
  candidate_id: u.string(),
960
960
  total_votes: u.number().optional(),
961
961
  my_votes: u.number().optional(),
962
+ cycle_votes: u.number().optional(),
962
963
  votes: u.number().optional()
963
964
  }), Bn = u.object({
964
965
  rewards_type: dt,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/gamer-api",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "agent for gamer api",
5
5
  "license": "MIT",
6
6
  "author": "web@seayoo.com",
@@ -27,16 +27,16 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^22.13.1",
30
- "@seayoo-web/scripts": "4.1.2",
31
- "@seayoo-web/combo-webview": "2.9.6",
32
- "@seayoo-web/utils": "4.4.1",
30
+ "@seayoo-web/scripts": "4.3.3",
33
31
  "@seayoo-web/request": "4.1.0",
32
+ "@seayoo-web/combo-webview": "2.9.7",
34
33
  "@seayoo-web/tsconfig": "1.0.6",
35
- "@seayoo-web/validator": "2.3.0"
34
+ "@seayoo-web/validator": "2.3.0",
35
+ "@seayoo-web/utils": "4.4.1"
36
36
  },
37
37
  "peerDependencies": {
38
- "@seayoo-web/combo-webview": "^2.9.6",
39
38
  "@seayoo-web/utils": "^4.4.1",
39
+ "@seayoo-web/combo-webview": "^2.9.7",
40
40
  "@seayoo-web/validator": "^2.3.0"
41
41
  },
42
42
  "engines": {
@@ -7,6 +7,8 @@ export interface Vote2EngagementData {
7
7
  total_votes?: number;
8
8
  /** 用户向候选者投入的总票数,当调用 engage api 时有效 */
9
9
  my_votes?: number;
10
+ /** 当前周期内此选项的投票数,当调用 engage api 时有效 */
11
+ cycle_votes?: number;
10
12
  /** 用户当次向投出的票数,当调用 getUserEngagements api 时有效 */
11
13
  votes?: number;
12
14
  }