Repository navigation
docs: add JS SDK 17.5.0 helpers and Client.invoke - #3241
Open
mintlify[bot] wants to merge 1 commit into
Open
mintlify[bot] wants to merge 1 commit into
mintlify[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
|
🤖 Automated message from Doxie. I saw this PR. Nobody with permission has called me in, so I have not reviewed it. How to reach me:
|
This branch was successfully deployed
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.
Adds the new @stellar/stellar-sdk v17.5.0 helpers to the JS SDK helpers table, and tells the dapp skill how to read
getContractMethodsclientMethod/noMethodReasonand call unmapped functions withcontract.Client.invoke().Based on v17.5.0 release.
Changes:
contract.Client.invoke()row (helpers page) and dapp skill note, from #1875: "contract.Client.invoke(client, name, args?, options?)builds a call to a contract function by its on-chain name..."getContractMethodsexample, from #1875: "rpc.Server.getContractMethods()reports the client method of each function inclientMethod, or why there is none innoMethodReason."inspectTransaction()row, from #1881: "decodes aTransactionorFeeBumpTransactioninto a typed summary to show before signing."rpc.inspectChargedFees()row, from #1894: "reports the fees that a landed transaction declared and was charged."rpc.inspectDiagnosticEvents()row, from #1917: "returns the diagnostic events of asendTransaction,getTransaction,simulateTransactionorgetTransactionsresponse."Skipped:
stellar-js generateflags,--headersdeprecation, bindingsnetworks/functionDiagnostics(Include full contract interface for the stellar asset contract in docs #1896, Download translations and copy ignored files #1897): no developers.stellar.org page uses that CLI orBindingGenerator.SorobanEventexport (Updating example code 1865 #1931): type-only; docs already usehumanizeEvents()without it.smol-tomlbump (Add SEP-50 to SEPs page #1887), linear-time and parsing fixes (remove out of date section #1923, Download translations and copy ignored files #1925, rewrite the event publishing guide for p23 #1902, Add stellar-cli plugin list page. #1900, Download translations and copy ignored files #1871, Update guide: Deploy a SAC from within a contract #1847, Update guide: Automating Testnet and Futurenet reset data #1849, Update configuration in RPC data lake integration guide #1870, Download translations and copy ignored files #1936): internal or error-wording fixes that make no page wrong.allowHttpdefaulting toConfig.setAllowHttp()(update freighter docs for latest UI changes #1922) andscvErrorerrorType(Download translations and copy ignored files #1918): existing pages that passallowHttp: truestay correct.