Skip to content

Commit

Permalink
fix: added expire handler
Browse files Browse the repository at this point in the history
  • Loading branch information
isordo committed Sep 18, 2023
1 parent 3d92a5d commit fad4a35
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,10 @@ export class WalletConnectCommunicationClient extends CommunicationClient {
signClient.core.pairing.events.on('pairing_delete', (event) => {
this.disconnect(signClient, { type: 'pairing', topic: event.topic })
})

signClient.core.pairing.events.on('expire', (event) => {
this.disconnect(signClient, { type: 'pairing', topic: event.topic })
})
}

private async acknowledgeRequest(id: string) {
Expand Down

0 comments on commit fad4a35

Please sign in to comment.