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

Add access to suite context via suite instance #148

Open
dlongley opened this issue Jun 29, 2021 · 0 comments
Open

Add access to suite context via suite instance #148

dlongley opened this issue Jun 29, 2021 · 0 comments

Comments

@dlongley
Copy link
Member

Modern suite instances expose their context as a class member like this:

https://github.com/digitalbazaar/ed25519-signature-2020/blob/72e1c39dccd15c78bdc292d891a852d5bb6c9679/lib/Ed25519Signature2020.js#L212-L213

If this were exposed on the suite instance then, in some cases, a document loader could be auto-generated to load the required context.

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

No branches or pull requests

1 participant