wallaby-cash 1.7.16 → 1.7.17
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.cjs.js +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4815,9 +4815,10 @@ var Base = /** @class */ (function () {
|
|
|
4815
4815
|
'x-client-jwt': this.clientAuthToken,
|
|
4816
4816
|
};
|
|
4817
4817
|
if (requiresAccessToken && this.userId) {
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4818
|
+
// TODO: Add this validation back.
|
|
4819
|
+
// if (!isTest && (!accessToken || jwtHasExpired(accessToken))) {
|
|
4820
|
+
// throw new Error('Access token has expired, please sign in to continue.');
|
|
4821
|
+
// }
|
|
4821
4822
|
headers = __assign(__assign({}, headers), { Authorization: 'Bearer ' + accessToken });
|
|
4822
4823
|
}
|
|
4823
4824
|
return [2 /*return*/, headers];
|