Skip to content

Conversation

@ankitshubham97
Copy link
Contributor

Pull Request Description

The current Audit interface in src/types.ts of the Fireblocks SDK is missing two crucial fields: userId and eventKey. However, these fields are present in the actual response payload returned by the getPaginatedAuditLogs method. This discrepancy causes type mismatches or loss of type safety when consuming audit log responses. This PR adds the missing userId and eventKey fields to the Audit interface to align the SDK typings with the actual API response and enable proper type-safe usage.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Ran build command and used the new custom SDK in my Express app. Works fine now and I do not see the compile-time error. I am using Typescript in the Express app.

  • Locally tested against Fireblocks API

Checklist:

  • I have performed a self-review of my own code
  • Any dependent changes have been merged and published in downstream modules
  • I have added corresponding labels to the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant