1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
This commit is contained in:
Matthias Kretschmann 2020-01-22 10:01:04 +01:00
parent 6d1abfb3ab
commit 8c4465eeb0
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 6 additions and 6 deletions

View File

@ -95,7 +95,7 @@ export class Brizo extends Instantiable {
return destination
}
public async computeService(
public async compute(
method: string,
serviceAgreementId: string,
consumerAccount: Account,

View File

@ -67,7 +67,7 @@ export class OceanCompute extends Instantiable {
algorithmDid?: string,
algorithmMeta?: MetaData
): Promise<ComputeJobStatus> {
const status = await this.ocean.brizo.computeService(
const status = await this.ocean.brizo.compute(
'post',
agreementId,
consumerAccount,
@ -90,7 +90,7 @@ export class OceanCompute extends Instantiable {
agreementId: string,
jobId: string
): Promise<ComputeJobStatus> {
const status = await this.ocean.brizo.computeService(
const status = await this.ocean.brizo.compute(
'put',
agreementId,
consumerAccount,
@ -112,7 +112,7 @@ export class OceanCompute extends Instantiable {
agreementId: string,
jobId: string
): Promise<ComputeJobStatus> {
const status = await this.ocean.brizo.computeService(
const status = await this.ocean.brizo.compute(
'delete',
agreementId,
consumerAccount,
@ -151,7 +151,7 @@ export class OceanCompute extends Instantiable {
agreementId?: string,
jobId?: string
): Promise<ComputeJobStatus[]> {
const status = await this.ocean.brizo.computeService(
const status = await this.ocean.brizo.compute(
'get',
agreementId,
consumerAccount,
@ -173,7 +173,7 @@ export class OceanCompute extends Instantiable {
agreementId: string,
jobId: string
): Promise<DDO> {
const status = await this.ocean.brizo.computeService(
const status = await this.ocean.brizo.compute(
'get',
agreementId,
consumerAccount,