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

@marinade.finance/web3js-common

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.1.0 to 2.1.1

6

package.json
{
"name": "@marinade.finance/web3js-common",
"version": "2.1.0",
"version": "2.1.1",
"description": "Web3 JS reusable utilities",

@@ -25,3 +25,3 @@ "repository": {

"@solana/web3.js": "^1.78.5",
"@marinade.finance/ts-common": "2.1.0",
"@marinade.finance/ts-common": "2.1.1",
"bn.js": "^5.2.1",

@@ -33,3 +33,3 @@ "borsh": "^0.7.0",

"@solana/web3.js": "^1.78.5",
"@marinade.finance/ts-common": "2.1.0",
"@marinade.finance/ts-common": "2.1.1",
"bn.js": "^5.2.1",

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

@@ -46,3 +46,6 @@ import { Connection, Transaction, VersionedTransactionResponse, SimulatedTransactionResponse, Keypair, Signer, TransactionInstruction, TransactionResponse, PublicKey, SendOptions, VersionedTransaction } from '@solana/web3.js';

sendOpts?: SendOptions;
}): Promise<VersionedTransactionResponse[] | SimulatedTransactionResponse[] | []>;
}): Promise<{
result: VersionedTransactionResponse[] | SimulatedTransactionResponse[] | [];
transactions: Transaction[];
}>;
/**

@@ -49,0 +52,0 @@ * Returns a string representation Transaction object.

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

const result = [];
const resultTransactions = [];
// only to print in base64

@@ -177,2 +178,3 @@ if (!simulate && printOnly) {

});
resultTransactions.push(transaction);
}

@@ -252,2 +254,3 @@ else {

let executionCounter = 0;
resultTransactions.push(...transactions);
for (const transaction of transactions) {

@@ -278,3 +281,3 @@ const txSigners = filterSignersForInstruction(transaction.instructions, signers).filter(s => !s.publicKey.equals(feePayerDefined));

}
return result;
return { result, transactions: resultTransactions };
}

@@ -281,0 +284,0 @@ exports.splitAndExecuteTx = splitAndExecuteTx;

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