@clonegod/ttd-sol-common 1.0.57 → 1.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -573,7 +573,10 @@ class RpcClient {
|
|
|
573
573
|
let txid = (0, get_signature_1.getSignature)(transaction);
|
|
574
574
|
setTimeout(() => __awaiter(this, void 0, void 0, function* () {
|
|
575
575
|
const serializedTransaction = bs58_1.default.encode(transaction.serialize());
|
|
576
|
-
|
|
576
|
+
let jitoApiUrl = `${types_1.JITO_API_URLS[region]}/api/v1/bundles`;
|
|
577
|
+
if (process.env.QUICKNODE_JITO_PLUGIN_URL) {
|
|
578
|
+
jitoApiUrl = process.env.QUICKNODE_JITO_PLUGIN_URL;
|
|
579
|
+
}
|
|
577
580
|
const bundleId = yield this.sendJitoBundle([serializedTransaction], jitoApiUrl);
|
|
578
581
|
(0, dist_1.log_info)(`sendJitoBundle`, {
|
|
579
582
|
txid,
|