stellar-base
Advanced tools
Comparing version 10.0.0-soroban.5 to 10.0.0-soroban.6
@@ -144,3 +144,2 @@ "use strict"; | ||
* non-contract(non-Soroban) transactions, this has no effect. | ||
* | ||
*/ | ||
@@ -190,2 +189,7 @@ exports.TimeoutInfinite = TimeoutInfinite; | ||
* | ||
* @warning This does not clone the transaction's | ||
* {@link xdr.SorobanTransactionData} (if applicable), use | ||
* {@link SorobanDataBuilder} and {@link TransactionBuilder.setSorobanData} | ||
* as needed, instead.. | ||
* | ||
* @todo This cannot clone {@link FeeBumpTransaction}s, yet. | ||
@@ -492,12 +496,16 @@ */ | ||
/** | ||
* Set the {SorobanTransactionData}. For non-contract(non-Soroban) | ||
* transactions, this setting has no effect. In the case of Soroban | ||
* transactions, set to an instance of SorobanTransactionData. This can | ||
* typically be obtained from the simulation response based on a transaction | ||
* with a InvokeHostFunctionOp. It provides necessary resource estimations for | ||
* contract invocation. | ||
* Sets the transaction's internal Soroban transaction data (resources, | ||
* footprint, etc.). | ||
* | ||
* For non-contract(non-Soroban) transactions, this setting has no effect. In | ||
* the case of Soroban transactions, this is either an instance of | ||
* {@link xdr.SorobanTransactionData} or a base64-encoded string of said | ||
* structure. This is usually obtained from the simulation response based on a | ||
* transaction with a Soroban operation (e.g. | ||
* {@link Operation.invokeHostFunction}, providing necessary resource | ||
* and storage footprint estimations for contract invocation. | ||
* | ||
* @param {xdr.SorobanTransactionData | string} sorobanData the | ||
* {@link xdr.SorobanTransactionData} as a raw xdr object or a base64 | ||
* string to be decoded then set as Transaction.Ext.SorobanData | ||
* string to be decoded | ||
* | ||
@@ -504,0 +512,0 @@ * @returns {TransactionBuilder} |
{ | ||
"name": "stellar-base", | ||
"version": "10.0.0-soroban.5", | ||
"version": "10.0.0-soroban.6", | ||
"description": "Low-level support library for the Stellar network.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -1032,3 +1032,6 @@ // TypeScript Version: 2.9 | ||
static cloneFrom(tx: Transaction): TransactionBuilder; | ||
static cloneFrom( | ||
tx: Transaction, | ||
optionOverrides?: TransactionBuilder.TransactionBuilderOptions | ||
): TransactionBuilder; | ||
static buildFeeBumpTransaction( | ||
@@ -1035,0 +1038,0 @@ feeSource: Keypair | string, |
Sorry, the diff of this file is too big to display
3228539
65283