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

Fix errors.

This commit is contained in:
ssallam 2020-01-19 10:41:12 +01:00
parent 6c25ec5bbd
commit aae8172993
2 changed files with 9 additions and 10 deletions

View File

@ -95,18 +95,17 @@ export class Keeper extends Instantiable {
} }
// Templates // Templates
keeper.instances.escrowAccessSecretStoreTemplate = new EscrowAccessSecretStoreTemplate( keeper.instances.escrowAccessSecretStoreTemplate = new EscrowAccessSecretStoreTemplate(
keeper.instances.templateStoreManager, keeper.templateStoreManager,
keeper.instances.agreementStoreManager, keeper.agreementStoreManager,
keeper.instances.didRegistry, keeper.didRegistry,
keeper.instances.conditions keeper.conditions
) )
keeper.instances.escrowComputeExecutionTemplate = new EscrowComputeExecutionTemplate( keeper.instances.escrowComputeExecutionTemplate = new EscrowComputeExecutionTemplate(
keeper.instances.templateStoreManager, keeper.templateStoreManager,
keeper.instances.agreementStoreManager, keeper.agreementStoreManager,
keeper.instances.didRegistry, keeper.didRegistry,
keeper.instances.conditions keeper.conditions
) )
// Conditions
keeper.templates = { keeper.templates = {
escrowAccessSecretStoreTemplate: escrowAccessSecretStoreTemplate:
keeper.instances.escrowAccessSecretStoreTemplate, keeper.instances.escrowAccessSecretStoreTemplate,

View File

@ -1,7 +1,7 @@
import { AgreementTemplateBase, Conditions } from './AgreementTemplateBase' import { AgreementTemplateBase, Conditions } from './AgreementTemplateBase'
import { escrowAccessServiceAgreementTemplate } from './EscrowAccess.serviceAgreementTemplate' import { escrowAccessServiceAgreementTemplate } from './EscrowAccess.serviceAgreementTemplate'
import { AgreementStoreManager, TemplateStoreManager } from '../managers' import { AgreementStoreManager, TemplateStoreManager } from '../managers'
import DIDRegistry from '../DIDRegistry'; import DIDRegistry from '../DIDRegistry'
export class EscrowAccessSecretStoreTemplate extends AgreementTemplateBase { export class EscrowAccessSecretStoreTemplate extends AgreementTemplateBase {