v6.0.0
Major Changes
-
0feef7d: The Evervault Attestation Bindings have been removed as an external dependency including them instead as a plugin at runtime.
The attestation bindings now require an explicit opt-in. For customers that do not use Evervault Enclaves, there should be no change to how you use the SDK.
If you use Evervault Enclaves, you'll need to install the Attestation Bindings separately:
npm i @evervault/attestation-bindings
After installing the attestation bindings, you can use the existing
enableEnclavesfunction using the bindings as the second parameter:const Evervault = require('@evervault/sdk'); const attestationBindings = require('@evervault/attestation-bindings'); const evervault = new Evervault('app_id', 'api_key'); await evervault.enableEnclaves( { 'my-enclave': { // attestation measures... }, }, attestationBindings );