@stabbleorg/anchor-contrib
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -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>; | ||
sendSmartTransaction(instructions: TransactionInstruction[], signers?: Signer[], altAccounts?: AddressLookupTableAccount[], priorityLevel?: PriorityLevel, commitment?: Commitment): Promise<TransactionSignature | null>; | ||
} |
{ | ||
"name": "@stabbleorg/anchor-contrib", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -277,3 +277,3 @@ import bs58 from "bs58"; | ||
commitment: Commitment = "confirmed", | ||
): Promise<TransactionSignature> { | ||
): Promise<TransactionSignature|null> { | ||
const { transaction, blockhash, minContextSlot } = await this.createSmartTransaction( | ||
@@ -280,0 +280,0 @@ instructions, |
48094