Skip to content

Commit

Permalink
backwards compatibility with organisation-wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
Fendy Putra committed Dec 19, 2023
1 parent 3da20dd commit 796344c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
## [1.3.2]

support `organisation-wallet` version `<=0.0.10`
add [-v --verbose] flags to `claim` - to print out credential to terminal

## [1.3.1] (2023.12.18)

Add support to call `claim` and `present` commands with `--url` or `-u` flag to accept url from stdin

## [1.3.0] (2023.12.18)

Add support for organisation-wallet v0.0.10
new format of payload for `/credential` endpoint
Add error messages on failing to fetch credential-offer or claiming credential

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ EXAMPLE FILES

# Meeco Organisation Wallet

Compatible version `<=0.0.10`
Compatible version `>=0.0.10`

## `meeco-wallet-cli create-credential-offer`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"prepare": "npm run build",
"version": "oclif readme && git add README.md"
},
"version": "1.3.1",
"version": "1.3.2",
"keywords": [
"oclif",
"sd-jwt",
Expand Down
2 changes: 2 additions & 0 deletions src/utils/openid/vci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ export function getCredentialInfo(credentials: Array<CredentialOfferDetails>, is
vct: credentialMetadata.credential_definition.vct as string,
},
format: credentialMetadata.format,
// backwards compatibility
types: [credentialMetadata.credential_definition.vct as string]
}
: {
format: credentialMetadata.format,
Expand Down

0 comments on commit 796344c

Please sign in to comment.