@seayoo-web/gamer-api 4.3.4 → 4.3.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
@@ -588,7 +588,7 @@ var m = "gamer_token", se = class {
588
588
  ChangeVisibility: "change_visibility",
589
589
  Query: "query"
590
590
  }, at = f.string().enum(it).lock(), ot = {
591
- Share: "share",
591
+ ReferralCode: "referral_code",
592
592
  Join: "join",
593
593
  Query: "query"
594
594
  }, st = f.string().enum(ot).lock(), ct = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/gamer-api",
3
- "version": "4.3.4",
3
+ "version": "4.3.5",
4
4
  "description": "agent for gamer api",
5
5
  "license": "MIT",
6
6
  "author": "web@seayoo.com",
@@ -30,14 +30,14 @@
30
30
  "@seayoo-web/combo-webview": "2.9.7",
31
31
  "@seayoo-web/request": "4.1.0",
32
32
  "@seayoo-web/scripts": "4.3.6",
33
+ "@seayoo-web/tsconfig": "1.0.6",
33
34
  "@seayoo-web/utils": "4.4.1",
34
- "@seayoo-web/validator": "2.3.0",
35
- "@seayoo-web/tsconfig": "1.0.6"
35
+ "@seayoo-web/validator": "2.3.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@seayoo-web/combo-webview": "^2.9.7",
39
- "@seayoo-web/utils": "^4.4.1",
40
- "@seayoo-web/validator": "^2.3.0"
39
+ "@seayoo-web/validator": "^2.3.0",
40
+ "@seayoo-web/utils": "^4.4.1"
41
41
  },
42
42
  "engines": {
43
43
  "node": ">=22"
@@ -17,7 +17,7 @@ export interface ReferralEngagementData {
17
17
  export declare const ReferralEngagementDataValidator: import("@seayoo-web/validator").ObjectValidator<ReferralEngagementData, false, false>;
18
18
  export type ReferralEngagementParam = {
19
19
  /** 操作类型 */
20
- action: typeof ReferralAction.Share;
20
+ action: typeof ReferralAction.ReferralCode;
21
21
  } | {
22
22
  /** 操作类型 */
23
23
  action: typeof ReferralAction.Join;
@@ -374,8 +374,8 @@ export declare const TeamActionValidator: import("@seayoo-web/validator").String
374
374
  };
375
375
  /** 裂变玩法操作类型 */
376
376
  export declare const ReferralAction: {
377
- /** 获取邀请码 */
378
- readonly Share: "share";
377
+ /** 生成邀请码 */
378
+ readonly ReferralCode: "referral_code";
379
379
  /** 被邀请人参与 */
380
380
  readonly Join: "join";
381
381
  /** 查询邀请码、已邀人数、被邀请人列表 */