@verdocs/js-sdk 4.2.105 → 4.2.106
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.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.mjs
CHANGED
|
@@ -1341,7 +1341,10 @@ class VerdocsEndpoint {
|
|
|
1341
1341
|
this.profile = null;
|
|
1342
1342
|
this.sub = null;
|
|
1343
1343
|
window?.console?.warn('Unable to load profile', e);
|
|
1344
|
-
|
|
1344
|
+
// We can't clear the token verdocs-auth may be using temporarily during registration
|
|
1345
|
+
if (this.persist) {
|
|
1346
|
+
this.clearSession();
|
|
1347
|
+
}
|
|
1345
1348
|
});
|
|
1346
1349
|
}
|
|
1347
1350
|
else {
|