Socket
Socket
Sign inDemoInstall

@marinade.finance/cli-common

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marinade.finance/cli-common - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

14

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

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

"@solana/web3.js": "^1.78.5",
"@marinade.finance/web3js-common": "^2.1.1",
"@marinade.finance/ts-common": "^2.1.1",
"@marinade.finance/ledger-utils": "^2.1.1",
"@marinade.finance/web3js-common": "^2.1.2",
"@marinade.finance/ts-common": "^2.1.2",
"@marinade.finance/ledger-utils": "^2.1.2",
"@types/expand-tilde": "^2.0.0",

@@ -40,5 +40,5 @@ "bn.js": "^5.2.1",

"@solana/web3.js": "^1.78.5",
"@marinade.finance/web3js-common": "^2.1.1",
"@marinade.finance/ts-common": "^2.1.1",
"@marinade.finance/ledger-utils": "^2.1.1",
"@marinade.finance/web3js-common": "^2.1.2",
"@marinade.finance/ts-common": "^2.1.2",
"@marinade.finance/ledger-utils": "^2.1.2",
"bn.js": "^5.2.1",

@@ -45,0 +45,0 @@ "borsh": "^0.7.0",

@@ -6,1 +6,2 @@ export * from './context';

export * from './pinoLogging';
export * from './wallet';

@@ -22,2 +22,3 @@ "use strict";

__exportStar(require("./pinoLogging"), exports);
__exportStar(require("./wallet"), exports);
//# sourceMappingURL=index.js.map

@@ -10,3 +10,3 @@ import { Keypair, PublicKey, Commitment } from '@solana/web3.js';

export declare function parseWalletOrPubkey(pubkeyOrPathOrLedger: string): Promise<Wallet | PublicKey>;
export declare function parseClusterUrl(url: string): string;
export declare function parseClusterUrl(url: string | undefined): string;
export declare function parseCommitment(commitment: string): Commitment;

@@ -108,2 +108,3 @@ "use strict";

function parseClusterUrl(url) {
const localhost = 'http://127.0.0.1:8899';
let clusterUrl = url === 'd'

@@ -116,3 +117,3 @@ ? 'devnet'

: url === 'l' || url === 'localnet' || url === 'localhost'
? 'http://127.0.0.1:8899'
? localhost
: url;

@@ -125,3 +126,3 @@ try {

}
return clusterUrl;
return clusterUrl || localhost;
}

@@ -128,0 +129,0 @@ exports.parseClusterUrl = parseClusterUrl;

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