@marinade.finance/web3js-common
Advanced tools
Comparing version 2.4.5 to 2.4.6
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158184