Skip to content

v1.0.0-beta.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Dec 11:20
· 15 commits to beta since this release
e225131

1.0.0-beta.6 (2024-12-03)

Features

  • return collections as arrays, generic primary identifiers (#135) (e225131)

BREAKING CHANGES

  • return collection as an array of objects instead of a map
  • rename primary identifier

The response types for the following endpoints have been changed from a map of objects to an array of objects:

  • /v0/holder/credentials
  • /v0/holder/offers
  • /v0/holder/presentations
  • /v0/connections
  • /v0/services
  • /v0/credentials
  • /v0/offers

Before

{
  {
    "credential_id": "bf766ebe-0a52-4531-ac24-88af1b854b55"
    ...
  }
}

After

[
  {
    "id": "bf766ebe-0a52-4531-ac24-88af1b854b55"
    ...
  }
]

Migration guide

  • Parse responses as lists instead of objects
  • Use the generic id property instead of having to search the response for the identifier