Skip to content

Commit

Permalink
fix: jsonld credential format identifier version (#1412)
Browse files Browse the repository at this point in the history
  • Loading branch information
NB-MikeRichardson authored Apr 3, 2023
1 parent d9cfc7d commit c46a6b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ describeSkipNode17And18('credentials, BBS+ signature', () => {
formats: [
{
attach_id: expect.any(String),
format: 'aries/ld-proof-vc@1.0',
format: 'aries/ld-proof-vc@v1.0',
},
],
'credentials~attach': [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { CredentialFormatSpec } from '../../models/CredentialFormatSpec'
import { JsonLdCredentialDetail } from './JsonLdCredentialDetail'

const JSONLD_VC_DETAIL = 'aries/[email protected]'
const JSONLD_VC = 'aries/ld-proof-vc@1.0'
const JSONLD_VC = 'aries/ld-proof-vc@v1.0'

export class JsonLdCredentialFormatService implements CredentialFormatService<JsonLdCredentialFormat> {
public readonly formatKey = 'jsonld' as const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ describe('JsonLd CredentialFormatService', () => {
})
expect(format).toMatchObject({
attachmentId: expect.any(String),
format: 'aries/ld-proof-vc@1.0',
format: 'aries/ld-proof-vc@v1.0',
})
})
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ describe('V2 Credentials - JSON-LD - Ed25519', () => {
formats: [
{
attach_id: expect.any(String),
format: 'aries/ld-proof-vc@1.0',
format: 'aries/ld-proof-vc@v1.0',
},
],
'credentials~attach': [
Expand Down Expand Up @@ -593,7 +593,7 @@ describe('V2 Credentials - JSON-LD - Ed25519', () => {
},
{
attach_id: expect.any(String),
format: 'aries/ld-proof-vc@1.0',
format: 'aries/ld-proof-vc@v1.0',
},
],
'credentials~attach': [
Expand Down

0 comments on commit c46a6b8

Please sign in to comment.