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

fix lint issues

This commit is contained in:
Sebastian Gerske 2019-08-29 09:02:39 +02:00
parent dfdbaa53b6
commit e8e3296be0
3 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,8 @@ export class EventHandler extends Instantiable {
get count() {
return this.events.size
}
private events = new Set<(blockNumber) => void>()
private lastBlock: number
private interval = 200

View File

@ -44,6 +44,8 @@ export abstract class AgreementTemplate extends ContractBase {
timeOuts: number[],
...args: any[]
)
public createAgreement(
agreementId: string,
did: string,

View File

@ -155,10 +155,12 @@ export class OceanAgreements extends Instantiable {
agreementId: string,
extended?: false
): Promise<{ [condition: string]: ConditionState }>
public async status(
agreementId: string,
extended: true
): Promise<AgreementConditionsStatus>
public async status(agreementId: string, extended: boolean = false) {
const {
templateId