@pageproof/sdk-pr 370.0.1632371047949 → 370.0.1632711448246
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
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## 2.0.0-beta.176
|
|
5
|
+
|
|
6
|
+
Released on the 27th of September 2021.
|
|
7
|
+
|
|
8
|
+
- [[#370](https://github.com/PageProofCom/sdk/pull/370)] Add support for specifying a due date on each step of a workflow.
|
|
9
|
+
- [[#370](https://github.com/PageProofCom/sdk/pull/370)] Add support for retrieving proof workflow metrics.
|
|
10
|
+
|
|
4
11
|
## 2.0.0-beta.175
|
|
5
12
|
|
|
6
13
|
Released on the 10th of August 2021.
|
package/lib/api/Proofs.d.ts
CHANGED
|
@@ -544,6 +544,7 @@ declare class Proofs extends API {
|
|
|
544
544
|
* @example <caption>Get the metrics of the workflow attached to a proof.</caption>
|
|
545
545
|
* const workflowMetrics = await client.proofs.getWorkflowMetrics('PP5731OT4O5G8JVE');
|
|
546
546
|
*
|
|
547
|
+
* @since v2.0.0-beta.176
|
|
547
548
|
* @param {string} proofId
|
|
548
549
|
* @returns {Promise<WorkflowMetrics|null>}
|
|
549
550
|
*/
|
|
@@ -40,6 +40,7 @@ declare class WorkflowsSteps extends API {
|
|
|
40
40
|
* @example <caption>Update step name</caption>
|
|
41
41
|
* await client.workflows.steps.update('SNYVBJVGDG0EVKBB', {title: 'New Title'});
|
|
42
42
|
*
|
|
43
|
+
* @since v2.0.0-beta.176
|
|
43
44
|
* @param {string} stepId The workflow step id of one step to be updated
|
|
44
45
|
* @param {object} options
|
|
45
46
|
* @param {string} [options.title] The new title
|
package/lib/models/Proof.d.ts
CHANGED