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:
parent
dfdbaa53b6
commit
e8e3296be0
@ -7,6 +7,8 @@ export class EventHandler extends Instantiable {
|
|||||||
get count() {
|
get count() {
|
||||||
return this.events.size
|
return this.events.size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private events = new Set<(blockNumber) => void>()
|
private events = new Set<(blockNumber) => void>()
|
||||||
private lastBlock: number
|
private lastBlock: number
|
||||||
private interval = 200
|
private interval = 200
|
||||||
|
@ -44,6 +44,8 @@ export abstract class AgreementTemplate extends ContractBase {
|
|||||||
timeOuts: number[],
|
timeOuts: number[],
|
||||||
...args: any[]
|
...args: any[]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
public createAgreement(
|
public createAgreement(
|
||||||
agreementId: string,
|
agreementId: string,
|
||||||
did: string,
|
did: string,
|
||||||
|
@ -155,10 +155,12 @@ export class OceanAgreements extends Instantiable {
|
|||||||
agreementId: string,
|
agreementId: string,
|
||||||
extended?: false
|
extended?: false
|
||||||
): Promise<{ [condition: string]: ConditionState }>
|
): Promise<{ [condition: string]: ConditionState }>
|
||||||
|
|
||||||
public async status(
|
public async status(
|
||||||
agreementId: string,
|
agreementId: string,
|
||||||
extended: true
|
extended: true
|
||||||
): Promise<AgreementConditionsStatus>
|
): Promise<AgreementConditionsStatus>
|
||||||
|
|
||||||
public async status(agreementId: string, extended: boolean = false) {
|
public async status(agreementId: string, extended: boolean = false) {
|
||||||
const {
|
const {
|
||||||
templateId
|
templateId
|
||||||
|
Loading…
Reference in New Issue
Block a user