@stabbleorg/anchor-contrib
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -20,3 +20,3 @@ import { Provider } from "@coral-xyz/anchor"; | ||
createSmartTransaction(instructions: TransactionInstruction[], altAccounts: AddressLookupTableAccount[] | undefined, priorityLevel: PriorityLevel): Promise<TransactionWithBlockhash>; | ||
sendSmartTransaction(instructions: TransactionInstruction[], signers?: Signer[], altAccounts?: AddressLookupTableAccount[], priorityLevel?: PriorityLevel, commitment?: Commitment): Promise<TransactionSignature | null>; | ||
sendSmartTransaction(instructions: TransactionInstruction[], signers?: Signer[], altAccounts?: AddressLookupTableAccount[], priorityLevel?: PriorityLevel, commitment?: Commitment): Promise<TransactionSignature>; | ||
} |
{ | ||
"name": "@stabbleorg/anchor-contrib", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -175,6 +175,3 @@ import bs58 from "bs58"; | ||
async getPriorityFeeEstimate( | ||
transaction: VersionedTransaction, | ||
priorityLevel: PriorityLevel, | ||
): Promise<number> { | ||
async getPriorityFeeEstimate(transaction: VersionedTransaction, priorityLevel: PriorityLevel): Promise<number> { | ||
try { | ||
@@ -278,3 +275,3 @@ const response = await fetch(this.provider.connection.rpcEndpoint, { | ||
commitment: Commitment = "confirmed", | ||
): Promise<TransactionSignature|null> { | ||
): Promise<TransactionSignature> { | ||
const { transaction, blockhash, minContextSlot } = await this.createSmartTransaction( | ||
@@ -281,0 +278,0 @@ instructions, |
Sorry, the diff of this file is not supported yet
48067
882