Gift Badges: A few tweaks

This commit is contained in:
Scott Nonnenberg
2022-05-16 12:54:38 -07:00
committed by GitHub
parent 0a0b5a7bfe
commit a114e4e210
11 changed files with 134 additions and 124 deletions

View File

@@ -249,6 +249,7 @@ export function processGiftBadge(
return {
expiration: timestamp + Number(receipt.getReceiptExpirationTime()),
id: undefined,
level: Number(receipt.getReceiptLevel()),
receiptCredentialPresentation: Bytes.toBase64(
giftBadge.receiptCredentialPresentation