mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
naming
This commit is contained in:
parent
6d1abfb3ab
commit
8c4465eeb0
@ -95,7 +95,7 @@ export class Brizo extends Instantiable {
|
||||
return destination
|
||||
}
|
||||
|
||||
public async computeService(
|
||||
public async compute(
|
||||
method: string,
|
||||
serviceAgreementId: string,
|
||||
consumerAccount: Account,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user