Skip to content

Commit 888275c

Browse files
authored
docs: Fix typos and documentation improvement (#3431)
1 parent 7f87dd2 commit 888275c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/node/src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export async function close(timeout?: number): Promise<boolean> {
149149
}
150150

151151
/**
152-
* A function that returns a Sentry release string dynamically from env variables
152+
* Returns a release dynamically from environment variables.
153153
*/
154154
export function getSentryRelease(): string | undefined {
155155
// Always read first as Sentry takes this as precedence

packages/types/src/transport.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ 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

0 commit comments

Comments
 (0)