fix(convex): rename identity-signing to identitySigning#2630
Conversation
…lows hyphens in module paths)
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Greptile SummaryThis PR fixes a Convex deployment blocker by renaming Confidence Score: 5/5Safe to merge — purely a rename fix with no logic changes and all import paths correctly updated. All three changed files are straightforward: an identical file rename and two single-line import updates. The only finding is a P2 cosmetic stale log prefix string, which has no impact on runtime behavior. No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant Client
participant checkout.ts
participant identitySigning.ts
participant DodoPayments
participant subscriptionHelpers.ts
Client->>checkout.ts: createCheckout(productId, returnUrl, ...)
checkout.ts->>checkout.ts: requireUserId(ctx)
checkout.ts->>identitySigning.ts: signUserId(userId)
identitySigning.ts-->>checkout.ts: HMAC-SHA256 hex signature
checkout.ts->>DodoPayments: checkout({ metadata: { wm_user_id, wm_user_id_sig } })
DodoPayments-->>Client: checkout_url
Note over DodoPayments,subscriptionHelpers.ts: Webhook callback
DodoPayments->>subscriptionHelpers.ts: processWebhookEvent(payload)
subscriptionHelpers.ts->>identitySigning.ts: verifyUserId(wm_user_id, wm_user_id_sig)
identitySigning.ts-->>subscriptionHelpers.ts: true / false
subscriptionHelpers.ts->>subscriptionHelpers.ts: upsertEntitlements(userId, planKey, ...)
|
Convex module paths cannot contain hyphens — only alphanumeric characters, underscores, or periods. The
convex/lib/identity-signing.tsfile added in #2024 blocked deployment with:Changes:
convex/lib/identity-signing.ts→convex/lib/identitySigning.tsconvex/payments/checkout.tsandconvex/payments/subscriptionHelpers.tsConvex has been deployed successfully with this fix.