@verdocs/js-sdk 5.0.21 → 5.0.22
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 +0 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -6
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -819,12 +819,6 @@ const decodeAccessTokenBody = (token) => {
|
|
|
819
819
|
catch (e) {
|
|
820
820
|
return null;
|
|
821
821
|
}
|
|
822
|
-
Object.keys(decoded).forEach((key) => {
|
|
823
|
-
if (typeof key === 'string' && key.startsWith('https://verdocs.com/')) {
|
|
824
|
-
decoded[key.replace('https://verdocs.com/', '')] = decoded[key];
|
|
825
|
-
delete decoded[key];
|
|
826
|
-
}
|
|
827
|
-
});
|
|
828
822
|
return decoded;
|
|
829
823
|
};
|
|
830
824
|
|