Skip to content

refactor(wallet): remove notify API + NEXT_PUBLIC_USER_API_KEY - #14

Merged
phucbm merged 1 commit into
previewfrom
refactor/remove-notify-api
Jun 5, 2026
Merged

refactor(wallet): remove notify API + NEXT_PUBLIC_USER_API_KEY#14
phucbm merged 1 commit into
previewfrom
refactor/remove-notify-api

Conversation

@phucbm

@phucbm phucbm commented Jun 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Drops deprecated user.openwallet.vn integration (notify service no longer maintained)
  • Removes NEXT_PUBLIC_USER_API_KEY / NEXT_PUBLIC_USER_API_URL — these were client-exposed security risk
  • Reminder toggles now local-only (IndexedDB), no remote sync
  • Removes test adapter button from notifications settings

Files deleted

  • lib/notify-api.ts — all remote reminder CRUD calls
  • lib/reminder-message.ts — message builder (only used by notify-api)

Test plan

  • Wallet app frozen behind WALLET_ENABLED gate — no regression risk on public site
  • TypeScript passes with no errors (pnpm tsc --noEmit)
  • Lint passes (pnpm lint)

🤖 Generated with Claude Code

Drop user.openwallet.vn integration — notify service deprecated.

- Delete lib/notify-api.ts and lib/reminder-message.ts
- Remove remoteId from CardNotificationConfig in lib/db.ts
- Simplify reminder toggles to local-only (IndexedDB)
- Remove test adapter button from settings/notifications
- Remove NEXT_PUBLIC_USER_API_KEY/URL from .env.example

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwallet Ready Ready Preview, Comment Jun 5, 2026 4:13am

@phucbm
phucbm merged commit e807946 into preview Jun 5, 2026
3 of 4 checks passed
@phucbm
phucbm deleted the refactor/remove-notify-api branch June 5, 2026 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant