@harmoniclabs/buildooor 0.2.5 → 0.2.7

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.
@@ -211,7 +211,7 @@ var TxBuilder = /** @class */ (function () {
211
211
  else if (tx_out instanceof Uint8Array)
212
212
  size = BigInt(tx_out.length);
213
213
  // overestimating the size a bit
214
- return BigInt(this.protocolParamters.utxoCostPerByte) * (size + BigInt(10));
214
+ return BigInt(this.protocolParamters.utxoCostPerByte) * (size + BigInt(160));
215
215
  };
216
216
  TxBuilder.prototype.addMinLovelacesIfMissing = function (txOut) {
217
217
  if (txOut.value.lovelaces > 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harmoniclabs/buildooor",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Cardano transaction builder in typescript",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -48,7 +48,7 @@
48
48
  "@harmoniclabs/bip32_ed25519": "^0.1.3",
49
49
  "@harmoniclabs/bytestring": "^1.0.0",
50
50
  "@harmoniclabs/cardano-costmodels-ts": "^1.4.0",
51
- "@harmoniclabs/cardano-ledger-ts": "^0.5.0",
51
+ "@harmoniclabs/cardano-ledger-ts": "^0.5.1",
52
52
  "@harmoniclabs/cbor": "^2.0.1",
53
53
  "@harmoniclabs/crypto": "^0.3.0",
54
54
  "@harmoniclabs/obj-utils": "^1.0.0",