@meshsdk/contract 1.6.8 → 1.6.10

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
@@ -1758,7 +1758,10 @@ var MeshSwapContract = class extends MeshTxInitiator {
1758
1758
  swapUtxo.input.outputIndex,
1759
1759
  swapUtxo.output.amount,
1760
1760
  swapUtxo.output.address
1761
- ).spendingReferenceTxInInlineDatumPresent().spendingReferenceTxInRedeemerValue((0, import_common11.mConStr1)([])).txInScript(this.scriptCbor).txOut(initiatorAddress, import_common11.MeshValue.fromValue(initiatorToReceive).toAssets()).changeAddress(walletAddress).txInCollateral(
1761
+ ).spendingReferenceTxInInlineDatumPresent().spendingReferenceTxInRedeemerValue((0, import_common11.mConStr1)([])).txInScript(this.scriptCbor).txOut(
1762
+ initiatorAddress,
1763
+ import_common11.MeshValue.fromValue(initiatorToReceive).toAssets()
1764
+ ).changeAddress(walletAddress).txInCollateral(
1762
1765
  collateral.input.txHash,
1763
1766
  collateral.input.outputIndex,
1764
1767
  collateral.output.amount,
package/dist/index.js CHANGED
@@ -1522,9 +1522,9 @@ import {
1522
1522
  conStr0 as conStr03,
1523
1523
  mConStr0 as mConStr04,
1524
1524
  mConStr1 as mConStr14,
1525
+ MeshValue as MeshValue2,
1525
1526
  pubKeyAddress as pubKeyAddress3,
1526
- value as value2,
1527
- MeshValue as MeshValue2
1527
+ value as value2
1528
1528
  } from "@meshsdk/common";
1529
1529
  import {
1530
1530
  deserializeAddress as deserializeAddress5,
@@ -1781,7 +1781,10 @@ var MeshSwapContract = class extends MeshTxInitiator {
1781
1781
  swapUtxo.input.outputIndex,
1782
1782
  swapUtxo.output.amount,
1783
1783
  swapUtxo.output.address
1784
- ).spendingReferenceTxInInlineDatumPresent().spendingReferenceTxInRedeemerValue(mConStr14([])).txInScript(this.scriptCbor).txOut(initiatorAddress, MeshValue2.fromValue(initiatorToReceive).toAssets()).changeAddress(walletAddress).txInCollateral(
1784
+ ).spendingReferenceTxInInlineDatumPresent().spendingReferenceTxInRedeemerValue(mConStr14([])).txInScript(this.scriptCbor).txOut(
1785
+ initiatorAddress,
1786
+ MeshValue2.fromValue(initiatorToReceive).toAssets()
1787
+ ).changeAddress(walletAddress).txInCollateral(
1785
1788
  collateral.input.txHash,
1786
1789
  collateral.input.outputIndex,
1787
1790
  collateral.output.amount,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshsdk/contract",
3
- "version": "1.6.8",
3
+ "version": "1.6.10",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",