Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@harmoniclabs/plutus-machine

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harmoniclabs/plutus-machine - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

8

dist/Machine/Machine.js

@@ -57,7 +57,9 @@ "use strict";

var isV3 = (0, cardano_costmodels_ts_1.isCostModelsV3)(costmodel);
if (!(isV1 || isV2 || isV3))
if (!(isV3 || isV2 || isV1))
throw new Error("invalid machine costs");
var costs = isV1 ? (0, cardano_costmodels_ts_1.costModelV1ToFakeV3)(costmodel) :
// ALWAYS CHECK LATEST VERSION FIRST
var costs = isV3 ? (0, cardano_costmodels_ts_1.toCostModelV3)(costmodel) :
isV2 ? (0, cardano_costmodels_ts_1.costModelV2ToFakeV3)(costmodel) :
(0, cardano_costmodels_ts_1.toCostModelV3)(costmodel);
isV1 ? (0, cardano_costmodels_ts_1.costModelV1ToFakeV3)(costmodel) :
cardano_costmodels_ts_1.defaultV3Costs; // never; we throw before
(0, obj_utils_1.defineReadOnlyHiddenProperty)(this, "getBuiltinCostFuction", (0, BuiltinCosts_1.costModelV3ToBuiltinCosts)(costs));

@@ -64,0 +66,0 @@ (0, obj_utils_1.defineReadOnlyHiddenProperty)(this, "machineCosts", (0, MachineCosts_1.costModelToMachineCosts)(costs));

{
"name": "@harmoniclabs/plutus-machine",
"version": "1.1.1",
"version": "1.1.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc