diff --git a/packages/ton/TonBridge.ts b/packages/ton/TonBridge.ts index aa7fb68d..f03afd31 100644 --- a/packages/ton/TonBridge.ts +++ b/packages/ton/TonBridge.ts @@ -83,6 +83,15 @@ export class TonBridge implements TonConnectBridge { }); } + async disconnect() { + await this.provider.send('tonConnect_disconnect', {}); + + return this.emit({ + event: 'disconnect', + payload: {}, + }); + } + /** * Return and call callbacks * @param event