zudoku 0.1.1-dev.46 → 0.1.1-dev.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.
@@ -1,7 +1,7 @@
1
1
  const n = ({ clerkPubKey: t }) => {
2
2
  let e;
3
3
  const a = (async () => {
4
- const { Clerk: s } = await import("@clerk/clerk-js");
4
+ const { Clerk: s } = await import("./clerk-Wslx_mPo.js");
5
5
  e = new s(t), await e.load({}), e.load({});
6
6
  })();
7
7
  return {
@@ -347,13 +347,15 @@ const pm = ({
347
347
  children: [
348
348
  /* @__PURE__ */ g.jsxs("div", { className: "flex flex-col gap-1 text-sm", children: [
349
349
  o.description ?? o.id,
350
- o.createdOn && /* @__PURE__ */ g.jsxs("div", { className: "text-muted-foreground", children: [
351
- "Created on ",
352
- new Date(o.createdOn).toLocaleString()
353
- ] }),
354
- o.expiresOn && /* @__PURE__ */ g.jsxs("div", { className: "text-muted-foreground", children: [
355
- "Expires on ",
356
- new Date(o.expiresOn).toLocaleString()
350
+ /* @__PURE__ */ g.jsxs("div", { className: "text-muted-foreground text-xs", children: [
351
+ o.createdOn && /* @__PURE__ */ g.jsxs("div", { children: [
352
+ "Created on ",
353
+ new Date(o.createdOn).toLocaleDateString()
354
+ ] }),
355
+ o.expiresOn && /* @__PURE__ */ g.jsxs("div", { children: [
356
+ "Expires on ",
357
+ new Date(o.expiresOn).toLocaleDateString()
358
+ ] })
357
359
  ] })
358
360
  ] }),
359
361
  /* @__PURE__ */ g.jsx("div", { className: "items-center flex justify-center", children: /* @__PURE__ */ g.jsx(hm, { apiKey: o.key }) }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zudoku",
3
- "version": "0.1.1-dev.46",
3
+ "version": "0.1.1-dev.47",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -58,16 +58,18 @@ export const SettingsApiKeys = ({
58
58
  >
59
59
  <div className="flex flex-col gap-1 text-sm">
60
60
  {key.description ?? key.id}
61
- {key.createdOn && (
62
- <div className="text-muted-foreground">
63
- Created on {new Date(key.createdOn).toLocaleString()}
64
- </div>
65
- )}
66
- {key.expiresOn && (
67
- <div className="text-muted-foreground">
68
- Expires on {new Date(key.expiresOn).toLocaleString()}
69
- </div>
70
- )}
61
+ <div className="text-muted-foreground text-xs">
62
+ {key.createdOn && (
63
+ <div>
64
+ Created on {new Date(key.createdOn).toLocaleDateString()}
65
+ </div>
66
+ )}
67
+ {key.expiresOn && (
68
+ <div>
69
+ Expires on {new Date(key.expiresOn).toLocaleDateString()}
70
+ </div>
71
+ )}
72
+ </div>
71
73
  </div>
72
74
  <div className="items-center flex justify-center">
73
75
  <RevealApiKey apiKey={key.key} />