failover-sdk
Version:
One-line API failover with zero downtime. Native Rust performance with TypeScript interface.
9 lines • 2.01 kB
TypeScript
export { startConfigRefresh, getCachedConfig, stopConfigRefresh, setCachedConfig, setLocalConfig, autoLoadConfig, } from './config-loader';
export { type RoutingConfig, type FailoverConfig, type ProviderConfig, type PaymentProvider, type EmailProvider, } from './types';
export { setupProviderOverrides, setupFallbackInterceptor } from './provider-override';
export { initializeFailover } from './register';
export { CircuitBreakerManager, CircuitState, type CircuitBreakerStats, type CircuitBreakerConfig, CircuitBreakerError, } from './circuit-breaker';
export { MetricsManager, initialize as initializeMetrics, trackRequest, trackFailover, getSummary as getMetricsSummary, getProviderMetrics, exportPrometheus, createExpressMiddleware, type MetricsSummary, type ProviderMetrics, type FailoverEvent, type RequestMetric, } from './metrics';
export { payments, email, custom, type PaymentsHelper, type EmailHelper, type FallbackRequest, type FallbackResponse, type StripeHelper, type SquareHelper, type AdyenHelper, type PayPalHelper, type StripeChargeCreateParams, type StripeCharge, type StripeRefundCreateParams, type StripeRefund, type StripePaymentIntentParams, type StripePaymentIntent, type StripePaymentIntentConfirmParams, type SquarePaymentCreateParams, type SquarePayment, type SquareRefundCreateParams, type SquareRefund, type AdyenPaymentParams, type AdyenPaymentResponse, type AdyenRefundParams, type AdyenRefundResponse, type PayPalOrderParams, type PayPalOrder, type PayPalRefundParams, type PayPalRefund, type SendGridHelper, type MailgunHelper, type PostmarkHelper, type AmazonSESHelper, type ResendHelper, type SendGridEmailParams, type SendGridResponse, type MailgunEmailParams, type MailgunResponse, type PostmarkEmailParams, type PostmarkResponse, type AmazonSESEmailParams, type AmazonSESResponse, type ResendEmailParams, type ResendResponse, type ResendBatchParams, type ResendBatchResponse, } from './providers';
export declare const version = "2.3.0";
//# sourceMappingURL=index.d.ts.map