@oceanprotocol/lib 3.3.1 → 3.3.3-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -20
- package/ComputeExamples.md +4 -1
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +1 -1
- package/dist/lib.modern.js +1 -1
- package/dist/lib.modern.js.map +1 -1
- package/dist/lib.module.js +1 -1
- package/dist/lib.module.js.map +1 -1
- package/dist/lib.umd.js +1 -1
- package/dist/lib.umd.js.map +1 -1
- package/docs/classes/Provider.md +5 -4
- package/package.json +1 -1
package/docs/classes/Provider.md
CHANGED
|
@@ -128,9 +128,9 @@ ___
|
|
|
128
128
|
|
|
129
129
|
### computeStatus
|
|
130
130
|
|
|
131
|
-
▸ **computeStatus**(`providerUri`, `consumerAddress`, `jobId?`, `
|
|
131
|
+
▸ **computeStatus**(`providerUri`, `consumerAddress`, `jobId?`, `agreementId?`, `signal?`): `Promise`<[`ComputeJob`](../interfaces/ComputeJob.md) \| [`ComputeJob`](../interfaces/ComputeJob.md)[]\>
|
|
132
132
|
|
|
133
|
-
Get compute status for a specific jobId/
|
|
133
|
+
Get compute status for a specific jobId/agreementId/owner.
|
|
134
134
|
|
|
135
135
|
#### Parameters
|
|
136
136
|
|
|
@@ -139,7 +139,7 @@ Get compute status for a specific jobId/documentId/owner.
|
|
|
139
139
|
| `providerUri` | `string` | The URI of the provider we want to query |
|
|
140
140
|
| `consumerAddress` | `string` | The consumer ethereum address |
|
|
141
141
|
| `jobId?` | `string` | The ID of a compute job. |
|
|
142
|
-
| `
|
|
142
|
+
| `agreementId?` | `string` | The ID of service agreement |
|
|
143
143
|
| `signal?` | `AbortSignal` | abort signal |
|
|
144
144
|
|
|
145
145
|
#### Returns
|
|
@@ -154,7 +154,7 @@ ___
|
|
|
154
154
|
|
|
155
155
|
### computeStop
|
|
156
156
|
|
|
157
|
-
▸ **computeStop**(`did`, `consumerAddress`, `jobId`, `providerUri`, `signer`, `signal?`): `Promise`<[`ComputeJob`](../interfaces/ComputeJob.md) \| [`ComputeJob`](../interfaces/ComputeJob.md)[]\>
|
|
157
|
+
▸ **computeStop**(`did`, `consumerAddress`, `jobId`, `providerUri`, `signer`, `signal?`, `agreementId?`): `Promise`<[`ComputeJob`](../interfaces/ComputeJob.md) \| [`ComputeJob`](../interfaces/ComputeJob.md)[]\>
|
|
158
158
|
|
|
159
159
|
Instruct the provider to Stop the execution of a to stop a compute job.
|
|
160
160
|
|
|
@@ -168,6 +168,7 @@ Instruct the provider to Stop the execution of a to stop a compute job.
|
|
|
168
168
|
| `providerUri` | `string` | The provider URI. |
|
|
169
169
|
| `signer` | `Signer` | The consumer signer object. |
|
|
170
170
|
| `signal?` | `AbortSignal` | abort signal |
|
|
171
|
+
| `agreementId?` | `string` | service agreement id |
|
|
171
172
|
|
|
172
173
|
#### Returns
|
|
173
174
|
|
package/package.json
CHANGED