Skip to content

Releases: animo/paradym-sdk-ts

Release 2.1.0

28 Mar 09:39
Compare
Choose a tag to compare
  • feat: add mdoc presentation template (67148da)

Release 2.0.0

13 Mar 16:45
Compare
Choose a tag to compare

The v2.0 release of the Paradym SDK adds support for Trusted Entities API, and also updates the interface for the API methods.

Breaking Changes

Path params

Path params now need to be provided as an object under the path key to all methods of the SDK.

// Before 
const projectProfile = await client.projectProfile.getProfile({
  projectId: '<projectId>'
})

// After
const projectProfile = await client.projectProfile.getProfile({
  path: { 
    projectId: '<projectId>'
  }
})

Query params

Query params now need to be provided as an object under the query key to all methods of the SDK.

// Before
const projects = await client.projects.getAllProjects({
  sort: '-createdAt',
})

// After
const projects = await client.projects.getAllProjects({
  query: {
    sort: '-createdAt',
  },
})

Body

The request body now needs to be provided under the body key instead of the requestBody key.

// Before
const createdWebhook = await client.webhooks.createWebhook({
  projectId: '<projectId>',
  requestBody: {
    name: 'Test Webhook',
    url: 'https://example.com/webhook',
  },
})

// After
const createdWebhook = await client.webhooks.createWebhook({
  path: {
    projectId: '<projectId>',
  },
  body: {
    name: 'Test Webhook',
    url: 'https://example.com/webhook',
  },
})

Response

The response is now a nested object where data is the return value, and also includes the request and response.

// Before
const projects = await client.projects.getAllProjects()
console.log(projects.data) // logs the 'data' array returned by getAllProject

// After
const projects = await client.projects.getAllProjects()
console.log(projects.data.data) // logs the 'data' array returned by getAllProject

Release 1.3.0

12 Sep 20:17
Compare
Choose a tag to compare

Release 1.2.0

11 Sep 15:31
Compare
Choose a tag to compare

Release 1.0.2

11 Sep 15:14
Compare
Choose a tag to compare

Release 1.0.1

26 Jun 08:48
2ef2d44
Compare
Choose a tag to compare
  • rename didComm to didcomm in client (#20) (2ef2d44)

Release 1.0.0

24 Jun 10:56
428e4d1
Compare
Choose a tag to compare

Release 0.0.1-2

24 Jun 09:55
642bb76
Compare
Choose a tag to compare
Release 0.0.1-2 Pre-release
Pre-release

Release 0.0.1-1

12 Jun 09:59
41397d2
Compare
Choose a tag to compare
Release 0.0.1-1 Pre-release
Pre-release

Release 0.0.1-0

12 Jun 09:48
a1297a4
Compare
Choose a tag to compare
Release 0.0.1-0 Pre-release
Pre-release