Skip to content

Commit 5bba9b4

Browse files
authored
docs: Fix several typos (#3872)
1 parent 5e2ddf3 commit 5bba9b4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/hub/src/hub.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export class Hub implements HubInterface {
189189
const eventId = (this._lastEventId = uuid4());
190190
let finalHint = hint;
191191

192-
// If there's no explicit hint provided, mimick the same thing that would happen
192+
// If there's no explicit hint provided, mimic the same thing that would happen
193193
// in the minimal itself to create a consistent behavior.
194194
// We don't do this in the client, as it's the lowest level API, and doing this,
195195
// would prevent user from having full control over direct calls.
@@ -220,7 +220,7 @@ export class Hub implements HubInterface {
220220
const eventId = (this._lastEventId = uuid4());
221221
let finalHint = hint;
222222

223-
// If there's no explicit hint provided, mimick the same thing that would happen
223+
// If there's no explicit hint provided, mimic the same thing that would happen
224224
// in the minimal itself to create a consistent behavior.
225225
// We don't do this in the client, as it's the lowest level API, and doing this,
226226
// would prevent user from having full control over direct calls.

packages/hub/src/scope.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const MAX_BREADCRUMBS = 100;
3333
* called by the client before an event will be sent.
3434
*/
3535
export class Scope implements ScopeInterface {
36-
/** Flag if notifiying is happening. */
36+
/** Flag if notifying is happening. */
3737
protected _notifyingListeners: boolean = false;
3838

3939
/** Callback for client to receive scope changes. */
@@ -403,7 +403,7 @@ export class Scope implements ScopeInterface {
403403
* Note that breadcrumbs will be added by the client.
404404
* Also if the event has already breadcrumbs on it, we do not merge them.
405405
* @param event Event
406-
* @param hint May contain additional informartion about the original exception.
406+
* @param hint May contain additional information about the original exception.
407407
* @hidden
408408
*/
409409
public applyToEvent(event: Event, hint?: EventHint): PromiseLike<Event | null> {
@@ -427,7 +427,7 @@ export class Scope implements ScopeInterface {
427427
}
428428
// We want to set the trace context for normal events only if there isn't already
429429
// a trace context on the event. There is a product feature in place where we link
430-
// errors with transaction and it relys on that.
430+
// errors with transaction and it relies on that.
431431
if (this._span) {
432432
event.contexts = { trace: this._span.getTraceContext(), ...event.contexts };
433433
const transactionName = this._span.transaction?.name;
@@ -513,7 +513,7 @@ export class Scope implements ScopeInterface {
513513
}
514514

515515
/**
516-
* Retruns the global event processors.
516+
* Returns the global event processors.
517517
*/
518518
function getGlobalEventProcessors(): EventProcessor[] {
519519
/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */

0 commit comments

Comments
 (0)