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