Skip to content

Commit c8d1c12

Browse files
Merge branch 'v7' of github.com:getsentry/sentry-javascript into egou/fix/inp-interaction-to-route-name-mapping-bugs
2 parents 3e48b91 + 47a3cc7 commit c8d1c12

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.craft.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ targets:
156156
- nodejs14.x
157157
- nodejs16.x
158158
- nodejs18.x
159+
- nodejs20.x
159160
license: MIT
160161

161162
# CDN Bundle Target

packages/node/src/integrations/anr/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ if (options.captureStackTrace) {
173173
{
174174
// Grab the trace context from the current scope
175175
expression:
176-
'const ctx = __SENTRY__.hub.getScope().getPropagationContext(); ctx.traceId + "-" + ctx.spanId + "-" + ctx.parentSpanId',
176+
'var __sentry_ctx = __SENTRY__.hub.getScope().getPropagationContext(); __sentry_ctx.traceId + "-" + __sentry_ctx.spanId + "-" + __sentry_ctx.parentSpanId',
177177
// Don't re-trigger the debugger if this causes an error
178178
silent: true,
179179
},

packages/types/src/transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export interface Transaction extends TransactionContext, Omit<Span, 'setName' |
6666
* Was this transaction chosen to be sent as part of the sample?
6767
* @deprecated Use `spanIsSampled(transaction)` instead.
6868
*/
69-
sampled?: boolean;
69+
sampled?: boolean | undefined;
7070

7171
/**
7272
* @inheritDoc

0 commit comments

Comments
 (0)