Skip to content

Commit

Permalink
removing type in get required claims method
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyoontbd committed Jan 23, 2024
1 parent eae295f commit 025b95d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/protocol/src/resource-kinds/offering.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { ResourceKindModel, ResourceMetadata } from '../types.js'
import { Resource } from '../resource.js'
import type { PresentationDefinitionV2 } from '@web5/credentials'

/**
* Options passed to {@link Offering.create}
Expand Down Expand Up @@ -66,9 +65,7 @@ export class Offering extends Resource<'offering'> {
}

/** Articulates the claim(s) required when submitting an RFQ for this offering. */
// TODO: Remove type annotation once type alias replaced with direct export in @web5/credentials
// [Link to the PR](https://github.com/TBD54566975/web5-js/pull/336)
get requiredClaims(): PresentationDefinitionV2 | undefined {
get requiredClaims() {
return this.data.requiredClaims
}
}

0 comments on commit 025b95d

Please sign in to comment.