OptionaldisableAllows to disable auto pause/unpause SSE connection on 'document.visibilitychange' event. It is not recommended to change default behaviour.
OptionaleventEvent dispatcher to track user actions. By default, it uses window.dispatchEvent for browser environment.
OptionalmanifestUrl to the [manifest]https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest with the Dapp metadata that will be displayed in the user's wallet.
If not passed, manifest from ${window.location.origin}/tonconnect-manifest.json will be taken.
OptionalstorageStorage to save protocol data. For browser default is localStorage. If you use SDK with nodeJS, you have to specify this field.
OptionalwalletsWallets list cache time to live
OptionalwalletsRedefine wallets list source URL. Must be a link to a json file with [following structure]https://github.com/ton-connect/wallets-list
OptionalwalletsRequired features for wallets. If wallet doesn't support required features, it will be disabled.
TonConnect constructor options