@indigo-labs/indigo-sdk 0.3.13 → 0.3.14

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.js CHANGED
@@ -7017,7 +7017,7 @@ async function executeProposal(executeOref, govOref, treasuryWithdrawalOref, all
7017
7017
  );
7018
7018
  }).otherwise(() => {
7019
7019
  });
7020
- tx.readFrom([upgradeTokenPolicyRefScriptUtxo, executeRefScriptUtxo]).validFrom(Number(currentTime) - ONE_SECOND).validTo(Number(currentTime + sysParams.govParams.gBiasTime) - ONE_SECOND).collectFrom([executeUtxo], import_lucid26.Data.void()).mintAssets(
7020
+ tx.readFrom([upgradeTokenPolicyRefScriptUtxo, executeRefScriptUtxo]).validFrom(Number(currentTime) - ONE_SECOND).validTo(Number(currentTime) + Number(sysParams.govParams.gBiasTime) - ONE_SECOND).collectFrom([executeUtxo], import_lucid26.Data.void()).mintAssets(
7021
7021
  (0, import_cardano_offchain_common16.mkAssetsOf)(fromSystemParamsAsset(sysParams.govParams.upgradeToken), -1n),
7022
7022
  import_lucid26.Data.void()
7023
7023
  ).addSigner(ownAddr).setMinFee(922932n);
package/dist/index.mjs CHANGED
@@ -6786,7 +6786,7 @@ async function executeProposal(executeOref, govOref, treasuryWithdrawalOref, all
6786
6786
  );
6787
6787
  }).otherwise(() => {
6788
6788
  });
6789
- tx.readFrom([upgradeTokenPolicyRefScriptUtxo, executeRefScriptUtxo]).validFrom(Number(currentTime) - ONE_SECOND).validTo(Number(currentTime + sysParams.govParams.gBiasTime) - ONE_SECOND).collectFrom([executeUtxo], Data30.void()).mintAssets(
6789
+ tx.readFrom([upgradeTokenPolicyRefScriptUtxo, executeRefScriptUtxo]).validFrom(Number(currentTime) - ONE_SECOND).validTo(Number(currentTime) + Number(sysParams.govParams.gBiasTime) - ONE_SECOND).collectFrom([executeUtxo], Data30.void()).mintAssets(
6790
6790
  mkAssetsOf6(fromSystemParamsAsset(sysParams.govParams.upgradeToken), -1n),
6791
6791
  Data30.void()
6792
6792
  ).addSigner(ownAddr).setMinFee(922932n);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigo-labs/indigo-sdk",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "description": "Indigo SDK for interacting with Indigo endpoints via lucid-evolution",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1594,7 +1594,7 @@ export async function executeProposal(
1594
1594
 
1595
1595
  tx.readFrom([upgradeTokenPolicyRefScriptUtxo, executeRefScriptUtxo])
1596
1596
  .validFrom(Number(currentTime) - ONE_SECOND)
1597
- .validTo(Number(currentTime + sysParams.govParams.gBiasTime) - ONE_SECOND)
1597
+ .validTo(Number(currentTime) + Number(sysParams.govParams.gBiasTime) - ONE_SECOND)
1598
1598
  .collectFrom([executeUtxo], Data.void())
1599
1599
  .mintAssets(
1600
1600
  mkAssetsOf(fromSystemParamsAsset(sysParams.govParams.upgradeToken), -1n),