@verdocs/js-sdk 5.0.22 → 5.0.23

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/dist/index.mjs CHANGED
@@ -1823,7 +1823,7 @@ const createInitials = (endpoint, name, initials) => {
1823
1823
  * Get the current KBA status. Note that this may only be called by the recipient and requires a
1824
1824
  * valid signing session to proceed. Although the Recipient object itself contains indications of
1825
1825
  * whether KBA is required, it will not contain the current status of the process. If
1826
- * `recipient.kba_method` is set (not null), and `recipient.kba_completed` is false, this endpoint
1826
+ * `recipient.auth_methods` is set (not empty), and `recipient.kba_completed` is false, this endpoint
1827
1827
  * should be called to determine the next KBA step required.
1828
1828
  */
1829
1829
  const getKbaStep = (endpoint, envelope_id, role_name) => endpoint.api //
@@ -3119,7 +3119,6 @@ const userCanPreviewTemplate = (profile, template) => {
3119
3119
  * @apiBody integer(min: 1, default: 1) sequence? Optional 1-based sequence number for the role. Roles that share the same sequence number act in parallel, and will receive invitations at the same time.
3120
3120
  * @apiBody integer(min: 1, default: 1) order? Optional 1-based order number for the role. Controls the left-to-right display order of roles at the same sequence number in the UI components e.g. `<verdocs-template-roles />`.
3121
3121
  * @apiBody boolean delegator? If true, the role may delegate their signing responsibility to another party.
3122
- * @apiBody string(enum:'pin'|'identity'|'') kba_method? Active PIN- or Identity-based KBA for the role. NOTE: Some KBA operations may incur additional fees.
3123
3122
  * @apiSuccess IRole . The newly-created role
3124
3123
  */
3125
3124
  const createTemplateRole = (endpoint, template_id, params) => endpoint.api //