In the observedWalletsLiveStream function, users get actions for every wallet deletion, even if they aren't observing that wallet. This happens because we use a live query on the database to track changes in the wallet table. When a wallet is deleted, its edges are gone by the time we try to check if the user was observing it, so we can't filter these actions properly like we did for creation of a wallet. It can also create security risks.
In the observedWalletsLiveStream function, users get actions for every wallet deletion, even if they aren't observing that wallet. This happens because we use a live query on the database to track changes in the wallet table. When a wallet is deleted, its edges are gone by the time we try to check if the user was observing it, so we can't filter these actions properly like we did for creation of a wallet. It can also create security risks.