Skip to content

Feat/nuance#247

Merged
dDevAhmed merged 2 commits into
DigiNodes:mainfrom
nafsonig:feat/nuance
May 30, 2026
Merged

Feat/nuance#247
dDevAhmed merged 2 commits into
DigiNodes:mainfrom
nafsonig:feat/nuance

Conversation

@nafsonig
Copy link
Copy Markdown
Contributor

What I changed

  • Exported the NonceRecord interface in auth.service.ts.
  • Added tests in auth.service.spec.ts covering:
    • NonceRecord uses camelCase (nonce, createdAt).
    • Expired nonces are cleaned up by cleanupNonces().
    • Single-use and case-insensitive login flow deletes the nonce and returns a token.

Files modified

  • auth.service.ts — exported NonceRecord.
  • auth.service.spec.ts — new unit tests.

Run tests locally

  • Install deps and run Jest:
npm install
npm test -- src/auth/auth.service.spec.ts

Would you like me to run the test suite here and iterate on any failures?

Completed: Refine and implement Auth NonceRecord field names (4/4)

Made changes.

Closes #196

@dDevAhmed
Copy link
Copy Markdown
Contributor

resolve conflicts @nafsonig

@nafsonig
Copy link
Copy Markdown
Contributor Author

Conflict resolved @dDevAhmed

@dDevAhmed dDevAhmed merged commit 3137755 into DigiNodes:main May 30, 2026
4 of 5 checks passed
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.

Auth NonceRecord field names

2 participants