dhiway / cord.js

Cord JS API
Apache License 2.0
36 stars 48 forks source link

Allow building presentation with multiple VCs #116

Closed Prashant-Mutnale closed 4 months ago

Prashant-Mutnale commented 1 year ago

The document.createPresentation() takes the fields as string array, instead it should take it as object and option to tell which VC it wants the fields from. Sample

{
  “fields”: [ 
      { “k”: “email”, “v”: [ “did1”, “did2” ] }, 
      { “k”: “name”, “v”: [ “did1”, “did2”, “aadhaarDid”, “panDid” ] }, 
      { “k”: “company”, “v”: [ “self” ] },
      { “k”: “event”, “v”: [] }
] 
}
Ris-code commented 4 months ago

Hello @Prashant-Mutnale , Could you please elaborate on this issue a bit? Need some more clarity on this issue.

Prashant-Mutnale commented 4 months ago

Hello @Prashant-Mutnale , Could you please elaborate on this issue a bit? Need some more clarity on this issue.

The VC export is been take out now. Thanks @Ris-code