Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ton-connect/sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 14eca34e282ad754ee9f0241bb663e7a139f6ad5
Choose a base ref
...
head repository: ton-connect/sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fe6692d3fb247a453c50a5fa96b0a86e9da5bdb5
Choose a head ref
  • 9 commits
  • 158 files changed
  • 2 contributors

Commits on Dec 2, 2023

  1. build(docs): docs rebuild by github action

    BOT_TonConnect_Builder authored and BOT_TonConnect_Builder committed Dec 2, 2023
    Copy the full SHA
    ffc7bcc View commit details

Commits on Dec 4, 2023

  1. Copy the full SHA
    8778f6c View commit details
  2. build(docs): docs rebuild by github action

    BOT_TonConnect_Builder authored and BOT_TonConnect_Builder committed Dec 4, 2023
    Copy the full SHA
    6dc42bf View commit details

Commits on Dec 15, 2023

  1. Copy the full SHA
    d462342 View commit details
  2. Copy the full SHA
    5c4670d View commit details
  3. build(docs): docs rebuild by github action

    BOT_TonConnect_Builder authored and BOT_TonConnect_Builder committed Dec 15, 2023
    Copy the full SHA
    98c55ee View commit details
  4. Copy the full SHA
    6613eb2 View commit details
  5. Copy the full SHA
    5f0ee70 View commit details
  6. Copy the full SHA
    fe6692d View commit details
