@meshsdk/transaction 1.9.0-beta.53 → 1.9.0-beta.54

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 CHANGED
@@ -3062,10 +3062,10 @@ var MeshTxBuilderCore = class {
3062
3062
  * @param extraInputs The inputs already placed into the object will remain, these extra inputs will be used to fill the remaining value needed
3063
3063
  */
3064
3064
  selectUtxosFrom = (extraInputs) => {
3065
- for (const input of this.meshTxBuilderBody.inputs) {
3066
- const address = input.txIn.address;
3065
+ for (const input of extraInputs) {
3066
+ const address = input.output.address;
3067
3067
  if (!address) {
3068
- throw Error("Address is missing from the input");
3068
+ throw Error("Address is missing from the extra input");
3069
3069
  }
3070
3070
  const decodedAddress = import_core_cst2.Address.fromString(address);
3071
3071
  if (decodedAddress?.getProps().paymentPart?.type !== import_core_cst2.CredentialType.KeyHash) {
package/dist/index.js CHANGED
@@ -3042,10 +3042,10 @@ var MeshTxBuilderCore = class {
3042
3042
  * @param extraInputs The inputs already placed into the object will remain, these extra inputs will be used to fill the remaining value needed
3043
3043
  */
3044
3044
  selectUtxosFrom = (extraInputs) => {
3045
- for (const input of this.meshTxBuilderBody.inputs) {
3046
- const address = input.txIn.address;
3045
+ for (const input of extraInputs) {
3046
+ const address = input.output.address;
3047
3047
  if (!address) {
3048
- throw Error("Address is missing from the input");
3048
+ throw Error("Address is missing from the extra input");
3049
3049
  }
3050
3050
  const decodedAddress = Address.fromString(address);
3051
3051
  if (decodedAddress?.getProps().paymentPart?.type !== CredentialType.KeyHash) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshsdk/transaction",
3
- "version": "1.9.0-beta.53",
3
+ "version": "1.9.0-beta.54",
4
4
  "description": "Transactions - https://meshjs.dev/apis/transaction",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.js",
@@ -35,8 +35,8 @@
35
35
  "typescript": "^5.3.3"
36
36
  },
37
37
  "dependencies": {
38
- "@meshsdk/common": "1.9.0-beta.53",
39
- "@meshsdk/core-cst": "1.9.0-beta.53",
38
+ "@meshsdk/common": "1.9.0-beta.54",
39
+ "@meshsdk/core-cst": "1.9.0-beta.54",
40
40
  "@cardano-sdk/core": "^0.45.5",
41
41
  "@cardano-sdk/util": "^0.15.5",
42
42
  "@cardano-sdk/input-selection": "^0.13.33",