ton-blockchain / wallets-list

108 stars 122 forks source link

about add tonhub wallets-list version #15

Closed LeoWangJ closed 1 year ago

LeoWangJ commented 1 year ago

I'm using@tonconnect/sdk@2.1.0 default walletsListSource (add tonhub wallets-list version ) occur this error previous version (not add tonhub) is working well

截圖 2023-03-22 下午12 26 11
gohryt commented 1 year ago

same as LeoWangJ

gohryt commented 1 year ago

there is no 'universal_url' for Tonhub but validation in tonconnect requires it

if (sseBridge) {
    if (
        !('url' in sseBridge) ||
        !(sseBridge as { url: string }).url ||
        !(value as { universal_url: string }).universal_url
    ) {
        return false;
    }
} 
EmelyanenkoK commented 1 year ago

Thanks, we've reverted the last changes for now. Will merge Tonhub soon with correct config.