Skip to content

feat: add extras support to user.identify - #26

Merged
edubkendo merged 2 commits into
masterfrom
feat/add-extras-to-identify
Jul 14, 2026
Merged

feat: add extras support to user.identify#26
edubkendo merged 2 commits into
masterfrom
feat/add-extras-to-identify

Conversation

@edubkendo

@edubkendo edubkendo commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Description

Add optional extras.createdAt and extras.updateOnly to user.identify, mirroring the events/track extras pattern. The SDK maps camelCase fields to API snake_case (created_at, update_only) and defaults created_at to the current time when omitted.

  • Add sendUserIdentifyRequest() parallel to sendEventTrackRequest()
  • Extend UserIdentifyRequest with extras type definitions
  • Add Node and browser tests for default and explicit extras

Related docs: getvero/mint-docs (feat/add-extras-to-identify)
Related API: getvero/api@0b2a2d9

Related PRs

Checklist

  • My PR represents one logical piece of work
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

@edubkendo
edubkendo requested a review from Yihao-G July 9, 2026 21:58
Comment thread src/tracker.ts Outdated
Comment thread src/tracker.ts Outdated
Comment thread src/tracker.test.ts
@edubkendo
edubkendo force-pushed the feat/add-extras-to-identify branch 2 times, most recently from 943a94c to 5caa1d5 Compare July 10, 2026 18:53
@edubkendo
edubkendo requested a review from Yihao-G July 10, 2026 19:05
Add optional extras.createdAt and extras.updateOnly to user.identify,
mirroring the events/track extras pattern. The SDK maps camelCase fields
to API snake_case (created_at, update_only) and defaults created_at to
the current time when omitted.

- Add sendUserIdentifyRequest() parallel to sendEventTrackRequest()
- Extend UserIdentifyRequest with extras type definitions
- Add Node and browser tests for default and explicit extras

Related docs: getvero/mint-docs (feat/add-extras-to-identify)
Related API: getvero/api@0b2a2d9

Co-authored-by: Cursor <cursoragent@cursor.com>
@edubkendo
edubkendo force-pushed the feat/add-extras-to-identify branch from 5caa1d5 to 48cb62a Compare July 10, 2026 19:11
…y value will not be included in the request body

Yihao-G commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Yihao-G Yihao-G left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. Thank you!

@edubkendo
edubkendo merged commit 77b3ea6 into master Jul 14, 2026
3 checks passed
@edubkendo
edubkendo deleted the feat/add-extras-to-identify branch July 14, 2026 18:44
github-actions Bot pushed a commit that referenced this pull request Aug 18, 2026
# [2.2.0](v2.1.0...v2.2.0) (2026-08-18)

### Features

* add extras support to user.identify ([#26](#26)) ([77b3ea6](77b3ea6))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants