docs(backend): note M2MToken timestamps are in milliseconds#9122
docs(backend): note M2MToken timestamps are in milliseconds#9122SarahSoutoul wants to merge 1 commit into
Conversation
Clarify in the `M2MToken` JSDoc that `expiration`, `createdAt`, and `updatedAt` are Unix timestamps in milliseconds (not seconds). The constructor already converts JWT `exp`/`iat` claims via `* 1000`, so the values are milliseconds; only the doc comments were ambiguous. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: ac6d46e The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughClarifies that ChangesM2M token timestamp documentation
Estimated code review effort: 1 (Trivial) | ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
Comment |
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
API Changes Report
Summary
No API Changes DetectedAll packages have stable APIs with no detected changes. Report generated by Break Check Last ran on |
Description
Clarify in the
M2MTokenJSDoc thatexpiration,createdAt, andupdatedAtare Unix timestamps in milliseconds (not seconds). The constructor already converts JWTexp/iatclaims via* 1000, so the values are milliseconds; only the doc comments were ambiguous.clerk-docsChecklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit
expiration,createdAt, andupdatedAttimestamps are Unix timestamps expressed in milliseconds.