@verdocs/js-sdk 3.6.7 → 3.6.8

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.
@@ -49,3 +49,4 @@ export declare const userCanAct: (email: string, recipientsWithActions: IRecipie
49
49
  * Returns true if the user can act.
50
50
  */
51
51
  export declare const userCanSignNow: (session: TSession, envelope: IEnvelope) => boolean | undefined;
52
+ export declare const getNextRecipient: (envelope: IEnvelope) => IRecipient;
@@ -75,3 +75,7 @@ export var userCanSignNow = function (session, envelope) {
75
75
  userIsEnvelopeRecipient(session, envelope) &&
76
76
  recipientCanAct(myRecipient, recipientsWithActions));
77
77
  };
78
+ export var getNextRecipient = function (envelope) {
79
+ var recipientsWithActions = getRecipientsWithActions(envelope);
80
+ return recipientsWithActions === null || recipientsWithActions === void 0 ? void 0 : recipientsWithActions[0];
81
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "3.6.7",
3
+ "version": "3.6.8",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Verdocs JS SDK",