Socket
Socket
Sign inDemoInstall

@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.4.5 to 2.4.6

6

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

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

"devDependencies": {
"@marinade.finance/ts-common": "2.4.5",
"@marinade.finance/ts-common": "2.4.6",
"@solana/web3.js": "^1.93.0",

@@ -33,3 +33,3 @@ "@solana/buffer-layout": "^4.0.1",

"peerDependencies": {
"@marinade.finance/ts-common": "2.4.5",
"@marinade.finance/ts-common": "2.4.6",
"@solana/web3.js": "^1.93.0",

@@ -36,0 +36,0 @@ "@solana/buffer-layout": "^4.0.1",

@@ -7,3 +7,3 @@ /// <reference types="node" />

export declare function getVoteAccount(providerOrConnection: Provider | Connection | HasProvider, address: PublicKey): Promise<ProgramAccountInfo<VoteAccount>>;
export declare function getVoteAccountFromData(address: PublicKey, voteAccountInfo: AccountInfo<Buffer>): Promise<ProgramAccountInfo<VoteAccount>>;
export declare function getVoteAccountFromData(address: PublicKey, voteAccountInfo: AccountInfo<Buffer>): ProgramAccountInfo<VoteAccount>;
type VoteAccountArgs = {

@@ -10,0 +10,0 @@ nodePubkey: PublicKey;

@@ -40,3 +40,3 @@ "use strict";

exports.getVoteAccount = getVoteAccount;
async function getVoteAccountFromData(address, voteAccountInfo) {
function getVoteAccountFromData(address, voteAccountInfo) {
const versionOffset = 4;

@@ -43,0 +43,0 @@ const version = VoteAccountVersionLayout.decode((0, exports.toBuffer)(voteAccountInfo.data), 0);

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