Files
klz-cables.com/.pnpm-store/v10/files/18/50043cda64569118576006498ab7d1a2eabca40666ed2a3efc2b5fa17467b671f27ef719c713f40ed487c93787e07ae4711a3cc0072f6b096fe25cfa07833a
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

39 lines
1.2 KiB
Plaintext

import { Client } from '../client';
import { Envelope } from './envelope';
export type TransportRequest = {
body: string | Uint8Array;
};
export type TransportMakeRequestResponse = {
statusCode?: number;
headers?: {
[key: string]: string | null;
'x-sentry-rate-limits': string | null;
'retry-after': string | null;
};
};
export interface InternalBaseTransportOptions {
/**
* @ignore
* Users should pass the tunnel property via the init/client options.
* This is only used by the SDK to pass the tunnel to the transport.
*/
tunnel?: string;
bufferSize?: number;
recordDroppedEvent: Client['recordDroppedEvent'];
}
export interface BaseTransportOptions extends InternalBaseTransportOptions {
url: string;
/**
* Custom HTTP headers to be added to requests made by the transport.
*/
headers?: {
[key: string]: string;
};
}
export interface Transport {
send(request: Envelope): PromiseLike<TransportMakeRequestResponse>;
flush(timeout?: number): PromiseLike<boolean>;
}
export type TransportRequestExecutor = (request: TransportRequest) => PromiseLike<TransportMakeRequestResponse>;
//# sourceMappingURL=transport.d.ts.map