@harmoniclabs/plutus-machine
Advanced tools
Comparing version 2.0.0-dev2 to 2.0.0-dev3
@@ -57,5 +57,7 @@ "use strict"; | ||
function costModelToMachineCosts(costMdls) { | ||
var costs = (0, cardano_costmodels_ts_1.isCostModelsV1)(costMdls) ? (0, cardano_costmodels_ts_1.costModelV1ToFakeV3)(__assign({}, costMdls)) : | ||
var costs = | ||
// always check latest version first | ||
(0, cardano_costmodels_ts_1.isCostModelsV3)(costMdls) ? (0, cardano_costmodels_ts_1.toCostModelV3)(__assign({}, costMdls)) : | ||
(0, cardano_costmodels_ts_1.isCostModelsV2)(costMdls) ? (0, cardano_costmodels_ts_1.costModelV2ToFakeV3)(__assign({}, costMdls)) : | ||
(0, cardano_costmodels_ts_1.toCostModelV3)(costMdls); | ||
(0, cardano_costmodels_ts_1.costModelV1ToFakeV3)(__assign({}, costMdls)); | ||
var result = {}; | ||
@@ -62,0 +64,0 @@ function add(k, cpuKey, memKey) { |
{ | ||
"name": "@harmoniclabs/plutus-machine", | ||
"version": "2.0.0-dev2", | ||
"version": "2.0.0-dev3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
226361
4378