Showing with 614 additions and 509 deletions.
  1. +63 −0 .github/ISSUE_TEMPLATE/1-bug-report.yml
  2. +31 −0 .github/ISSUE_TEMPLATE/2-feature-request.yml
  3. +47 −0 .github/ISSUE_TEMPLATE/3-question.yml
  4. +0 −30 .github/ISSUE_TEMPLATE/bug_report.md
  5. +0 −20 .github/ISSUE_TEMPLATE/feature_request.md
  6. +0 −10 .github/ISSUE_TEMPLATE/question.md
  7. +6 −6 docs/classes/_tonconnect_protocol.SessionCrypto.html
  8. +2 −2 docs/classes/_tonconnect_sdk.BadRequestError.html
  9. +2 −2 docs/classes/_tonconnect_sdk.FetchWalletsError.html
  10. +2 −2 docs/classes/_tonconnect_sdk.LocalstorageNotFoundError.html
  11. +2 −2 docs/classes/_tonconnect_sdk.ParseHexError.html
  12. +17 −17 docs/classes/_tonconnect_sdk.TonConnect.html
  13. +2 −2 docs/classes/_tonconnect_sdk.TonConnectError.html
  14. +2 −2 docs/classes/_tonconnect_sdk.UnknownAppError.html
  15. +2 −2 docs/classes/_tonconnect_sdk.UnknownError.html
  16. +2 −2 docs/classes/_tonconnect_sdk.UserRejectsError.html
  17. +2 −2 docs/classes/_tonconnect_sdk.WalletAlreadyConnectedError.html
  18. +2 −2 docs/classes/_tonconnect_sdk.WalletNotConnectedError.html
  19. +2 −2 docs/classes/_tonconnect_sdk.WalletNotInjectedError.html
  20. +4 −4 docs/classes/_tonconnect_sdk.WalletsListManager.html
  21. +2 −2 docs/classes/_tonconnect_sdk.WrongAddressError.html
  22. +20 −20 docs/classes/_tonconnect_ui.TonConnectUI.html
  23. +2 −2 docs/classes/_tonconnect_ui.TonConnectUIError.html
  24. +2 −2 docs/classes/_tonconnect_ui_react.TonConnectProviderNotSetError.html
  25. +2 −2 docs/classes/_tonconnect_ui_react.TonConnectUIReactError.html
  26. +3 −3 docs/enums/_tonconnect_protocol.CHAIN.html
  27. +8 −8 docs/enums/_tonconnect_protocol.CONNECT_EVENT_ERROR_CODES.html
  28. +3 −3 docs/enums/_tonconnect_protocol.CONNECT_ITEM_ERROR_CODES.html
  29. +5 −5 docs/enums/_tonconnect_protocol.DISCONNECT_ERROR_CODES.html
  30. +6 −6 docs/enums/_tonconnect_protocol.SEND_TRANSACTION_ERROR_CODES.html
  31. +6 −6 docs/enums/_tonconnect_protocol.SIGN_DATA_ERROR_CODES.html
  32. +3 −3 docs/enums/_tonconnect_ui.THEME.html
  33. +1 −1 docs/functions/_tonconnect_protocol.concatUint8Arrays.html
  34. +1 −1 docs/functions/_tonconnect_protocol.hexToByteArray.html
  35. +1 −1 docs/functions/_tonconnect_protocol.isNode.html
  36. +1 −1 docs/functions/_tonconnect_protocol.splitToUint8Arrays.html
  37. +1 −1 docs/functions/_tonconnect_protocol.toHexString.html
  38. +1 −1 docs/functions/_tonconnect_sdk.encodeTelegramUrlParameters.html
  39. +1 −1 docs/functions/_tonconnect_sdk.isTelegramUrl.html
  40. +1 −1 docs/functions/_tonconnect_sdk.isWalletInfoCurrentlyEmbedded.html
  41. +1 −1 docs/functions/_tonconnect_sdk.isWalletInfoCurrentlyInjected.html
  42. +1 −1 docs/functions/_tonconnect_sdk.isWalletInfoInjectable.html
  43. +1 −1 docs/functions/_tonconnect_sdk.isWalletInfoInjected.html
  44. +1 −1 docs/functions/_tonconnect_sdk.isWalletInfoRemote.html
  45. +1 −1 docs/functions/_tonconnect_sdk.toUserFriendlyAddress.html
  46. +1 −1 docs/functions/_tonconnect_ui_react.useIsConnectionRestored.html
  47. +1 −1 docs/functions/_tonconnect_ui_react.useTonAddress.html
  48. +1 −1 docs/functions/_tonconnect_ui_react.useTonConnectModal.html
  49. +1 −1 docs/functions/_tonconnect_ui_react.useTonConnectUI.html
  50. +1 −1 docs/functions/_tonconnect_ui_react.useTonWallet.html
  51. +4 −4 docs/interfaces/_tonconnect_protocol.ConnectEventError.html
  52. +4 −4 docs/interfaces/_tonconnect_protocol.ConnectEventSuccess.html
  53. +3 −3 docs/interfaces/_tonconnect_protocol.ConnectRequest.html
  54. +6 −6 docs/interfaces/_tonconnect_protocol.DeviceInfo.html
  55. +4 −4 docs/interfaces/_tonconnect_protocol.DisconnectEvent.html
  56. +4 −4 docs/interfaces/_tonconnect_protocol.DisconnectRpcRequest.html
  57. +3 −3 docs/interfaces/_tonconnect_protocol.DisconnectRpcResponseError.html
  58. +3 −3 docs/interfaces/_tonconnect_protocol.DisconnectRpcResponseSuccess.html
  59. +3 −3 docs/interfaces/_tonconnect_protocol.KeyPair.html
  60. +4 −4 docs/interfaces/_tonconnect_protocol.SendTransactionRpcRequest.html
  61. +3 −3 docs/interfaces/_tonconnect_protocol.SendTransactionRpcResponseError.html
  62. +3 −3 docs/interfaces/_tonconnect_protocol.SendTransactionRpcResponseSuccess.html
  63. +4 −4 docs/interfaces/_tonconnect_protocol.SignDataRpcRequest.html
  64. +3 −3 docs/interfaces/_tonconnect_protocol.SignDataRpcResponseError.html
  65. +3 −3 docs/interfaces/_tonconnect_protocol.SignDataRpcResponseSuccess.html
  66. +2 −2 docs/interfaces/_tonconnect_protocol.TonAddressItem.html
  67. +6 −6 docs/interfaces/_tonconnect_protocol.TonAddressItemReply.html
  68. +3 −3 docs/interfaces/_tonconnect_protocol.TonProofItem.html
  69. +3 −3 docs/interfaces/_tonconnect_protocol.TonProofItemReplySuccess.html
  70. +3 −3 docs/interfaces/_tonconnect_protocol.WalletResponseTemplateError.html
  71. +3 −3 docs/interfaces/_tonconnect_protocol.WalletResponseTemplateSuccess.html
  72. +5 −5 docs/interfaces/_tonconnect_sdk.Account.html
  73. +2 −2 docs/interfaces/_tonconnect_sdk.ConnectAdditionalRequest.html
  74. +4 −4 docs/interfaces/_tonconnect_sdk.DappMetadata.html
  75. +4 −4 docs/interfaces/_tonconnect_sdk.IStorage.html
  76. +12 −12 docs/interfaces/_tonconnect_sdk.ITonConnect.html
  77. +5 −5 docs/interfaces/_tonconnect_sdk.SendTransactionRequest.html
  78. +2 −2 docs/interfaces/_tonconnect_sdk.SendTransactionResponse.html
  79. +6 −6 docs/interfaces/_tonconnect_sdk.TonConnectOptions.html
  80. +5 −5 docs/interfaces/_tonconnect_sdk.Wallet.html
  81. +3 −3 docs/interfaces/_tonconnect_sdk.WalletConnectionSourceHTTP.html
  82. +2 −2 docs/interfaces/_tonconnect_sdk.WalletConnectionSourceJS.html
  83. +7 −7 docs/interfaces/_tonconnect_sdk.WalletInfoBase.html
  84. +10 −10 docs/interfaces/_tonconnect_sdk.WalletInfoCurrentlyEmbedded.html
  85. +10 −10 docs/interfaces/_tonconnect_sdk.WalletInfoCurrentlyInjected.html
  86. +10 −10 docs/interfaces/_tonconnect_sdk.WalletInfoInjectable.html
  87. +10 −10 docs/interfaces/_tonconnect_sdk.WalletInfoInjected.html
  88. +10 −10 docs/interfaces/_tonconnect_sdk.WalletInfoRemote.html
  89. +6 −6 docs/interfaces/_tonconnect_ui.ActionConfiguration.html
  90. +9 −9 docs/interfaces/_tonconnect_ui.TonConnectUiCreateOptionsBase.html
  91. +7 −7 docs/interfaces/_tonconnect_ui.TonConnectUiOptions.html
  92. +10 −10 docs/interfaces/_tonconnect_ui.TonConnectUiOptionsWithConnector.html
  93. +10 −10 docs/interfaces/_tonconnect_ui.TonConnectUiOptionsWithManifest.html
  94. +4 −4 docs/interfaces/_tonconnect_ui.UIPreferences.html
  95. +5 −5 docs/interfaces/_tonconnect_ui.WalletsModal.html
  96. +3 −3 docs/interfaces/_tonconnect_ui_react.TonConnectButtonProps.html
  97. +8 −8 docs/interfaces/_tonconnect_ui_react.TonConnectUIProviderPropsBase.html
  98. +2 −2 docs/interfaces/_tonconnect_ui_react.TonConnectUIProviderPropsWithConnector.html
  99. +2 −2 docs/interfaces/_tonconnect_ui_react.TonConnectUIProviderPropsWithManifest.html
  100. +1 −1 docs/modules/_tonconnect_protocol.html
  101. +1 −1 docs/modules/_tonconnect_sdk.html
  102. +1 −1 docs/modules/_tonconnect_ui.html
  103. +1 −1 docs/modules/_tonconnect_ui_react.html
  104. +1 −1 docs/types/_tonconnect_protocol.AppMessage.html
  105. +1 −1 docs/types/_tonconnect_protocol.AppRequest.html
  106. +1 −1 docs/types/_tonconnect_protocol.ConnectEvent.html
  107. +1 −1 docs/types/_tonconnect_protocol.ConnectItem.html
  108. +1 −1 docs/types/_tonconnect_protocol.ConnectItemReply.html
  109. +1 −1 docs/types/_tonconnect_protocol.ConnectItemReplyError.html
  110. +1 −1 docs/types/_tonconnect_protocol.DisconnectRpcResponse.html
  111. +1 −1 docs/types/_tonconnect_protocol.Feature.html
  112. +1 −1 docs/types/_tonconnect_protocol.RpcMethod.html
  113. +1 −1 docs/types/_tonconnect_protocol.RpcRequests.html
  114. +1 −1 docs/types/_tonconnect_protocol.RpcResponses.html
  115. +1 −1 docs/types/_tonconnect_protocol.SendTransactionFeature.html
  116. +1 −1 docs/types/_tonconnect_protocol.SendTransactionFeatureDeprecated.html
  117. +1 −1 docs/types/_tonconnect_protocol.SendTransactionRpcResponse.html
  118. +1 −1 docs/types/_tonconnect_protocol.SignDataFeature.html
  119. +1 −1 docs/types/_tonconnect_protocol.SignDataRpcResponse.html
  120. +1 −1 docs/types/_tonconnect_protocol.TonProofItemReply.html
  121. +1 −1 docs/types/_tonconnect_protocol.TonProofItemReplyError.html
  122. +1 −1 docs/types/_tonconnect_protocol.WalletEvent.html
  123. +1 −1 docs/types/_tonconnect_protocol.WalletMessage.html
  124. +1 −1 docs/types/_tonconnect_protocol.WalletResponse.html
  125. +1 −1 docs/types/_tonconnect_protocol.WalletResponseError.html
  126. +1 −1 docs/types/_tonconnect_protocol.WalletResponseSuccess.html
  127. +1 −1 docs/types/_tonconnect_sdk.WalletConnectionSource.html
  128. +1 −1 docs/types/_tonconnect_sdk.WalletInfo.html
  129. +1 −1 docs/types/_tonconnect_ui.BorderRadius.html
  130. +1 −1 docs/types/_tonconnect_ui.Color.html
  131. +1 −1 docs/types/_tonconnect_ui.ColorsSet.html
  132. +1 −1 docs/types/_tonconnect_ui.ConnectedWallet.html
  133. +1 −1 docs/types/_tonconnect_ui.Loadable.html
  134. +1 −1 docs/types/_tonconnect_ui.LoadableLoading.html
  135. +1 −1 docs/types/_tonconnect_ui.LoadableReady.html
  136. +1 −1 docs/types/_tonconnect_ui.Locales.html
  137. +1 −1 docs/types/_tonconnect_ui.PartialColorsSet.html
  138. +1 −1 docs/types/_tonconnect_ui.ReturnStrategy.html
  139. +1 −1 docs/types/_tonconnect_ui.Theme-1.html
  140. +1 −1 docs/types/_tonconnect_ui.TonConnectUiCreateOptions.html
  141. +1 −1 docs/types/_tonconnect_ui.UIWallet.html
  142. +1 −1 docs/types/_tonconnect_ui.WalletInfoRemoteWithOpenMethod.html
  143. +1 −1 docs/types/_tonconnect_ui.WalletInfoWithOpenMethod.html
  144. +1 −1 docs/types/_tonconnect_ui.WalletModalClosed.html
  145. +1 −1 docs/types/_tonconnect_ui.WalletModalOpened.html
  146. +1 −1 docs/types/_tonconnect_ui.WalletOpenMethod.html
  147. +1 −1 docs/types/_tonconnect_ui.WalletsListConfiguration.html
  148. +1 −1 docs/types/_tonconnect_ui.WalletsModalCloseReason.html
  149. +1 −1 docs/types/_tonconnect_ui.WalletsModalState.html
  150. +1 −1 docs/types/_tonconnect_ui_react.TonConnectUIProviderProps.html
  151. +4 −4 docs/variables/_tonconnect_protocol.Base64.html
  152. +1 −1 docs/variables/_tonconnect_ui_react.TonConnectUIContext.html
  153. +4 −0 packages/ui-react/CHANGELOG.md
  154. +2 −2 packages/ui-react/package.json
  155. +14 −0 packages/ui/CHANGELOG.md
  156. +1 −1 packages/ui/package.json
  157. +15 −3 packages/ui/src/app/utils/tma-api.ts
  158. +5 −11 packages/ui/src/app/utils/web-api.ts
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: "Bug report"
title: "[<SDK or UI or UI-REACT or PROTOCOL>]: <description>"
description: "Please describe the bug in detail. Include the area (SDK, UI, UI-REACT, PROTOCOL) in the title."
labels: ["bug"]
assignees: ["thekiba"]

body:
- type: textarea
attributes:
label: "Describe the bug"
description: |
**Please provide the following details:**
- The specific error or exception encountered.
- Stack trace, if available.
- Steps or code snippet to reproduce the bug.
- Screenshot or video demonstrating the issue, if possible.
validations:
required: true

- type: textarea
attributes:
label: "Expected behavior"
description: "Describe what you expected to happen."
placeholder: "I expected that..."
validations:
required: true

- type: textarea
attributes:
label: "Current behavior"
description: "Describe what is actually happening."
placeholder: "Instead, I observed..."
validations:
required: true

- type: textarea
attributes:
label: "Steps to Reproduce"
description: "Please outline the steps to reproduce the bug."
placeholder: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
validations:
required: true

- type: textarea
attributes:
label: "Environment"
description: |
**Please provide the following environment details:**
- Output of `npm ls @tonconnect/{ui-react,ui,sdk,protocol,isomorphic-fetch,isomorphic-eventsource}`.
- Operating System (e.g., iOS, Android, Windows, MacOS, Linux) and version (e.g., 10.15.7).
- Browser (e.g., Chrome, Safari, Firefox) and version (e.g., 86.0.4240.111).
validations:
required: true

- type: textarea
attributes:
label: "Additional context"
description: "Add any other context or information about the problem here."
placeholder: "Additional details..."
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Feature request"
title: "[<SDK or UI or UI-REACT or PROTOCOL>]: <brief description>"
description: "Suggest an idea or improvement for this project"
labels: ["enhancement"]

