From ef2163eb956305775945b88c4caa089419bee5ae Mon Sep 17 00:00:00 2001 From: Mathieu Hofman Date: Wed, 6 Dec 2023 00:41:32 +0000 Subject: [PATCH] chore(web-components): fix lint --- packages/web-components/src/keplr-connection/watchWallet.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/web-components/src/keplr-connection/watchWallet.js b/packages/web-components/src/keplr-connection/watchWallet.js index 4b3172f48df0..b3504b616c2b 100644 --- a/packages/web-components/src/keplr-connection/watchWallet.js +++ b/packages/web-components/src/keplr-connection/watchWallet.js @@ -69,7 +69,10 @@ export const watchWallet = async (leader, address, context, rpcs) => { const watchCurrent = async () => { let lastPaths; for await (const { value } of iterateLatest(currentFollower)) { - const { offerToPublicSubscriberPaths: currentPaths } = value; + const { offerToPublicSubscriberPaths: currentPaths } = + /** @type {import('@agoric/smart-wallet/src/smartWallet.js').CurrentWalletRecord} */ ( + value + ); // eslint-disable-next-line no-continue if (currentPaths === lastPaths) continue;