Skip to content

Commit f94f63e

Browse files
chargomeclaude
andcommitted
ref(core): Drop dead PII_HEADER_SNIPPETS and fix userInfo default doc
`PII_HEADER_SNIPPETS` was only consumed by the removed `sendDefaultPii` bridge and is not part of the public API, so it is now unreachable. The `userInfo` JSDoc still advertised the pre-v11 default of `false`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 9a5adeb commit f94f63e

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎packages/core/src/types/datacollection.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export type HttpBodyCollectionTarget = 'incomingRequest' | 'outgoingRequest' | '
1818
export interface DataCollection {
1919
/**
2020
* Automatically populate `user.*` fields from instrumentation sources.
21-
* @default false
21+
* @default true
2222
*/
2323
userInfo?: boolean;
2424

‎packages/core/src/utils/data-collection/filtering-snippets.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
export const FILTERED_VALUE = '[Filtered]';
22

3-
export const PII_HEADER_SNIPPETS = ['forwarded', '-ip', 'remote-', 'via', '-user'];
4-
53
export const SENSITIVE_KEY_SNIPPETS = [
64
'auth',
75
'token',

0 commit comments

Comments
 (0)