@helios-lang/ledger-babbage
Advanced tools
Comparing version 0.2.3 to 0.2.4
{ | ||
"name": "@helios-lang/ledger-babbage", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Cardano ledger types for Babbage era", | ||
@@ -49,8 +49,8 @@ "type": "module", | ||
"@helios-lang/crypto": "^0.1.9", | ||
"@helios-lang/ledger-allegra": "^0.1.0", | ||
"@helios-lang/ledger-allegra": "^0.1.2", | ||
"@helios-lang/ledger-alonzo": "^0.1.5", | ||
"@helios-lang/ledger-shelley": "^0.1.2", | ||
"@helios-lang/ledger-shelley": "^0.1.3", | ||
"@helios-lang/type-utils": "^0.1.21", | ||
"@helios-lang/uplc": "^0.2.0" | ||
"@helios-lang/uplc": "^0.3.0" | ||
} | ||
} |
@@ -139,2 +139,3 @@ import { toInt } from "@helios-lang/codec-utils" | ||
* If there aren't enough inputs to cover the maxTxFee and the min deposits of newly created UTxOs, the balancing will fail. | ||
* TODO: make this private once we are in Conway era, because this should always take into account the cost of ref scripts | ||
* @type {bigint} | ||
@@ -188,3 +189,3 @@ */ | ||
/** | ||
* @private | ||
* @protected | ||
* @type {number} | ||
@@ -200,3 +201,3 @@ */ | ||
/** | ||
* @private | ||
* @protected | ||
* @type {number} | ||
@@ -203,0 +204,0 @@ */ |
@@ -264,6 +264,3 @@ import { decodeBytes, encodeBytes } from "@helios-lang/cbor" | ||
} else if (stakingCredentialData.tag == 0) { | ||
stakingCredentialData.expectFields( | ||
1, | ||
"invalid StakingCredential option content within Address" | ||
) | ||
stakingCredentialData.expectFields(1) | ||
@@ -270,0 +267,0 @@ stakingCredential = StakingCredential.fromUplcData( |
@@ -260,3 +260,3 @@ import { | ||
) { | ||
if (refScript instanceof UplcProgramV1) { | ||
if (refScript.plutusVersion == "PlutusScriptV1") { | ||
throw new Error("UplcProgramV1 ref script not supported") | ||
@@ -263,0 +263,0 @@ } else { |
@@ -61,2 +61,3 @@ /** | ||
* If there aren't enough inputs to cover the maxTxFee and the min deposits of newly created UTxOs, the balancing will fail. | ||
* TODO: make this private once we are in Conway era, because this should always take into account the cost of ref scripts | ||
* @type {bigint} | ||
@@ -78,11 +79,11 @@ */ | ||
/** | ||
* @private | ||
* @protected | ||
* @type {number} | ||
*/ | ||
private get latestTipSlot(); | ||
protected get latestTipSlot(): number; | ||
/** | ||
* @private | ||
* @protected | ||
* @type {number} | ||
*/ | ||
private get latestTipTime(); | ||
protected get latestTipTime(): number; | ||
/** | ||
@@ -89,0 +90,0 @@ * Calculates the time (in milliseconds in 01/01/1970) associated with a given slot number. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
440555
12391
+ Added@helios-lang/uplc@0.3.13(transitive)
- Removed@helios-lang/uplc@0.2.0(transitive)
Updated@helios-lang/uplc@^0.3.0