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
keeper.instances.escrowAccessSecretStoreTemplate = new EscrowAccessSecretStoreTemplate(
keeper.instances.templateStoreManager,
keeper.instances.agreementStoreManager,
keeper.instances.didRegistry,
keeper.instances.conditions
keeper.templateStoreManager,
keeper.agreementStoreManager,
keeper.didRegistry,
keeper.conditions
)
keeper.instances.escrowComputeExecutionTemplate = new EscrowComputeExecutionTemplate(
keeper.instances.templateStoreManager,
keeper.instances.agreementStoreManager,
keeper.instances.didRegistry,
keeper.instances.conditions
keeper.templateStoreManager,
keeper.agreementStoreManager,
keeper.didRegistry,
keeper.conditions
)
// Conditions
keeper.templates = {
escrowAccessSecretStoreTemplate:
keeper.instances.escrowAccessSecretStoreTemplate,

View File

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