@helium/spl-utils
Advanced tools
Comparing version 0.7.13 to 0.7.14
@@ -107,2 +107,3 @@ "use strict"; | ||
skipPreflight: true, | ||
maxRetries: 0, | ||
}, commitment); | ||
@@ -385,3 +386,3 @@ return txid; | ||
// due to blockhash exp | ||
function bulkSendRawTransactions(connection, txs, onProgress, lastValidBlockHeight, skipPreflight = true) { | ||
function bulkSendRawTransactions(connection, txs, onProgress, lastValidBlockHeight, skipPreflight = true, maxRetries = 0) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -412,2 +413,3 @@ const txBatchSize = TX_BATCH_SIZE; | ||
skipPreflight, | ||
maxRetries, | ||
}); | ||
@@ -414,0 +416,0 @@ txids.push(txid); |
@@ -70,2 +70,3 @@ import { AddressLookupTableAccount, ComputeBudgetProgram, PublicKey, Transaction, TransactionMessage, VersionedTransaction, } from "@solana/web3.js"; | ||
skipPreflight: true, | ||
maxRetries: 0, | ||
}, commitment); | ||
@@ -324,3 +325,3 @@ return txid; | ||
// due to blockhash exp | ||
export async function bulkSendRawTransactions(connection, txs, onProgress, lastValidBlockHeight, skipPreflight = true) { | ||
export async function bulkSendRawTransactions(connection, txs, onProgress, lastValidBlockHeight, skipPreflight = true, maxRetries = 0) { | ||
const txBatchSize = TX_BATCH_SIZE; | ||
@@ -350,2 +351,3 @@ let totalProgress = 0; | ||
skipPreflight, | ||
maxRetries, | ||
}); | ||
@@ -352,0 +354,0 @@ txids.push(txid); |
@@ -48,3 +48,3 @@ /// <reference types="node" /> | ||
extraSigners?: Keypair[], maxSignatureBatch?: number): Promise<string[]>; | ||
export declare function bulkSendRawTransactions(connection: Connection, txs: Buffer[], onProgress?: (status: Status) => void, lastValidBlockHeight?: number, skipPreflight?: boolean): Promise<string[]>; | ||
export declare function bulkSendRawTransactions(connection: Connection, txs: Buffer[], onProgress?: (status: Status) => void, lastValidBlockHeight?: number, skipPreflight?: boolean, maxRetries?: number): Promise<string[]>; | ||
export declare function batchParallelInstructions({ provider, instructions, onProgress, triesRemaining, extraSigners, maxSignatureBatch, addressLookupTableAddresses, }: { | ||
@@ -51,0 +51,0 @@ provider: AnchorProvider; |
{ | ||
"name": "@helium/spl-utils", | ||
"version": "0.7.13", | ||
"version": "0.7.14", | ||
"description": "Utils shared across spl suite", | ||
@@ -35,5 +35,5 @@ "publishConfig": { | ||
"@coral-xyz/anchor": "^0.28.0", | ||
"@helium/account-fetch-cache": "^0.7.13", | ||
"@helium/account-fetch-cache": "^0.7.14", | ||
"@helium/address": "^4.10.2", | ||
"@helium/anchor-resolvers": "^0.7.13", | ||
"@helium/anchor-resolvers": "^0.7.14", | ||
"@metaplex-foundation/mpl-token-metadata": "^2.10.0", | ||
@@ -53,3 +53,3 @@ "@solana/spl-account-compression": "^0.1.7", | ||
}, | ||
"gitHead": "e79d237ae7ddb380ca93cfdcf23d4d76de31eaa2" | ||
"gitHead": "130979ff6201ffd915b514e471ee7dd0fcd25961" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
431732
3925
+ Addedchalk@5.4.0(transitive)
+ Addedcross-fetch@3.1.8(transitive)
- Removedchalk@5.4.1(transitive)
- Removedcross-fetch@3.2.0(transitive)