diff --git a/library.json b/library.json index 15ab110..3a990ce 100644 --- a/library.json +++ b/library.json @@ -7,7 +7,7 @@ "dependencies": [ { "name": "keeper-contracts", - "version": "~0.6.11" + "version": "~0.6.12" }, { "name": "brizo", diff --git a/src/ocean/OceanAssets.ts b/src/ocean/OceanAssets.ts index f9e6d32..b0e418f 100644 --- a/src/ocean/OceanAssets.ts +++ b/src/ocean/OceanAssets.ts @@ -66,10 +66,8 @@ export default class OceanAssets { const computeServiceDefintionId: string = "1" const metadataServiceDefinitionId: string = "2" - metadata.base.encryptedFiles = [ - await SecretStoreProvider.getSecretStore() - .encryptDocument(did.getId(), metadata.base.files), - ] + metadata.base.encryptedFiles = await SecretStoreProvider.getSecretStore() + .encryptDocument(did.getId(), metadata.base.files) const template = new Access() const serviceAgreementTemplate = new ServiceAgreementTemplate(template)