Open carzygod opened 7 months ago
When using @2.0.1 & @2.0.2 release of Vanilla JS version . tonConnectUI.connected & tonConnectUI.state not working right .
@2.0.1
@2.0.2
For example :
if(tonConnectUI.connected) { console.log("Disconnect for connection reload") await tonConnectUI.disconnect(); } await tonConnectUI.openModal();
While processing this logic . it saids :
But if i change the logic to :
await tonConnectUI.disconnect(); await tonConnectUI.openModal();
The tonconnectUI.modalstate shows
{status: 'closed', closeReason: null}
, which i think , yes , not been connected .
This issues happened since @2.0.1 . Afther we meet this issues , we rollback to @2.0.0 which still works fine with right result .
@2.0.0
Find the issues and fix in future release version .
@2.0.0 working , but @2.0.1 & @2.0.2 Not working .
Run the code in Vanilla JS
Vanilla JS
No response
Describe the bug
When using
@2.0.1
&@2.0.2
release of Vanilla JS version . tonConnectUI.connected & tonConnectUI.state not working right .For example :
While processing this logic . it saids :
But if i change the logic to :
The tonconnectUI.modalstate shows
, which i think , yes , not been connected .
This issues happened since
@2.0.1
. Afther we meet this issues , we rollback to@2.0.0
which still works fine with right result .Expected behavior
Find the issues and fix in future release version .
Current behavior
@2.0.0
working , but@2.0.1
&@2.0.2
Not working .Steps to Reproduce
Run the code in Vanilla JS
Environment
Vanilla JS
Additional context
No response