@meshsdk/transaction 1.7.19 → 1.7.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1249,7 +1249,8 @@ var MeshTxBuilderCore = class {
|
|
|
1249
1249
|
* Selects utxos to fill output value and puts them into inputs
|
|
1250
1250
|
* @param extraInputs The inputs already placed into the object will remain, these extra inputs will be used to fill the remaining value needed
|
|
1251
1251
|
* @param strategy The strategy to be used in utxo selection
|
|
1252
|
-
* @param threshold Extra value needed to be selected for, usually for paying fees and min UTxO value of change output
|
|
1252
|
+
* @param threshold Extra value needed to be selected for, usually for paying fees and min UTxO value of change output (default to 5000000)
|
|
1253
|
+
* @param includeTxFees Whether to include transaction fees in the threshold (default to true)
|
|
1253
1254
|
*/
|
|
1254
1255
|
selectUtxosFrom = (extraInputs, strategy = "experimental", threshold = "5000000", includeTxFees = true) => {
|
|
1255
1256
|
this.meshTxBuilderBody.extraInputs = extraInputs;
|
package/dist/index.d.cts
CHANGED
|
@@ -462,7 +462,8 @@ declare class MeshTxBuilderCore {
|
|
|
462
462
|
* Selects utxos to fill output value and puts them into inputs
|
|
463
463
|
* @param extraInputs The inputs already placed into the object will remain, these extra inputs will be used to fill the remaining value needed
|
|
464
464
|
* @param strategy The strategy to be used in utxo selection
|
|
465
|
-
* @param threshold Extra value needed to be selected for, usually for paying fees and min UTxO value of change output
|
|
465
|
+
* @param threshold Extra value needed to be selected for, usually for paying fees and min UTxO value of change output (default to 5000000)
|
|
466
|
+
* @param includeTxFees Whether to include transaction fees in the threshold (default to true)
|
|
466
467
|
*/
|
|
467
468
|
selectUtxosFrom: (extraInputs: UTxO[], strategy?: UtxoSelectionStrategy, threshold?: string, includeTxFees?: boolean) => this;
|
|
468
469
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -462,7 +462,8 @@ declare class MeshTxBuilderCore {
|
|
|
462
462
|
* Selects utxos to fill output value and puts them into inputs
|
|
463
463
|
* @param extraInputs The inputs already placed into the object will remain, these extra inputs will be used to fill the remaining value needed
|
|
464
464
|
* @param strategy The strategy to be used in utxo selection
|
|
465
|
-
* @param threshold Extra value needed to be selected for, usually for paying fees and min UTxO value of change output
|
|
465
|
+
* @param threshold Extra value needed to be selected for, usually for paying fees and min UTxO value of change output (default to 5000000)
|
|
466
|
+
* @param includeTxFees Whether to include transaction fees in the threshold (default to true)
|
|
466
467
|
*/
|
|
467
468
|
selectUtxosFrom: (extraInputs: UTxO[], strategy?: UtxoSelectionStrategy, threshold?: string, includeTxFees?: boolean) => this;
|
|
468
469
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1216,7 +1216,8 @@ var MeshTxBuilderCore = class {
|
|
|
1216
1216
|
* Selects utxos to fill output value and puts them into inputs
|
|
1217
1217
|
* @param extraInputs The inputs already placed into the object will remain, these extra inputs will be used to fill the remaining value needed
|
|
1218
1218
|
* @param strategy The strategy to be used in utxo selection
|
|
1219
|
-
* @param threshold Extra value needed to be selected for, usually for paying fees and min UTxO value of change output
|
|
1219
|
+
* @param threshold Extra value needed to be selected for, usually for paying fees and min UTxO value of change output (default to 5000000)
|
|
1220
|
+
* @param includeTxFees Whether to include transaction fees in the threshold (default to true)
|
|
1220
1221
|
*/
|
|
1221
1222
|
selectUtxosFrom = (extraInputs, strategy = "experimental", threshold = "5000000", includeTxFees = true) => {
|
|
1222
1223
|
this.meshTxBuilderBody.extraInputs = extraInputs;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshsdk/transaction",
|
|
3
|
-
"version": "1.7.
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "1.7.20",
|
|
4
|
+
"description": "Transactions - https://meshjs.dev/apis/transaction",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"browser": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"typescript": "^5.3.3"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@meshsdk/common": "1.7.
|
|
39
|
-
"@meshsdk/core-csl": "1.7.
|
|
40
|
-
"@meshsdk/core-cst": "1.7.
|
|
38
|
+
"@meshsdk/common": "1.7.20",
|
|
39
|
+
"@meshsdk/core-csl": "1.7.20",
|
|
40
|
+
"@meshsdk/core-cst": "1.7.20",
|
|
41
41
|
"json-bigint": "^1.0.0"
|
|
42
42
|
},
|
|
43
43
|
"prettier": "@meshsdk/configs/prettier",
|