Skip to content

Commit 4629e89

Browse files
committed
Fixed documentation in transports type
1 parent 57b841c commit 4629e89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/types/src/transport.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ export interface Transport {
1414
sendEvent(event: Event): PromiseLike<Response>;
1515

1616
/**
17-
* Sends the session to the Store endpoint in Sentry.
17+
* Sends the session to the Envelope endpoint in Sentry.
1818
*
19-
* @param body Session that should be sent to Sentry.
19+
* @param session Session that should be sent to Sentry.
2020
*/
2121
sendSession?(session: Session): PromiseLike<Response>;
2222

2323
/**
24-
* Sends the aggregated request mode sessions to the Store endpoint in Sentry.
24+
* Sends the aggregated request mode sessions to the Envelope endpoint in Sentry.
2525
*
26-
* @param body Session that should be sent to Sentry.
26+
* @param aggregatedSessions Aggregated Sessions that should be sent to Sentry.
2727
*/
2828
sendSessions?(aggregatedSessions: AggregatedSessions): PromiseLike<Response>;
2929

0 commit comments

Comments
 (0)