Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CodeExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ cat > marketplace.js
Install dependencies running the following command in your terminal:

```bash
npm install @oceanprotocol/lib crypto-js ethers@5.7.2 typescript @types/node ts-node
npm install @oceanprotocol/lib crypto-js ethers
```

## 4. Import dependencies and add variables and constants
Expand Down
2 changes: 1 addition & 1 deletion ComputeExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ node dist/compute.js
Install dependencies running the following command in your terminal:

```bash
npm install @oceanprotocol/lib crypto-js ethers@5.7.2 typescript @types/node ts-node
npm install @oceanprotocol/lib crypto-js ethers
```

## 4. Import dependencies and add variables, constants and helper methods
Expand Down
5 changes: 5 additions & 0 deletions src/@types/Compute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ export interface ComputeJob {
agreementId?: string
expireTimestamp: number
metadata?: ComputeJobMetadata
terminationDetails?: {
exitCode?: number
OOMKilled?: boolean
}
}

export interface ComputeOutput {
Expand Down Expand Up @@ -203,6 +207,7 @@ export interface ComputeAlgorithm {
transferTxId?: string
algocustomdata?: { [key: string]: any }
userdata?: { [key: string]: any }
envs?: { [key: string]: string }
}

export interface ComputePayment {
Expand Down