We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
body
createKey
In the example https://www.npmjs.com/package/@ibm-cloud/ibm-key-protect the type of body is an object:
const body = { metadata: { collectionType: 'application/vnd.ibm.kms.key+json', collectionTotal: 1, }, resources: [ { type: 'application/vnd.ibm.kms.key+json', name: 'nodejsKey', extractable: false, }, ], };
But the TS type for the payload (https://github.com/IBM/keyprotect-nodejs-client/blob/master/ibm-key-protect-api/v2.ts#L2447) says:
NodeJS.ReadableStream|Buffer
This does not match and it makes it hard to use the API in TS.
The text was updated successfully, but these errors were encountered:
Thanks for pointing out the issue, we will provide a fix in the future release.
Sorry, something went wrong.
No branches or pull requests
In the example https://www.npmjs.com/package/@ibm-cloud/ibm-key-protect the type of
body
is an object:But the TS type for the payload (https://github.com/IBM/keyprotect-nodejs-client/blob/master/ibm-key-protect-api/v2.ts#L2447) says:
This does not match and it makes it hard to use the API in TS.
The text was updated successfully, but these errors were encountered: