Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
manuchehrsa
reviewed
Feb 25, 2026
manuchehrsa
left a comment
There was a problem hiding this comment.
eee1829c6bb5eb4986ef4fb3f58d2963aff597e3
Alejandbel
reviewed
Feb 25, 2026
packages/sdk/src/models/methods/intents/sign-data-intent-request.ts
Outdated
Show resolved
Hide resolved
packages/sdk/src/models/methods/intents/send-transaction-intent-request.ts
Outdated
Show resolved
Hide resolved
packages/sdk/src/models/methods/intents/send-transaction-intent-request.ts
Show resolved
Hide resolved
jenshenJ
commented
Feb 25, 2026
packages/ui/src/ton-connect-ui.ts
Outdated
| } from 'src/app/env/WALLET_CONNECT'; | ||
| import { IMG } from 'src/app/env/IMG'; | ||
|
|
||
| type TonConnectUIIntentOptions = ActionConfiguration & OptionalTraceable<IntentUrlOptions>; |
Contributor
Author
There was a problem hiding this comment.
remove signal and onUrlReady from ui props
jenshenJ
commented
Feb 25, 2026
| public async signDataIntent( | ||
| _data: SignDataIntentRequest, | ||
| _options?: TonConnectUIIntentOptions | ||
| ): Promise<OptionalTraceable<SignDataResponse>> { |
jenshenJ
commented
Feb 25, 2026
packages/ui/src/ton-connect-ui.ts
Outdated
| public async sendActionIntent( | ||
| _action: SendActionIntentRequest, | ||
| _options?: TonConnectUIIntentOptions | ||
| ): Promise<OptionalTraceable<SendTransactionResponse | SignDataResponse>> { |
manuchehrsa
reviewed
Feb 25, 2026
manuchehrsa
left a comment
There was a problem hiding this comment.
packages/sdk/src/models/methods/intents/send-transaction-intent-request.ts
Alejandbel
requested changes
Mar 2, 2026
| * If user rejects transaction, method will throw the corresponding error. | ||
| */ | ||
| sendTransactionIntent( | ||
| transaction: SendTransactionIntentRequest, |
Contributor
There was a problem hiding this comment.
add wallet as in connect request
| errorsHandler?: (err: TonConnectError) => void | ||
| ): () => void; | ||
|
|
||
| onIntentResponse( |
Contributor
There was a problem hiding this comment.
dont remove, leave
flow is following
- makeIntent returns url and connect to bridges (or send it to js bridge)
- when intent received intent callback is called
- on the level of tonconnect ui this callback is awaited and then returned as a response
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.