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

@cardano-ogmios/client

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardano-ogmios/client - npm Package Compare versions

Comparing version 5.5.4 to 5.5.5

61

dist/TxSubmission/evaluateTx.js

@@ -34,33 +34,32 @@ "use strict";

const { ScriptFailures } = EvaluationFailure;
if (Array.isArray(ScriptFailures)) {
return ScriptFailures.map(failure => {
if (evaluationErrors_1.errors.ExtraRedeemers.assert(failure)) {
return new evaluationErrors_1.errors.ExtraRedeemers.Error(failure);
}
else if (evaluationErrors_1.errors.IllFormedExecutionBudget.assert(failure)) {
return new evaluationErrors_1.errors.IllFormedExecutionBudget.Error(failure);
}
else if (evaluationErrors_1.errors.MissingRequiredDatums.assert(failure)) {
return new evaluationErrors_1.errors.MissingRequiredDatums.Error(failure);
}
else if (evaluationErrors_1.errors.MissingRequiredScripts.assert(failure)) {
return new evaluationErrors_1.errors.MissingRequiredScripts.Error(failure);
}
else if (evaluationErrors_1.errors.NoCostModelForLanguage.assert(failure)) {
return new evaluationErrors_1.errors.NoCostModelForLanguage.Error(failure);
}
else if (evaluationErrors_1.errors.NonScriptInputReferencedByRedeemer.assert(failure)) {
return new evaluationErrors_1.errors.NonScriptInputReferencedByRedeemer.Error(failure);
}
else if (evaluationErrors_1.errors.UnknownInputReferencedByRedeemer.assert(failure)) {
return new evaluationErrors_1.errors.UnknownInputReferencedByRedeemer.Error(failure);
}
else if (evaluationErrors_1.errors.ValidatorFailed.assert(failure)) {
return new evaluationErrors_1.errors.ValidatorFailed.Error(failure);
}
else {
return new Error(failure);
}
});
}
return Object.keys(ScriptFailures).map(k => {
const failure = Object.values(ScriptFailures[k])[0];
if (evaluationErrors_1.errors.ExtraRedeemers.assert(failure)) {
return new evaluationErrors_1.errors.ExtraRedeemers.Error(failure);
}
else if (evaluationErrors_1.errors.IllFormedExecutionBudget.assert(failure)) {
return new evaluationErrors_1.errors.IllFormedExecutionBudget.Error(failure);
}
else if (evaluationErrors_1.errors.MissingRequiredDatums.assert(failure)) {
return new evaluationErrors_1.errors.MissingRequiredDatums.Error(failure);
}
else if (evaluationErrors_1.errors.MissingRequiredScripts.assert(failure)) {
return new evaluationErrors_1.errors.MissingRequiredScripts.Error(failure);
}
else if (evaluationErrors_1.errors.NoCostModelForLanguage.assert(failure)) {
return new evaluationErrors_1.errors.NoCostModelForLanguage.Error(failure);
}
else if (evaluationErrors_1.errors.NonScriptInputReferencedByRedeemer.assert(failure)) {
return new evaluationErrors_1.errors.NonScriptInputReferencedByRedeemer.Error(failure);
}
else if (evaluationErrors_1.errors.UnknownInputReferencedByRedeemer.assert(failure)) {
return new evaluationErrors_1.errors.UnknownInputReferencedByRedeemer.Error(failure);
}
else if (evaluationErrors_1.errors.ValidatorFailed.assert(failure)) {
return new evaluationErrors_1.errors.ValidatorFailed.Error(failure);
}
else {
return new errors_1.UnknownResultError(failure);
}
});
}

@@ -67,0 +66,0 @@ else if (evaluationErrors_1.errors.IncompatibleEra.assert(EvaluationFailure)) {

{
"name": "@cardano-ogmios/client",
"version": "5.5.4",
"version": "5.5.5",
"description": "TypeScript client library for Cardano Ogmios",

@@ -56,3 +56,3 @@ "engines": {

"dependencies": {
"@cardano-ogmios/schema": "5.5.4",
"@cardano-ogmios/schema": "5.5.5",
"@cardanosolutions/json-bigint": "^1.0.0",

@@ -59,0 +59,0 @@ "@types/json-bigint": "^1.0.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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