body:
- type: textarea
attributes:
label: "Is your feature request related to a problem?"
description: "Please provide a clear and concise description of what the problem is."
placeholder: "I'm frustrated when..."
validations:
required: true

- type: textarea
attributes:
label: "Describe the solution you'd like"
description: "What would you like to see happen? Please provide a clear and concise description of your ideal solution."
placeholder: "Ideally, I would like..."

- type: textarea
attributes:
label: "Describe alternatives you've considered"
description: "Have you considered any alternative solutions or features? Please provide a clear and concise description."
placeholder: "An alternative solution might be..."

- type: textarea
attributes:
label: "Additional context"
description: "Add any other context, details, or screenshots about the feature request here."
placeholder: "Additional details..."
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/3-question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: "Question"
title: "[<SDK or UI or UI-REACT or PROTOCOL>]: <brief description of your question>"
description: "Use this template for asking questions related to the SDK, UI, UI-REACT, or PROTOCOL"
labels: ["question"]
assignees: ["thekiba"]

body:
- type: textarea
attributes:
label: "Your Question"
description: "Please write your question in detail here."
placeholder: "What would you like to know about..."
validations:
required: true

- type: textarea
attributes:
label: "Context"
description: "Provide any additional context or details that might help in understanding your question better."
placeholder: "In my project, I am trying to..."

- type: textarea
attributes:
label: "What have you tried so far?"
description: "Describe any steps you have taken or research you have done in trying to find the answer to your question."
placeholder: "I have already tried..."

- type: textarea
attributes:
label: "Relevant Code or Commands"
description: "If applicable, provide any relevant code snippets or command lines that relate to your question."
placeholder: "Here is a snippet of my code..."

- type: checkboxes
attributes:
label: "Documentation Check"
description: |
Please confirm that you have checked the relevant documentation. It might have the answer you're looking for.
Documentation resources:
- [@tonconnect/ui-react Documentation](https://github.com/ton-connect/sdk/blob/main/packages/ui-react/README.md)
- [@tonconnect/ui Documentation](https://github.com/ton-connect/sdk/tree/main/packages/ui/README.md)
- [@tonconnect/sdk Documentation](https://github.com/ton-connect/sdk/blob/main/packages/sdk/README.md)
- [@tonconnect/protocol Documentation](https://github.com/ton-connect/sdk/blob/main/packages/protocol/README.md)
options:
- label: "Yes, I have checked the documentation."
required: true
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

12 changes: 6 additions & 6 deletions docs/classes/_tonconnect_protocol.SessionCrypto.html
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">SessionCrypto</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/cf85057/packages/protocol/src/crypto/session-crypto.ts#L5">packages/protocol/src/crypto/session-crypto.ts:5</a></li></ul></aside>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/5c4670d/packages/protocol/src/crypto/session-crypto.ts#L5">packages/protocol/src/crypto/session-crypto.ts:5</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -55,14 +55,14 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> keyPair: <a href="../interfaces/_tonconnect_protocol.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_tonconnect_protocol.SessionCrypto.html" class="tsd-signature-type" data-tsd-kind="Class">SessionCrypto</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/cf85057/packages/protocol/src/crypto/session-crypto.ts#L12">packages/protocol/src/crypto/session-crypto.ts:12</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/5c4670d/packages/protocol/src/crypto/session-crypto.ts#L12">packages/protocol/src/crypto/session-crypto.ts:12</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="sessionId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>session<wbr/>Id</span><a href="#sessionId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">session<wbr/>Id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/cf85057/packages/protocol/src/crypto/session-crypto.ts#L10">packages/protocol/src/crypto/session-crypto.ts:10</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/5c4670d/packages/protocol/src/crypto/session-crypto.ts#L10">packages/protocol/src/crypto/session-crypto.ts:10</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="decrypt" class="tsd-anchor"></a>
@@ -79,7 +79,7 @@ <h5>message: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5>senderPublicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/cf85057/packages/protocol/src/crypto/session-crypto.ts#L44">packages/protocol/src/crypto/session-crypto.ts:44</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/5c4670d/packages/protocol/src/crypto/session-crypto.ts#L44">packages/protocol/src/crypto/session-crypto.ts:44</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="encrypt" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>encrypt</span><a href="#encrypt" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -94,15 +94,15 @@ <h5>message: <span class="tsd-signature-type">string</span></h5></li>
<h5>receiverPublicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/cf85057/packages/protocol/src/crypto/session-crypto.ts#L32">packages/protocol/src/crypto/session-crypto.ts:32</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/5c4670d/packages/protocol/src/crypto/session-crypto.ts#L32">packages/protocol/src/crypto/session-crypto.ts:32</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stringifyKeypair" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>stringify<wbr/>Keypair</span><a href="#stringifyKeypair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="stringifyKeypair.stringifyKeypair-1">stringify<wbr/>Keypair<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_tonconnect_protocol.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a><a href="#stringifyKeypair.stringifyKeypair-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_tonconnect_protocol.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/cf85057/packages/protocol/src/crypto/session-crypto.ts#L63">packages/protocol/src/crypto/session-crypto.ts:63</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/5c4670d/packages/protocol/src/crypto/session-crypto.ts#L63">packages/protocol/src/crypto/session-crypto.ts:63</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
4 changes: 2 additions & 2 deletions docs/classes/_tonconnect_sdk.BadRequestError.html
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">BadRequestError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/cf85057/packages/sdk/src/errors/protocol/responses/bad-request.error.ts#L6">packages/sdk/src/errors/protocol/responses/bad-request.error.ts:6</a></li></ul></aside>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/5c4670d/packages/sdk/src/errors/protocol/responses/bad-request.error.ts#L6">packages/sdk/src/errors/protocol/responses/bad-request.error.ts:6</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -64,7 +64,7 @@ <h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-sym
<h4 class="tsd-returns-title">Returns <a href="_tonconnect_sdk.BadRequestError.html" class="tsd-signature-type" data-tsd-kind="Class">BadRequestError</a></h4><aside class="tsd-sources">
<p>Overrides <a href="_tonconnect_sdk.TonConnectError.html">TonConnectError</a>.<a href="_tonconnect_sdk.TonConnectError.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/cf85057/packages/sdk/src/errors/protocol/responses/bad-request.error.ts#L11">packages/sdk/src/errors/protocol/responses/bad-request.error.ts:11</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/5c4670d/packages/sdk/src/errors/protocol/responses/bad-request.error.ts#L11">packages/sdk/src/errors/protocol/responses/bad-request.error.ts:11</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="cause" class="tsd-anchor"></a>
4 changes: 2 additions & 2 deletions docs/classes/_tonconnect_sdk.FetchWalletsError.html
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">FetchWalletsError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/cf85057/packages/sdk/src/errors/wallets-manager/fetch-wallets.error.ts#L6">packages/sdk/src/errors/wallets-manager/fetch-wallets.error.ts:6</a></li></ul></aside>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/5c4670d/packages/sdk/src/errors/wallets-manager/fetch-wallets.error.ts#L6">packages/sdk/src/errors/wallets-manager/fetch-wallets.error.ts:6</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -64,7 +64,7 @@ <h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-sym
<h4 class="tsd-returns-title">Returns <a href="_tonconnect_sdk.FetchWalletsError.html" class="tsd-signature-type" data-tsd-kind="Class">FetchWalletsError</a></h4><aside class="tsd-sources">
<p>Overrides <a href="_tonconnect_sdk.TonConnectError.html">TonConnectError</a>.<a href="_tonconnect_sdk.TonConnectError.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/cf85057/packages/sdk/src/errors/wallets-manager/fetch-wallets.error.ts#L11">packages/sdk/src/errors/wallets-manager/fetch-wallets.error.ts:11</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/ton-connect/sdk/blob/5c4670d/packages/sdk/src/errors/wallets-manager/fetch-wallets.error.ts#L11">packages/sdk/src/errors/wallets-manager/fetch-wallets.error.ts:11</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="cause" class="tsd-anchor"></a>
Loading