@verdocs/js-sdk 5.0.26 → 5.0.28

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.d.mts CHANGED
@@ -715,7 +715,7 @@ interface IRecipient {
715
715
  /**
716
716
  * Details related to the active KBA session, if any.
717
717
  */
718
- kba_details?: any;
718
+ kba_details?: Record<TRecipientAuthMethod, "complete" | "failed" | "questions" | "differentiator"> | null;
719
719
  envelope?: IEnvelope;
720
720
  profile?: IProfile;
721
721
  }
@@ -967,7 +967,7 @@ type TEntitlement = "envelope" | "kba_auth" | "passcode_auth" | "sms_auth" | "kb
967
967
  * as prior addresses, phone numbers, etc. "ID" will require the recipient to perform full ID-based verification.
968
968
  */
969
969
  type TRecipientAuthMethod = "kba" | "passcode" | "sms" | "email" | "id";
970
- type TRecipientAuthStep = "complete" | null;
970
+ type TRecipientAuthStep = TRecipientAuthMethod | null;
971
971
  declare const FIELD_TYPES: TFieldType[];
972
972
  declare const DEFAULT_FIELD_WIDTHS: Record<TFieldType, number>;
973
973
  declare const DEFAULT_FIELD_HEIGHTS: Record<TFieldType, number>;
package/dist/index.d.ts CHANGED
@@ -715,7 +715,7 @@ interface IRecipient {
715
715
  /**
716
716
  * Details related to the active KBA session, if any.
717
717
  */
718
- kba_details?: any;
718
+ kba_details?: Record<TRecipientAuthMethod, "complete" | "failed" | "questions" | "differentiator"> | null;
719
719
  envelope?: IEnvelope;
720
720
  profile?: IProfile;
721
721
  }
@@ -967,7 +967,7 @@ type TEntitlement = "envelope" | "kba_auth" | "passcode_auth" | "sms_auth" | "kb
967
967
  * as prior addresses, phone numbers, etc. "ID" will require the recipient to perform full ID-based verification.
968
968
  */
969
969
  type TRecipientAuthMethod = "kba" | "passcode" | "sms" | "email" | "id";
970
- type TRecipientAuthStep = "complete" | null;
970
+ type TRecipientAuthStep = TRecipientAuthMethod | null;
971
971
  declare const FIELD_TYPES: TFieldType[];
972
972
  declare const DEFAULT_FIELD_WIDTHS: Record<TFieldType, number>;
973
973
  declare const DEFAULT_FIELD_HEIGHTS: Record<TFieldType, number>;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "5.0.26",
3
+ "version": "5.0.28",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Isomorphic JS/TS SDK providing types and API wrappers for the Verdocs platform for Node and browser clients",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "5.0.26",
3
+ "version": "5.0.28",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Isomorphic JS/TS SDK providing types and API wrappers for the Verdocs platform for Node and browser clients",