@verdocs/js-sdk 4.2.105 → 4.2.110
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -655,7 +655,7 @@ interface IRecipient {
|
|
|
655
655
|
* created from this template. For privacy reasons, this field will only be visible to the creator
|
|
656
656
|
* of the envelope and the recipient referenced.
|
|
657
657
|
*/
|
|
658
|
-
kba_method?: "pin" | "identity" | null;
|
|
658
|
+
kba_method?: "pin" | "identity" | "" | null;
|
|
659
659
|
/**
|
|
660
660
|
* If KBA is set to "PIN" this will be set to the PIN code required. For security reasons, this
|
|
661
661
|
* field will only be visible to the creator of the envelope.
|
|
@@ -711,7 +711,7 @@ interface IRole {
|
|
|
711
711
|
* If set, "KBA required" will carry through to automatically enable the same setting in Envelopes
|
|
712
712
|
* created from this template.
|
|
713
713
|
*/
|
|
714
|
-
kba_method: "pin" | "identity" | null;
|
|
714
|
+
kba_method: "pin" | "identity" | "" | null;
|
|
715
715
|
}
|
|
716
716
|
interface ISignature {
|
|
717
717
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -655,7 +655,7 @@ interface IRecipient {
|
|
|
655
655
|
* created from this template. For privacy reasons, this field will only be visible to the creator
|
|
656
656
|
* of the envelope and the recipient referenced.
|
|
657
657
|
*/
|
|
658
|
-
kba_method?: "pin" | "identity" | null;
|
|
658
|
+
kba_method?: "pin" | "identity" | "" | null;
|
|
659
659
|
/**
|
|
660
660
|
* If KBA is set to "PIN" this will be set to the PIN code required. For security reasons, this
|
|
661
661
|
* field will only be visible to the creator of the envelope.
|
|
@@ -711,7 +711,7 @@ interface IRole {
|
|
|
711
711
|
* If set, "KBA required" will carry through to automatically enable the same setting in Envelopes
|
|
712
712
|
* created from this template.
|
|
713
713
|
*/
|
|
714
|
-
kba_method: "pin" | "identity" | null;
|
|
714
|
+
kba_method: "pin" | "identity" | "" | null;
|
|
715
715
|
}
|
|
716
716
|
interface ISignature {
|
|
717
717
|
id: string;
|
package/dist/index.js
CHANGED
|
@@ -1343,7 +1343,10 @@ class VerdocsEndpoint {
|
|
|
1343
1343
|
this.profile = null;
|
|
1344
1344
|
this.sub = null;
|
|
1345
1345
|
window?.console?.warn('Unable to load profile', e);
|
|
1346
|
-
|
|
1346
|
+
// We can't clear the token verdocs-auth may be using temporarily during registration
|
|
1347
|
+
if (this.persist) {
|
|
1348
|
+
this.clearSession();
|
|
1349
|
+
}
|
|
1347
1350
|
});
|
|
1348
1351
|
}
|
|
1349
1352
|
else {
|