Socket
Socket
Sign inDemoInstall

@marinade.finance/cli-common

Package Overview
Dependencies
77
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "@marinade.finance/cli-common",
"version": "1.0.2",
"version": "1.0.3",
"description": "CLI tooling",

@@ -5,0 +5,0 @@ "repository": {

@@ -10,3 +10,4 @@ import { Transaction, VersionedTransaction } from '@solana/web3.js';

readonly transaction?: Transaction | VersionedTransaction;
constructor({ valueName, value, msg, cause, logs, transaction, }: {
constructor({ commandName, valueName, value, msg, cause, logs, transaction, }: {
commandName?: string;
valueName?: string;

@@ -13,0 +14,0 @@ value?: any;

@@ -7,4 +7,8 @@ "use strict";

class CliCommandError extends Error {
constructor({ valueName, value, msg, cause, logs, transaction, }) {
const { commandName } = (0, context_1.getContext)();
constructor({ commandName, valueName, value, msg, cause, logs, transaction, }) {
if (commandName === undefined) {
// eslint-disable-next-line @typescript-eslint/no-extra-semi
;
({ commandName } = (0, context_1.getContext)());
}
let errorMessage;

@@ -11,0 +15,0 @@ if (valueName) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc