-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
task(devx): Update TS SDK docs #3955
Conversation
bcs.array => bcs.fixedArray, fromB58 => fromBase58 fromB64 => fromBase64
added: userReportTransactionEffects, useSignAndExecuteTransaction, useSignTransaction. removed: useSignAndExecuteTransactionBlock, useSignTransactionBlock updated: txb to tx in rpc-hooks example; replaced requiredFeatures with walletFilter in wallet-provider
updated: TransactionBlock to Transaction, signAndExecuteTransactionBlock to signAndExecuteTransaction
…w hooks, removed deprecated hooks Added: typescript/executors, graphql, and plugins.
✅ Vercel Preview Deployment is ready! |
✅ Vercel Preview Deployment is ready! |
✅ Vercel Preview Deployment is ready! |
docs/content/references/ts-sdk/dapp-kit/wallet-hooks/useReportTransactionEffects.mdx
Outdated
Show resolved
Hide resolved
✅ Vercel Preview Deployment is ready! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some parts of the docs seem to be formatted with tabs and other with spaces, can you format everything with spaces? 🙏🏻
You also got some conflicts now |
Yeah, it's conflict week for the docs. Too many updates at once. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just a few suggestions
docs/content/references/ts-sdk/dapp-kit/wallet-hooks/useReportTransactionEffects.mdx
Outdated
Show resolved
Hide resolved
docs/content/references/ts-sdk/dapp-kit/wallet-hooks/useSignAndExecuteTransaction.mdx
Outdated
Show resolved
Hide resolved
docs/content/references/ts-sdk/dapp-kit/wallet-hooks/useSignAndExecuteTransaction.mdx
Outdated
Show resolved
Hide resolved
docs/content/references/ts-sdk/dapp-kit/wallet-hooks/useSignTransaction.mdx
Outdated
Show resolved
Hide resolved
docs/content/references/ts-sdk/dapp-kit/wallet-hooks/useSignTransaction.mdx
Outdated
Show resolved
Hide resolved
docs/content/references/ts-sdk/dapp-kit/wallet-hooks/useReportTransactionEffects.mdx
Outdated
Show resolved
Hide resolved
docs/content/references/ts-sdk/typescript/cryptography/multisig.mdx
Outdated
Show resolved
Hide resolved
docs/content/references/ts-sdk/typescript/owned-object-pool/overview.mdx
Show resolved
Hide resolved
Co-authored-by: Marc Espin <[email protected]>
✅ Vercel Preview Deployment is ready! |
✅ Vercel Preview Deployment is ready! |
✅ Vercel Preview Deployment is ready! |
✅ Vercel Preview Deployment is ready! |
@begonaalvarezd, @marc2332 and @vivekjain23 , I've addressed all the comments, please take another look so we can, ideally, merge this |
✅ Vercel Preview Deployment is ready! |
✅ Vercel Preview Deployment is ready! |
✅ Vercel Preview Deployment is ready! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes are required.
docs/content/references/ts-sdk/dapp-kit/wallet-hooks/useSignTransaction.mdx
Outdated
Show resolved
Hide resolved
docs/content/references/ts-sdk/dapp-kit/wallet-hooks/useSignAndExecuteTransaction.mdx
Outdated
Show resolved
Hide resolved
docs/content/references/ts-sdk/typescript/owned-object-pool/overview.mdx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm for me, just needs to fix what was requested above 👆🏻
✅ Vercel Preview Deployment is ready! |
Description of change
signTransactionBlock
withsignTransaction
in examplessignAndExecuteTransactionBlock
withsignAndExecuteTransaction
in examplesfromHEX with
fromHex` in examplestoHEX with
toHex` in examplesTransactionBlock
withTransaction
in examplestx
withtxb
in examplesfromB64
withfromBase64
in examplesrequiredFeatures
withwalletFilters
in wallet-provider.mdxfromSecretKey
example to keypairs.mdxLinks to any relevant issues
fixes #3800
Type of change
How the change has been tested
Docs were built locally.
Change checklist