Skip to content

Commit

Permalink
feat: expose methods and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
auer-martin committed Mar 16, 2024
1 parent 8a5c98f commit c138997
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export class AnonCredsProofFormatService implements ProofFormatService<AnonCreds
return supportedFormats.includes(formatIdentifier)
}

private async _getCredentialsForRequest(
public async _getCredentialsForRequest(
agentContext: AgentContext,
proofRequest: AnonCredsProofRequest,
options: AnonCredsGetCredentialsForProofRequestOptions
Expand Down
3 changes: 3 additions & 0 deletions packages/anoncreds/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ export {
fetchSchema,
fetchRevocationStatusList,
} from './utils/anonCredsObjects'

export { getAnonCredsTagsFromRecord, AnonCredsCredentialTags } from './utils/w3cAnonCredsUtils'
export { W3cAnonCredsCredentialMetadataKey } from './utils/metadata'
2 changes: 1 addition & 1 deletion packages/anoncreds/src/utils/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface W3cAnonCredsCredentialMetadata {
export const AnonCredsCredentialMetadataKey = '_anoncreds/credential'

/**
* Metadata key for strong metadata on an AnonCreds credential request.
* Metadata key for storing metadata on an AnonCreds credential request.
*
* MUST be used with {@link AnonCredsCredentialRequestMetadata}
*/
Expand Down

0 comments on commit c138997

Please sign in to comment.