Skip to content

Expose BaseUserTraits #1306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 8, 2025
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/metal-beds-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@segment/analytics-core': patch
'@segment/analytics-next': patch
'@segment/analytics-node': patch
Copy link
Contributor

@silesky silesky Jun 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: The only package that you need to explicitly reference is core here, all dependent package will be bumped automatically by changesets. (cool, I know)

---

expose BaseUserTraits
2 changes: 1 addition & 1 deletion packages/core/src/events/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ type BaseGroupTraits = DeepNullable<{
* This interface represents reserved traits that Segment has standardized.
* @link https://segment.com/docs/connections/spec/identify/#traits
*/
type BaseUserTraits = DeepNullable<{
export type BaseUserTraits = DeepNullable<{
/**
* Unique ID in your database for a user
*/
Expand Down