Skip to content

feat: 新增 same-net-verify 事件监听(1.0.166,升 puppet-service 1.0.129) - #128

Merged
f-hk merged 2 commits into
mainfrom
feature/same-net-verify
Sep 2, 2026
Merged

feat: 新增 same-net-verify 事件监听(1.0.166,升 puppet-service 1.0.129)#128
f-hk merged 2 commits into
mainfrom
feature/same-net-verify

Conversation

@f-hk

@f-hk f-hk commented Sep 2, 2026

Copy link
Copy Markdown

Brief description of what is fixed or changed

新增 same-net-verify 事件的监听器与转发,版本升到 1.0.166:

  • src/schemas/wechaty-events.tsWechatyEventListenerSameNetVerify = (id, scene, status, apkQrcodeUrl, apkUrl, verifyQrcodeUrl, expireTimestamp)WechatyEventListeners 与导出同步
  • src/wechaty-mixins/puppet-mixin.ts:把 puppet 的 same-net-verify payload 拆成上述参数 emit
  • 依赖:@juzi/wechaty-puppet-service 1.0.129、@juzi/wechaty-puppet ^1.0.156

接法与 verify-slide 完全一致。npm run lintnpm run buildnpm test 通过。

背景

微信对 Mac 协议新设备登录新增「同网络验证」,bot-nested 通过这个事件驱动前端向导。

依赖顺序

上游 wechaty-grpc 1.0.108、wechaty-puppet 1.0.156、wechaty-puppet-service 1.0.129 均需先发布。本包合入后 CI 发布 1.0.166,之后 xiaoju-bot-nested 升级四个包。

需求文档:https://juzihudong.feishu.cn/wiki/DPTdwt863iOmnIkXQ6gcgIaDnjZ

🤖 Generated with Claude Code

lzy and others added 2 commits September 3, 2026 01:47
…备同网络验证

WechatyEventListenerSameNetVerify(id, scene, status, apkQrcodeUrl, apkUrl, verifyQrcodeUrl,
expireTimestamp),puppet-mixin 把 puppet 的 same-net-verify payload 拆成参数转发,
接法与 verify-slide 一致。

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
….129、wechaty-puppet ^1.0.156

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


lzy seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@f-hk
f-hk merged commit ebd90cd into main Sep 2, 2026
10 of 11 checks passed
@f-hk
f-hk deleted the feature/same-net-verify branch September 2, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants