diff --git a/docs/classes/_tonconnect_protocol.SessionCrypto.html b/docs/classes/_tonconnect_protocol.SessionCrypto.html index 55508ae2..2288e807 100644 --- a/docs/classes/_tonconnect_protocol.SessionCrypto.html +++ b/docs/classes/_tonconnect_protocol.SessionCrypto.html @@ -21,7 +21,7 @@

Hierarchy

+
  • Defined in packages/protocol/src/crypto/session-crypto.ts:5
  • @@ -55,14 +55,14 @@

    Parameters

    Optional keyPair: KeyPair

    Returns SessionCrypto

    +
  • Defined in packages/protocol/src/crypto/session-crypto.ts:12
  • Properties

    sessionId: string
    +
  • Defined in packages/protocol/src/crypto/session-crypto.ts:10
  • Methods

    @@ -79,7 +79,7 @@
    message: Uint8Array
    senderPublicKey: Uint8Array

    Returns string

    +
  • Defined in packages/protocol/src/crypto/session-crypto.ts:44
  • Returns Uint8Array

    +
  • Defined in packages/protocol/src/crypto/session-crypto.ts:32
  • +
  • Defined in packages/protocol/src/crypto/session-crypto.ts:63
  • Returns boolean

    +
  • Defined in packages/sdk/src/ton-connect.ts:58
  • Returns boolean

    +
  • Defined in packages/sdk/src/ton-connect.ts:51
  • +
  • Defined in packages/sdk/src/wallets-list-manager.ts:36
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:94
  • connector: ITonConnect

    TonConnect instance.

    +
  • Defined in packages/ui/src/ton-connect-ui.ts:71
  • Manages the modal window state.

    +
  • Defined in packages/ui/src/ton-connect-ui.ts:76
  • Accessors

    @@ -112,7 +112,7 @@
    +
  • Defined in packages/ui/src/ton-connect-ui.ts:106
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:99
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:315
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:349
  • Returns void

    +
  • Defined in packages/ui/src/ton-connect-ui.ts:128
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:113
  • Methods

    @@ -179,7 +179,7 @@
    +
  • Defined in packages/ui/src/ton-connect-ui.ts:301
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:331
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:359
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:373
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:265
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:308
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:339
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:273
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:294
  • Returns Promise<void>

    +
  • Defined in packages/ui/src/ton-connect-ui.ts:323
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:385
  • Returns void

    +
  • Defined in packages/ui/src/ton-connect-ui.ts:253
  • +
  • Defined in packages/ui/src/ton-connect-ui.ts:48
  • +
  • Defined in packages/protocol/src/models/CHAIN.ts:3
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/connect-event.ts:30
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/connect-event.ts:62
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/disconnect-rpc-response.ts:16
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/send-transaction-rpc-response.ts:21
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/sign-data-rpc-response.ts:22
  • +
  • Defined in packages/ui/src/models/THEME.ts:3
  • +
  • Defined in packages/protocol/src/utils/binary.ts:1
  • +
  • Defined in packages/protocol/src/utils/binary.ts:25
  • +
  • Defined in packages/protocol/src/utils/web-api.ts:1
  • +
  • Defined in packages/protocol/src/utils/binary.ts:8
  • +
  • Defined in packages/protocol/src/utils/binary.ts:18
  • +
  • Defined in packages/sdk/src/utils/url.ts:22
  • +
  • Defined in packages/sdk/src/utils/url.ts:13
  • +
  • Defined in packages/sdk/src/utils/address.ts:12
  • Returns boolean

    +
  • Defined in packages/ui-react/src/hooks/useIsConnectionRestored.ts:7
  • +
  • Defined in packages/ui-react/src/hooks/useTonAddress.ts:8
  • Returns Omit<WalletsModal, "onStateChange">

    +
  • Defined in packages/ui-react/src/hooks/useTonConnectModal.ts:8
  • Returns [TonConnectUI, ((options: TonConnectUiOptions) => void)]

    +
  • Defined in packages/ui-react/src/hooks/useTonConnectUI.ts:10
  • Returns Wallet | Wallet & WalletInfoWithOpenMethod | null

    +
  • Defined in packages/ui-react/src/hooks/useTonWallet.ts:8
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/connect-event.ts:18
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/connect-event.ts:9
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/disconnect-event.ts:4
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/disconnect-rpc-response.ts:12
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/disconnect-rpc-response.ts:7
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/send-transaction-rpc-response.ts:14
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/wallet-response-template.ts:4
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/sign-data-rpc-response.ts:15
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/sign-data-rpc-response.ts:7
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/connect-event.ts:48
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/wallet-response-template.ts:10
  • +
  • Defined in packages/sdk/src/models/wallet/account.ts:18
  • +
  • Defined in packages/sdk/src/models/methods/connect/connect-additional-request.ts:5
  • Returns Promise<null | string>

    +
  • Defined in packages/sdk/src/storage/models/storage.interface.ts:16
    • @@ -71,7 +71,7 @@
      key: string

    Returns Promise<void>

    +
  • Defined in packages/sdk/src/storage/models/storage.interface.ts:22
    • @@ -92,7 +92,7 @@
      value: string

    Returns Promise<void>

    +
  • Defined in packages/sdk/src/storage/models/storage.interface.ts:10
  • Returns void

    +
  • Defined in packages/sdk/src/ton-connect.interface.ts:35
  • +
  • Defined in packages/sdk/src/ton-connect.interface.ts:60
  • +
  • Defined in packages/sdk/src/ton-connect.interface.ts:54
    • @@ -226,7 +226,7 @@
      Optional onRequestSent: Returns void

    Returns Promise<SendTransactionResponse>

    +
  • Defined in packages/sdk/src/ton-connect.interface.ts:79
  • +
  • Defined in packages/sdk/src/ton-connect.interface.ts:65
  • +
  • Defined in packages/sdk/src/models/methods/send-transaction/send-transaction-request.ts:7
  • +
  • Defined in packages/sdk/src/models/methods/send-transaction/send-transaction-response.ts:5
  • +
  • Defined in packages/sdk/src/models/ton-connect-options.ts:11
  • storage?: IStorage

    Storage to save protocol data. For browser default is localStorage. If you use SDK with nodeJS, you have to specify this field.

    +
  • Defined in packages/sdk/src/models/ton-connect-options.ts:16
  • walletsListCacheTTLMs?: number
    @@ -70,7 +70,7 @@

    Infinity

    +
  • Defined in packages/sdk/src/models/ton-connect-options.ts:29
  • walletsListSource?: string
    @@ -80,7 +80,7 @@

    Default

    +
  • Defined in packages/sdk/src/models/ton-connect-options.ts:23
  • +
  • Defined in packages/sdk/src/models/wallet/wallet.ts:23
  • device: DeviceInfo

    Information about user's wallet's device.

    +
  • Defined in packages/sdk/src/models/wallet/wallet.ts:8
  • provider: "http" | "injected"

    Provider type: http bridge or injected js.

    +
  • Defined in packages/sdk/src/models/wallet/wallet.ts:13
  • +
  • Defined in packages/sdk/src/models/wallet/wallet-connection-source.ts:7
  • +
  • Defined in packages/sdk/src/models/wallet/wallet-connection-source.ts:19
  • +
  • Defined in packages/sdk/src/models/wallet/wallet-info.ts:23
  • +
  • Defined in packages/ui/src/models/action-configuration.ts:14
  • returnStrategy?: ReturnStrategy
    @@ -63,7 +63,7 @@

    'back'

    +
  • Defined in packages/ui/src/models/action-configuration.ts:20
  • skipRedirectToWallet?: "ios" | "always" | "never"
    @@ -74,7 +74,7 @@

    Deprecated

    Shouldn't be used anymore, SDK will automatically dete

    Default

    'ios'

    +
  • Defined in packages/ui/src/models/action-configuration.ts:33
  • twaReturnUrl?: `${string}://${string}`
    @@ -82,7 +82,7 @@
    +
  • Defined in packages/ui/src/models/action-configuration.ts:26
  • +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:38
  • language?: Locales
    @@ -82,7 +82,7 @@

    Default

    system

    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:22
  • restoreConnection?: boolean
    @@ -91,7 +91,7 @@

    true.

    +
  • Defined in packages/ui/src/models/ton-connect-ui-create-options.ts:28
  • uiPreferences?: UIPreferences
    @@ -99,7 +99,7 @@
    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:10
  • walletsListConfiguration?: WalletsListConfiguration
    @@ -107,7 +107,7 @@
    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:27
  • widgetRootId?: string
    @@ -116,7 +116,7 @@

    div#tc-widget-root.

    +
  • Defined in packages/ui/src/models/ton-connect-ui-create-options.ts:34
  • +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:16
  • enableAndroidBackHandler?: boolean
    @@ -64,7 +64,7 @@

    true

    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:38
  • language?: Locales
    @@ -73,21 +73,21 @@

    system

    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:22
  • uiPreferences?: UIPreferences

    UI elements configuration.

    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:10
  • walletsListConfiguration?: WalletsListConfiguration

    Configuration for the wallets list in the connect wallet modal.

    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:27
  • +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:38
  • language?: Locales
    @@ -87,7 +87,7 @@

    Default

    system

    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:22
  • restoreConnection?: boolean
    @@ -97,7 +97,7 @@

    Default

    true.

    +
  • Defined in packages/ui/src/models/ton-connect-ui-create-options.ts:28
  • uiPreferences?: UIPreferences
    @@ -105,7 +105,7 @@
    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:10
  • walletsListConfiguration?: WalletsListConfiguration
    @@ -113,7 +113,7 @@
    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:27
  • widgetRootId?: string
    @@ -123,7 +123,7 @@

    Default

    div#tc-widget-root.

    +
  • Defined in packages/ui/src/models/ton-connect-ui-create-options.ts:34
  • +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:38
  • language?: Locales
    @@ -80,7 +80,7 @@

    Default

    system

    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:22
  • manifestUrl?: string
    @@ -88,7 +88,7 @@
    +
  • Defined in packages/ui/src/models/ton-connect-ui-create-options.ts:13
  • restoreConnection?: boolean
    @@ -98,7 +98,7 @@

    Default

    true.

    +
  • Defined in packages/ui/src/models/ton-connect-ui-create-options.ts:28
  • uiPreferences?: UIPreferences
    @@ -106,7 +106,7 @@
    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:10
  • walletsListConfiguration?: WalletsListConfiguration
    @@ -114,7 +114,7 @@
    +
  • Defined in packages/ui/src/models/ton-connect-ui-options.ts:27
  • widgetRootId?: string
    @@ -124,7 +124,7 @@

    Default

    div#tc-widget-root.

    +
  • Defined in packages/ui/src/models/ton-connect-ui-create-options.ts:34
  • +
  • Defined in packages/ui/src/models/ui-preferences.ts:10
  • +
  • Defined in packages/ui/src/models/wallets-modal.ts:10
  • onStateChange: ((callback: ((state: WalletsModalState) => void)) => (() => void))
    @@ -87,7 +87,7 @@

    Returns (

    Returns void

    +
  • Defined in packages/ui/src/models/wallets-modal.ts:15
  • open: (() => void)
    @@ -102,14 +102,14 @@

    Type declaration

    Returns void

    +
  • Defined in packages/ui/src/models/wallets-modal.ts:5
  • Current modal window state.

    +
  • Defined in packages/ui/src/models/wallets-modal.ts:20
  • +
  • Defined in packages/ui-react/src/components/TonConnectUIProvider.tsx:72
  • language: Locales
    @@ -63,7 +63,7 @@

    system

    +
  • Defined in packages/ui-react/src/components/TonConnectUIProvider.tsx:45
  • restoreConnection: boolean
    @@ -72,21 +72,21 @@
    +
  • Defined in packages/ui-react/src/components/TonConnectUIProvider.tsx:39
  • uiPreferences?: UIPreferences

    UI elements configuration.

    +
  • Defined in packages/ui-react/src/components/TonConnectUIProvider.tsx:56
  • walletsListConfiguration?: WalletsListConfiguration

    Configuration for the wallets list in the connect wallet modal.

    +
  • Defined in packages/ui-react/src/components/TonConnectUIProvider.tsx:61
  • widgetRootId: string
    @@ -95,7 +95,7 @@
    +
  • Defined in packages/ui-react/src/components/TonConnectUIProvider.tsx:51
  • +
  • Defined in packages/ui-react/src/components/TonConnectUIProvider.tsx:31
  • +
  • Defined in packages/ui-react/src/components/TonConnectUIProvider.tsx:24
  • +
  • Defined in packages/sdk/src/index.ts:1
  • diff --git a/docs/modules/_tonconnect_ui.html b/docs/modules/_tonconnect_ui.html index 325b960a..c37e63e6 100644 --- a/docs/modules/_tonconnect_ui.html +++ b/docs/modules/_tonconnect_ui.html @@ -16,7 +16,7 @@
  • @tonconnect/ui
  • Module @tonconnect/ui

    +
  • Defined in packages/ui/src/library.ts:1
  • diff --git a/docs/modules/_tonconnect_ui_react.html b/docs/modules/_tonconnect_ui_react.html index 69b6f8ea..a093de59 100644 --- a/docs/modules/_tonconnect_ui_react.html +++ b/docs/modules/_tonconnect_ui_react.html @@ -16,7 +16,7 @@
  • @tonconnect/ui-react
  • Module @tonconnect/ui-react

    +
  • Defined in packages/ui-react/src/library.ts:1
  • diff --git a/docs/types/_tonconnect_protocol.AppMessage.html b/docs/types/_tonconnect_protocol.AppMessage.html index 6d16d88d..bbfca7c1 100644 --- a/docs/types/_tonconnect_protocol.AppMessage.html +++ b/docs/types/_tonconnect_protocol.AppMessage.html @@ -18,7 +18,7 @@

    Type alias AppMessage

    +
  • Defined in packages/protocol/src/models/app-message/app-message.ts:4
  • +
  • Defined in packages/protocol/src/models/app-message/request/app-request.ts:12
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/connect-event.ts:4
  • +
  • Defined in packages/protocol/src/models/app-message/connect-request/connect-item.ts:1
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/connect-event.ts:34
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/connect-event.ts:66
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/disconnect-rpc-response.ts:3
  • +
  • Defined in packages/protocol/src/models/feature.ts:1
  • +
  • Defined in packages/protocol/src/models/rpc-method.ts:1
  • +
  • Defined in packages/protocol/src/models/app-message/request/app-request.ts:6
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/wallet-response.ts:12
  • +
  • Defined in packages/protocol/src/models/feature.ts:4
  • +
  • Defined in packages/protocol/src/models/feature.ts:3
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/send-transaction-rpc-response.ts:6
  • +
  • Defined in packages/protocol/src/models/feature.ts:5
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/sign-data-rpc-response.ts:3
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/connect-event.ts:44
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/connect-event.ts:59
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-event/wallet-event.ts:4
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-message.ts:5
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/wallet-response.ts:33
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/wallet-response.ts:31
  • +
  • Defined in packages/protocol/src/models/wallet-message/wallet-response/wallet-response.ts:29
  • +
  • Defined in packages/sdk/src/models/wallet/wallet-connection-source.ts:1
  • +
  • Defined in packages/sdk/src/models/wallet/wallet-info.ts:110
  • +
  • Defined in packages/ui/src/models/border-radius.ts:1
  • +
  • Defined in packages/ui/src/models/index.ts:25
  • +
  • Defined in packages/ui/src/models/colors-set.ts:4
  • +
  • Defined in packages/ui/src/models/connected-wallet.ts:14
  • +
  • Defined in packages/ui/src/models/loadable.ts:1
  • +
  • Defined in packages/ui/src/models/loadable.ts:3
  • +
  • Defined in packages/ui/src/models/loadable.ts:7
  • +
  • Defined in packages/ui/src/models/locales.ts:1
  • +
  • Defined in packages/ui/src/models/colors-set.ts:35
  • +
  • Defined in packages/ui/src/models/return-strategy.ts:5
  • +
  • Defined in packages/ui/src/models/THEME.ts:6
  • +
  • Defined in packages/ui/src/models/ton-connect-ui-create-options.ts:4
  • +
  • Defined in packages/ui/src/models/ui-wallet.ts:3
  • +
  • Defined in packages/ui/src/models/connected-wallet.ts:10
  • +
  • Defined in packages/ui/src/models/connected-wallet.ts:5
  • +
  • Defined in packages/ui/src/models/wallets-modal.ts:41
  • +
  • Defined in packages/ui/src/models/wallets-modal.ts:26
  • +
  • Defined in packages/ui/src/models/connected-wallet.ts:3
  • +
  • Defined in packages/ui/src/models/wallets-list-configuration.ts:6
  • +
  • Defined in packages/ui/src/models/wallets-modal.ts:61
  • +
  • Defined in packages/ui/src/models/wallets-modal.ts:56
  • +
  • Defined in packages/ui-react/src/components/TonConnectUIProvider.tsx:14
  • Returns null | T

    +
  • Defined in packages/protocol/src/utils/base64.ts:41
  • toString:function
  • +
  • Defined in packages/protocol/src/utils/base64.ts:40
  • toUint8Array:function
  • +
  • Defined in packages/protocol/src/utils/base64.ts:42
  • encode: ((value: string | object | Uint8Array, urlSafe?: boolean) => string)
      @@ -81,7 +81,7 @@
      value: stringboolean = false

    Returns string

  • +
  • Defined in packages/protocol/src/utils/base64.ts:63
  • +
  • Defined in packages/ui-react/src/components/TonConnectUIProvider.tsx:12