Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0041: implement renderer plugin #79

Merged

Conversation

namhoang1604
Copy link
Contributor

@namhoang1604 namhoang1604 commented May 30, 2023

Description

This pull request implements the Renderer Plugin, which introduces the renderCredential method to the agent API. The renderCredential method enables rendering of verifiable credentials by extracting the necessary data from the expanded JSON-LD format, then based on the @type to select the renderer provider to render the credential subject.

Related Issue(s)

Checklist

  • The code follows the project's coding style guidelines.
  • All unit tests pass successfully.
  • Any new dependencies are properly documented.
  • The documentation is updated to reflect the changes (if applicable).
  • The code has been reviewed by at least one other team member.

@namhoang1604 namhoang1604 marked this pull request as ready for review May 31, 2023 08:45
@namhoang1604 namhoang1604 force-pushed the feat/rfc-0041-implement-renderer-plugin branch from 71d8797 to 8327c15 Compare June 3, 2023 08:08
packages/renderer/README.md Outdated Show resolved Hide resolved
packages/renderer/package.json Show resolved Hide resolved
{
"name": "@vckit/renderer",
"version": "1.0.0-beta.2",
"description": "To render the verifiable credentials.",
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: explain more

@namhoang1604 namhoang1604 self-assigned this Jun 9, 2023
jest.config.mjs Outdated Show resolved Hide resolved
jest.config.mjs Outdated Show resolved Hide resolved
@arpentnoir arpentnoir merged commit 59e7e2b into uncefact:main Jun 13, 2023
@namhoang1604 namhoang1604 deleted the feat/rfc-0041-implement-renderer-plugin branch June 21, 2023 03:47
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.

3 participants