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
|
return destination
|
||||||
}
|
}
|
||||||
|
|
||||||
public async computeService(
|
public async compute(
|
||||||
method: string,
|
method: string,
|
||||||
serviceAgreementId: string,
|
serviceAgreementId: string,
|
||||||
consumerAccount: Account,
|
consumerAccount: Account,
|
||||||
|
@ -67,7 +67,7 @@ export class OceanCompute extends Instantiable {
|
|||||||
algorithmDid?: string,
|
algorithmDid?: string,
|
||||||
algorithmMeta?: MetaData
|
algorithmMeta?: MetaData
|
||||||
): Promise<ComputeJobStatus> {
|
): Promise<ComputeJobStatus> {
|
||||||
const status = await this.ocean.brizo.computeService(
|
const status = await this.ocean.brizo.compute(
|
||||||
'post',
|
'post',
|
||||||
agreementId,
|
agreementId,
|
||||||
consumerAccount,
|
consumerAccount,
|
||||||
@ -90,7 +90,7 @@ export class OceanCompute extends Instantiable {
|
|||||||
agreementId: string,
|
agreementId: string,
|
||||||
jobId: string
|
jobId: string
|
||||||
): Promise<ComputeJobStatus> {
|
): Promise<ComputeJobStatus> {
|
||||||
const status = await this.ocean.brizo.computeService(
|
const status = await this.ocean.brizo.compute(
|
||||||
'put',
|
'put',
|
||||||
agreementId,
|
agreementId,
|
||||||
consumerAccount,
|
consumerAccount,
|
||||||
@ -112,7 +112,7 @@ export class OceanCompute extends Instantiable {
|
|||||||
agreementId: string,
|
agreementId: string,
|
||||||
jobId: string
|
jobId: string
|
||||||
): Promise<ComputeJobStatus> {
|
): Promise<ComputeJobStatus> {
|
||||||
const status = await this.ocean.brizo.computeService(
|
const status = await this.ocean.brizo.compute(
|
||||||
'delete',
|
'delete',
|
||||||
agreementId,
|
agreementId,
|
||||||
consumerAccount,
|
consumerAccount,
|
||||||
@ -151,7 +151,7 @@ export class OceanCompute extends Instantiable {
|
|||||||
agreementId?: string,
|
agreementId?: string,
|
||||||
jobId?: string
|
jobId?: string
|
||||||
): Promise<ComputeJobStatus[]> {
|
): Promise<ComputeJobStatus[]> {
|
||||||
const status = await this.ocean.brizo.computeService(
|
const status = await this.ocean.brizo.compute(
|
||||||
'get',
|
'get',
|
||||||
agreementId,
|
agreementId,
|
||||||
consumerAccount,
|
consumerAccount,
|
||||||
@ -173,7 +173,7 @@ export class OceanCompute extends Instantiable {
|
|||||||
agreementId: string,
|
agreementId: string,
|
||||||
jobId: string
|
jobId: string
|
||||||
): Promise<DDO> {
|
): Promise<DDO> {
|
||||||
const status = await this.ocean.brizo.computeService(
|
const status = await this.ocean.brizo.compute(
|
||||||
'get',
|
'get',
|
||||||
agreementId,
|
agreementId,
|
||||||
consumerAccount,
|
consumerAccount,
|
||||||
|
Loading…
Reference in New Issue
Block a user