components dir holds all reusable components across interactions
flows dir specific interaction flows
service_agent
added support for requesting types specified in CredentialOfferCustom
added support for issuing multiple credentials in genericOffer
Maybe out of scope, but what do you think
(since generator functions are used to terminate and resume functions at will we can make cred offer tokens exchange pretty clean, but this will require some sort of a middleware to be able to pass generator functions execution context):
const issuerCredentailsIter = issueCredentialsMaker();
issueCredentialsMaker.next(); // server: sends to the client credentialsOfferRequest
issueCredentialsMaker.next(selectedTypes) // client: sends back to the server credentialOfferResponse
const signedCredentials = issueCredentialsMaker.next(); // server: sends to the client credentialOfferReceive
Changelog:
components
dir holds all reusable components across interactionsflows
dir specific interaction flowsservice_agent
CredentialOfferCustom
Maybe out of scope, but what do you think
(since generator functions are used to terminate and resume functions at will we can make cred offer tokens exchange pretty clean, but this will require some sort of a middleware to be able to pass generator functions execution context):
const issuerCredentailsIter = issueCredentialsMaker(); issueCredentialsMaker.next(); // server: sends to the client credentialsOfferRequest issueCredentialsMaker.next(selectedTypes) // client: sends back to the server credentialOfferResponse const signedCredentials = issueCredentialsMaker.next(); // server: sends to the client credentialOfferReceive