smart-order-router-tbd 0.0.8 → 0.1.0

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.
@@ -533,6 +533,13 @@ export type AlphaRouterConfig = {
533
533
  * is true. Defaults to 0, meaning quotes are returned without gas adjustment.
534
534
  */
535
535
  defaultGasAdjustment?: number;
536
+ /**
537
+ * Per-protocol quote timeout in milliseconds. Every protocol's quoting
538
+ * promise (V2, V3, V4, PV2, PV3, PV4CL, PV4BIN, PSS, Mixed) is wrapped in
539
+ * a `Promise.race` against this timeout so that a single slow RPC cannot
540
+ * block the entire pipeline indefinitely. Defaults to 30 000 ms.
541
+ */
542
+ protocolQuoteTimeoutMs?: number;
536
543
  };
537
544
  export declare class AlphaRouter implements IRouter<AlphaRouterConfig>, ISwapToRatio<AlphaRouterConfig, SwapAndAddConfig> {
538
545
  protected chainId: ChainId;