@cripty2001/utils 0.0.46 → 0.0.47

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.
@@ -47,7 +47,6 @@ class Appserver {
47
47
  return (0, msgpack_1.decode)(req.body);
48
48
  }
49
49
  catch (e) {
50
- console.log(e);
51
50
  throw new AppserverError('REQUEST_INVALID_BODY', 'Request body is not valid msgpack', 400);
52
51
  }
53
52
  })();
@@ -25,7 +25,8 @@ function LoggerReactDisplay() {
25
25
  }
26
26
  };
27
27
  const relTs = (0, react_whispr_1.useRelTime)();
28
- return ((0, jsx_runtime_1.jsx)("div", { className: "fixed bottom-0 right-0 w-full z-50 p-4 rounded ", children: (0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-2 items-center w-full justify-center", children: messages
28
+ return ((0, jsx_runtime_1.jsx)("div", { className: "fixed bottom-0 right-0 w-full z-50 p-4 rounded ", children: (0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-2 items-center w-full justify-center", children: [...messages]
29
+ .reverse()
29
30
  .slice(0, 3)
30
31
  .map((message) => ((0, jsx_runtime_1.jsxs)("div", { className: `p-2 rounded shadow-md text-white ng-black w-full max-w-prose cursor-pointer`, onClick: message.dismiss, style: {
31
32
  backgroundColor: getColor(message.severity)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {