1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

small changes

This commit is contained in:
Pedro Gutiérrez 2019-02-08 12:03:05 +01:00 committed by Pedro Gutiérrez
parent c56989a710
commit 34745f3b66
2 changed files with 3 additions and 5 deletions

View File

@ -7,7 +7,7 @@
"dependencies": [
{
"name": "keeper-contracts",
"version": "~0.6.11"
"version": "~0.6.12"
},
{
"name": "brizo",

View File

@ -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)