@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.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 {
|