SignClient and Multiple dApp Tabs #5255
Unanswered
VigM-Figure
asked this question in
Developer Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
SignClient
question for dApps.If I'm using the
@walletconnect/sign-client
library and I call.disconnect
is there any way I can detect that disconnect from another same-origin tab?Since the switch from localStorage to IndexDB (1.0 -> 2.0) I'm having a hard time getting different same-origin tabs to sync up their data and states. Previously I could just detect changes to localStorage for WC values and act on them as needed. IndexDB doesn't have a way to do that afaik.
I have the same issue with
.connect
. One tab connects/disconnects and the others won't know anything happened until a page refresh.Beta Was this translation helpful? Give feedback.
All reactions