@evervault/sdk
Advanced tools
Changelog
5.1.2
Changelog
5.1.0
Changelog
5.0.0
172eb04: Deprecating intercept and ignore domains
You can now use the enableOutboundRelay()
method to enable outbound relay. For more details check out https://docs.evervault.com/sdks/nodejs#enableoutboundrelay()
e42fddd: Simplifying errors thrown by the SDK.
Previously we exposed many different error types for users to handle, but in most cases these errors were not something that could be caught and handled, but were rather indicative of a larger configuration issue. This change simplifies the errors thrown by returning an EvervaultError with accompanying error message by default, unless they are a transient error which can be handled programmatically, in which case a specific error is returned.
d03a72e: We have released a new API for Function run requests which is more robust, more extensible, and which provides more useful error messages when Function runs fail. This change migrates all Function run requests to the new API. In addition, we have removed the encryptAndRun
method, async Function run requests, and specifying version of Function to run. For more details check out https://docs.evervault.com/sdks/nodejs#run()
dc30edd: The encrypt
function has been enhanced to accept an optional Data Role. This role, once specified, is associated with the data upon encryption. Data Roles can be created in the Evervault Dashboard (Data Roles section) and provide a mechanism for setting clear rules that dictate how and when data, tagged with that role, can be decrypted. For more details check out https://docs.evervault.com/sdks/nodejs#encrypt()
evervault.encrypt('hello world!', 'allow-all');
4ea79de: Add support for using Data Roles when encrypting files with the encrypt
function.
72d6786: Cage PCR Provider: publish new PCRs to public source which SDKs can pull from for attestation