@bluemarble/bm-components 1.10.5 → 1.11.1
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3922,13 +3922,14 @@ function BaseGrid({
|
|
|
3922
3922
|
var _a;
|
|
3923
3923
|
return /* @__PURE__ */ React20.createElement(
|
|
3924
3924
|
TableCell4,
|
|
3925
|
-
{
|
|
3925
|
+
__spreadProps(__spreadValues({
|
|
3926
3926
|
key: column.name,
|
|
3927
|
-
padding: dense ? "none" : "normal"
|
|
3927
|
+
padding: dense ? "none" : "normal"
|
|
3928
|
+
}, column.props), {
|
|
3928
3929
|
sx: __spreadValues({
|
|
3929
3930
|
pl: 2
|
|
3930
3931
|
}, column == null ? void 0 : column.sx)
|
|
3931
|
-
},
|
|
3932
|
+
}),
|
|
3932
3933
|
column.children ? column.children : /* @__PURE__ */ React20.createElement(
|
|
3933
3934
|
TableSortLabel2,
|
|
3934
3935
|
__spreadProps(__spreadValues({
|
|
@@ -4516,8 +4517,9 @@ var AuthHelper = class {
|
|
|
4516
4517
|
const userId = String(req.user);
|
|
4517
4518
|
const refreshToken = parseCookies({ req })[this.cookies.refreshToken];
|
|
4518
4519
|
if (!refreshToken) {
|
|
4519
|
-
|
|
4520
|
-
|
|
4520
|
+
this.invalidateCookies(res);
|
|
4521
|
+
return res.status(400).json({
|
|
4522
|
+
error: "Refresh Token inv\xE1lido"
|
|
4521
4523
|
});
|
|
4522
4524
|
}
|
|
4523
4525
|
const isValidRefreshToken = yield this.onValidateRefreshToken(
|
|
@@ -4525,7 +4527,8 @@ var AuthHelper = class {
|
|
|
4525
4527
|
refreshToken
|
|
4526
4528
|
);
|
|
4527
4529
|
if (!isValidRefreshToken) {
|
|
4528
|
-
|
|
4530
|
+
this.invalidateCookies(res);
|
|
4531
|
+
return res.status(400).json({
|
|
4529
4532
|
error: "Refresh Token inv\xE1lido"
|
|
4530
4533
|
});
|
|
4531
4534
|
}
|