diff --git a/examples/test-app/CHANGELOG.md b/examples/test-app/CHANGELOG.md index 3e1e99a..ab1a48c 100644 --- a/examples/test-app/CHANGELOG.md +++ b/examples/test-app/CHANGELOG.md @@ -1,5 +1,12 @@ # test-app +## 1.0.22 + +### Patch Changes + +- Updated dependencies + - @parcnet-js/ticket-spec@1.1.8 + ## 1.0.21 ### Patch Changes diff --git a/examples/test-app/package.json b/examples/test-app/package.json index f116f8c..484234d 100644 --- a/examples/test-app/package.json +++ b/examples/test-app/package.json @@ -1,6 +1,6 @@ { "name": "test-app", - "version": "1.0.21", + "version": "1.0.22", "private": true, "type": "module", "scripts": { diff --git a/packages/ticket-spec/CHANGELOG.md b/packages/ticket-spec/CHANGELOG.md index 8a32e81..7c2f640 100644 --- a/packages/ticket-spec/CHANGELOG.md +++ b/packages/ticket-spec/CHANGELOG.md @@ -1,5 +1,11 @@ # @parcnet-js/ticket-spec +## 1.1.8 + +### Patch Changes + +- Support owner as 'FieldToReveal' and allow other unknown entries to be revealed + ## 1.1.7 ### Patch Changes diff --git a/packages/ticket-spec/package.json b/packages/ticket-spec/package.json index 5e56874..2fcab84 100644 --- a/packages/ticket-spec/package.json +++ b/packages/ticket-spec/package.json @@ -1,6 +1,6 @@ { "name": "@parcnet-js/ticket-spec", - "version": "1.1.7", + "version": "1.1.8", "license": "GPL-3.0-or-later", "type": "module", "main": "dist/index.js", diff --git a/packages/ticket-spec/src/ticket_proof_request.ts b/packages/ticket-spec/src/ticket_proof_request.ts index 1396251..c53e103 100644 --- a/packages/ticket-spec/src/ticket_proof_request.ts +++ b/packages/ticket-spec/src/ticket_proof_request.ts @@ -18,12 +18,12 @@ interface FieldsToReveal { ticketSecret: boolean; timestampConsumed: boolean; timestampSigned: boolean; - attendeeSemaphoreId: boolean; isConsumed: boolean; isRevoked: boolean; ticketCategory: boolean; attendeeName: boolean; attendeeEmail: boolean; + owner: boolean; } /** @@ -49,7 +49,7 @@ export type TicketClassificationTuples = export interface TicketProofRequest { classificationTuples: TicketClassificationTuples; - fieldsToReveal: Partial; + fieldsToReveal: Partial & Record; externalNullifier?: PODValue; watermark?: PODValue; }