|
|
@ -142,7 +142,7 @@ export interface GiveVerifiableCredential extends GenericVerifiableCredential { |
|
|
|
identifier?: string; |
|
|
|
image?: string; |
|
|
|
object?: { amountOfThisGood: number; unitCode: string }; |
|
|
|
provider?: Array<GenericVerifiableCredential>; // typically @type & identifier
|
|
|
|
provider?: GenericVerifiableCredential; // typically @type & identifier
|
|
|
|
recipient?: { identifier: string }; |
|
|
|
} |
|
|
|
|
|
|
@ -654,7 +654,7 @@ export function hydrateGive( |
|
|
|
vcClaim.image = imageUrl || undefined; |
|
|
|
|
|
|
|
vcClaim.provider = providerPlanHandleId |
|
|
|
? [{ "@type": "PlanAction", identifier: providerPlanHandleId }] |
|
|
|
? { "@type": "PlanAction", identifier: providerPlanHandleId } |
|
|
|
: undefined; |
|
|
|
|
|
|
|
return vcClaim; |
|
|
|