Files
klz-cables.com/.pnpm-store/v10/files/d7/e6ea371da6125d5dfc30e3a981e51e3209920a77736366e839c1c35705cf1ccd2592734f7a9300d04b29c87b1f3db1812ca34dffca76c13eeaaf45c52b3821
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

33 lines
1.4 KiB
Plaintext

import { BaseTransportOptions, Transport, TransportMakeRequestResponse } from '@sentry/core';
export interface VercelEdgeTransportOptions extends BaseTransportOptions {
/** Fetch API init parameters. */
fetchOptions?: RequestInit;
}
/**
* This is a modified promise buffer that collects tasks until drain is called.
* We need this in the edge runtime because edge function invocations may not share I/O objects, like fetch requests
* and responses, and the normal PromiseBuffer inherently buffers stuff inbetween incoming requests.
*
* A limitation we need to be aware of is that DEFAULT_TRANSPORT_BUFFER_SIZE is the maximum amount of payloads the
* SDK can send for a given edge function invocation.
*/
export declare class IsolatedPromiseBuffer {
$: Array<PromiseLike<TransportMakeRequestResponse>>;
private _taskProducers;
private readonly _bufferSize;
constructor(_bufferSize?: number);
/**
* @inheritdoc
*/
add(taskProducer: () => PromiseLike<TransportMakeRequestResponse>): PromiseLike<TransportMakeRequestResponse>;
/**
* @inheritdoc
*/
drain(timeout?: number): PromiseLike<boolean>;
}
/**
* Creates a Transport that uses the Edge Runtimes native fetch API to send events to Sentry.
*/
export declare function makeEdgeTransport(options: VercelEdgeTransportOptions): Transport;
//# sourceMappingURL=index.d.ts.map