Releases: animo/paradym-sdk-ts
Releases · animo/paradym-sdk-ts
Release 2.1.0
- feat: add mdoc presentation template (67148da)
Release 2.0.0
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
Release 1.2.0
- chore: bump (358beb1)
Release 1.0.2
Release 1.0.1
Release 1.0.0
Release 0.0.1-2
Release 0.0.1-1
Release 0.0.1-0
- package access to public (#11) (f47f95f)
- add alpha option in workflow release (#10) (8a2e8ab)
- add readme (#9) (310661f)
- fix: use default export for imports and rename client to paradym (#8) (1426c21)
- add release workflow (#6) (1fcdda8)
- test generated services (#5) (b03bbf6)
- rename Client class to Paradym & export default (#7) (7cf07e6)
- feat: add client with services (#4) (571ecdc)
- chore: add biomejs and hey-api, switch to pnpm (#3) (170f64b)
- feat: HMAC validation (#2) (d17cd28)
- update with anoncreds and didcomm (b8a348a)
- upates (bb40490)
- update (47c49b6)
- feat: Use .env for the generation (#1) (2f65d6b)
- reproduce bug (e2d8357)
- api test (b45835c)