@saberhq/solana-contrib
Advanced tools
Comparing version 1.13.31 to 1.13.32
@@ -38,3 +38,8 @@ "use strict"; | ||
var _a; | ||
await (0, sendAndSpamRawTx_js_1.sendAndSpamRawTx)(fc, encoded, options !== null && options !== void 0 ? options : this.opts, (_a = options === null || options === void 0 ? void 0 : options.fallbackRetryOptions) !== null && _a !== void 0 ? _a : index_js_3.DEFAULT_FALLBACK_RETRY_OPTIONS); | ||
try { | ||
await (0, sendAndSpamRawTx_js_1.sendAndSpamRawTx)(fc, encoded, options !== null && options !== void 0 ? options : this.opts, (_a = options === null || options === void 0 ? void 0 : options.fallbackRetryOptions) !== null && _a !== void 0 ? _a : index_js_3.DEFAULT_FALLBACK_RETRY_OPTIONS); | ||
} | ||
catch (e) { | ||
console.warn(`[Broadcaster] _sendRawTransaction error`, e); | ||
} | ||
})); | ||
@@ -41,0 +46,0 @@ })(); |
@@ -35,3 +35,8 @@ import { DEFAULT_PROVIDER_OPTIONS } from "../provider.js"; | ||
var _a; | ||
await sendAndSpamRawTx(fc, encoded, options !== null && options !== void 0 ? options : this.opts, (_a = options === null || options === void 0 ? void 0 : options.fallbackRetryOptions) !== null && _a !== void 0 ? _a : DEFAULT_FALLBACK_RETRY_OPTIONS); | ||
try { | ||
await sendAndSpamRawTx(fc, encoded, options !== null && options !== void 0 ? options : this.opts, (_a = options === null || options === void 0 ? void 0 : options.fallbackRetryOptions) !== null && _a !== void 0 ? _a : DEFAULT_FALLBACK_RETRY_OPTIONS); | ||
} | ||
catch (e) { | ||
console.warn(`[Broadcaster] _sendRawTransaction error`, e); | ||
} | ||
})); | ||
@@ -38,0 +43,0 @@ })(); |
{ | ||
"name": "@saberhq/solana-contrib", | ||
"version": "1.13.31", | ||
"version": "1.13.32", | ||
"description": "Common types and libraries for Solana", | ||
@@ -29,3 +29,3 @@ "homepage": "https://github.com/saber-hq/saber-common/tree/master/packages/solana-contrib#readme", | ||
"dependencies": { | ||
"@saberhq/option-utils": "^1.13.31", | ||
"@saberhq/option-utils": "^1.13.32", | ||
"@solana/buffer-layout": "^4.0.0", | ||
@@ -32,0 +32,0 @@ "@types/promise-retry": "^1.1.3", |
@@ -73,8 +73,12 @@ import type { | ||
this.fallbackConnections.map(async (fc) => { | ||
await sendAndSpamRawTx( | ||
fc, | ||
encoded, | ||
options ?? this.opts, | ||
options?.fallbackRetryOptions ?? DEFAULT_FALLBACK_RETRY_OPTIONS | ||
); | ||
try { | ||
await sendAndSpamRawTx( | ||
fc, | ||
encoded, | ||
options ?? this.opts, | ||
options?.fallbackRetryOptions ?? DEFAULT_FALLBACK_RETRY_OPTIONS | ||
); | ||
} catch (e) { | ||
console.warn(`[Broadcaster] _sendRawTransaction error`, e); | ||
} | ||
}) | ||
@@ -81,0 +85,0 @@ ); |
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
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
842039
11004