@scalar/api-client 2.3.18 → 2.3.20

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  3. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +132 -120
  4. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  5. package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
  6. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +138 -125
  7. package/dist/components/ImportCollection/utils/import-collection.d.ts.map +1 -1
  8. package/dist/components/ImportCollection/utils/import-collection.js +17 -14
  9. package/dist/hooks/useClientConfig.d.ts +3 -3
  10. package/dist/hooks/useClientConfig.d.ts.map +1 -1
  11. package/dist/layouts/App/create-api-client-app.d.ts +16 -19
  12. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  13. package/dist/layouts/App/create-api-client-app.js +10 -8
  14. package/dist/layouts/Modal/create-api-client-modal.d.ts +32 -38
  15. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  16. package/dist/layouts/Web/create-api-client-web.d.ts +16 -19
  17. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  18. package/dist/libs/create-client.d.ts +16 -19
  19. package/dist/libs/create-client.d.ts.map +1 -1
  20. package/dist/store/active-entities.d.ts +1 -1
  21. package/dist/store/active-entities.d.ts.map +1 -1
  22. package/dist/store/import-spec.d.ts +1 -1
  23. package/dist/store/import-spec.d.ts.map +1 -1
  24. package/dist/store/import-spec.js +7 -6
  25. package/dist/store/store.d.ts +16 -19
  26. package/dist/store/store.d.ts.map +1 -1
  27. package/dist/store/workspace.d.ts +10 -10
  28. package/dist/store/workspace.d.ts.map +1 -1
  29. package/dist/style.css +1 -1
  30. package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -1
  31. package/dist/views/Collection/CollectionAuthentication.vue.js +2 -2
  32. package/dist/views/Collection/CollectionAuthentication.vue2.js +22 -19
  33. package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -1
  34. package/dist/views/Collection/CollectionSettings.vue.js +1 -1
  35. package/dist/views/Collection/CollectionSettings.vue2.js +1 -1
  36. package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +1 -1
  37. package/dist/views/Collection/components/MarkdownInput.vue.js +2 -2
  38. package/dist/views/Collection/components/MarkdownInput.vue2.js +11 -11
  39. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  40. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +2 -2
  41. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +29 -30
  42. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  43. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +3 -3
  44. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +33 -32
  45. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  46. package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
  47. package/dist/views/Request/RequestSection/RequestBody.vue2.js +129 -126
  48. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
  49. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +1 -1
  50. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  51. package/dist/views/Request/RequestSidebarItem.vue.js +3 -3
  52. package/dist/views/Request/RequestSidebarItem.vue2.js +235 -241
  53. package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts.map +1 -1
  54. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +12 -12
  55. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +2 -2
  56. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +1 -1
  57. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  58. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
  59. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +9 -9
  60. package/dist/views/Request/hooks/useOpenApiWatcher.js +34 -34
  61. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
  62. package/dist/views/Settings/SettingsGeneral.vue.js +2 -0
  63. package/package.json +11 -11
@@ -1 +1 @@
1
- {"version":3,"file":"RequestHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/RequestHeaders.vue"],"names":[],"mappings":"AAgFA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;;AAiLF,wBAOG"}
1
+ {"version":3,"file":"RequestHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/RequestHeaders.vue"],"names":[],"mappings":"AAgFA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;;AAgLF,wBAOG"}
@@ -1,14 +1,14 @@
1
- import { defineComponent as y, openBlock as r, createBlock as f, withCtx as e, createTextVNode as n, createElementBlock as l, createVNode as a, unref as u, Fragment as i, renderList as b, toDisplayString as c } from "vue";
2
- import g from "../../../components/DataTable/DataTable.vue.js";
1
+ import { defineComponent as y, openBlock as r, createBlock as f, withCtx as e, createTextVNode as n, createElementBlock as l, createVNode as a, unref as d, Fragment as i, renderList as g, toDisplayString as c } from "vue";
2
+ import k from "../../../components/DataTable/DataTable.vue.js";
3
3
  import p from "../../../components/DataTable/DataTableRow.vue.js";
4
4
  import _ from "../../../components/DataTable/DataTableText.vue.js";
5
- import k from "../../../components/HelpfulLink.vue.js";
6
- import w from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
5
+ import w from "../../../components/HelpfulLink.vue.js";
6
+ import b from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
7
  import { httpHeaders as h } from "../../../data/httpHeaders.js";
8
8
  import x from "../../../components/DataTable/DataTableHeader.vue.js";
9
9
  const H = {
10
10
  key: 0,
11
- class: "max-h-[calc(100%-32px)] overflow-y-auto border-t"
11
+ class: "max-h-[calc(100%-32px)] overflow-y-auto"
12
12
  }, C = {
13
13
  key: 1,
14
14
  class: "text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-sm"
@@ -21,7 +21,7 @@ const H = {
21
21
  const m = (s) => h.find(
22
22
  (t) => t.name.toLowerCase() === s.toLowerCase()
23
23
  );
24
- return (s, t) => (r(), f(w, {
24
+ return (s, t) => (r(), f(b, {
25
25
  class: "overflow-auto",
26
26
  defaultOpen: !1,
27
27
  itemCount: s.headers.length
@@ -31,20 +31,20 @@ const H = {
31
31
  ])),
32
32
  default: e(() => [
33
33
  s.headers.length ? (r(), l("div", H, [
34
- a(g, {
34
+ a(k, {
35
35
  columns: ["minmax(auto, min-content)", "minmax(50%, 1fr)"],
36
36
  scroll: ""
37
37
  }, {
38
38
  default: e(() => [
39
39
  a(p, { class: "sr-only !block" }, {
40
40
  default: e(() => [
41
- a(u(x), null, {
41
+ a(d(x), null, {
42
42
  default: e(() => t[1] || (t[1] = [
43
43
  n("Header Key")
44
44
  ])),
45
45
  _: 1
46
46
  }),
47
- a(u(x), null, {
47
+ a(d(x), null, {
48
48
  default: e(() => t[2] || (t[2] = [
49
49
  n("Header Value")
50
50
  ])),
@@ -53,16 +53,16 @@ const H = {
53
53
  ]),
54
54
  _: 1
55
55
  }),
56
- (r(!0), l(i, null, b(s.headers, (o) => (r(), f(p, {
56
+ (r(!0), l(i, null, g(s.headers, (o) => (r(), f(p, {
57
57
  key: o.name,
58
58
  class: "group/row text-c-1"
59
59
  }, {
60
60
  default: e(() => [
61
61
  a(_, { class: "z-1 bg-b-1 sticky left-0 max-w-48 group-first/row:border-t-0" }, {
62
62
  default: e(() => {
63
- var d;
63
+ var u;
64
64
  return [
65
- typeof ((d = m(o.name)) == null ? void 0 : d.url) == "string" ? (r(), f(k, {
65
+ typeof ((u = m(o.name)) == null ? void 0 : u.url) == "string" ? (r(), f(w, {
66
66
  key: 0,
67
67
  class: "decoration-c-3",
68
68
  href: m(o.name).url
@@ -1,7 +1,7 @@
1
1
  import o from "./ResponseBody.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-233b510c"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1e73a183"]]);
5
5
  export {
6
- e as default
6
+ s as default
7
7
  };
@@ -10,7 +10,7 @@ import { mediaTypes as q } from "../consts/mediaTypes.js";
10
10
  const z = {
11
11
  key: 0,
12
12
  class: "bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden"
13
- }, A = { class: "flex min-h-8 items-center justify-between border-y px-3 py-1.5" }, G = { class: "text-xxs font-code leading-3" }, Y = /* @__PURE__ */ C({
13
+ }, A = { class: "box-content flex min-h-8 items-center justify-between border-y px-3" }, G = { class: "text-xxs font-code leading-3" }, Y = /* @__PURE__ */ C({
14
14
  __name: "ResponseBody",
15
15
  props: {
16
16
  title: {},
@@ -34,7 +34,7 @@ const W = { class: "col-1 flex-center relative gap-6 p-2 capitalize" }, $ = {
34
34
  }));
35
35
  }, k = (o) => {
36
36
  o != null && o.createNew && x.name === "request" && f();
37
- }, w = "2.3.18";
37
+ }, w = "2.3.20";
38
38
  return R(() => a.hotKeys.on(k)), v(() => a.hotKeys.off(k)), (o, e) => (l(), u("div", W, [
39
39
  s("div", {
40
40
  class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseHeaders.vue"],"names":[],"mappings":"AAgFA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;;AAiLF,wBAOG"}
1
+ {"version":3,"file":"ResponseHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseHeaders.vue"],"names":[],"mappings":"AAgFA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;;AAgLF,wBAOG"}
@@ -1,14 +1,14 @@
1
- import { defineComponent as y, openBlock as t, createBlock as f, withCtx as e, createTextVNode as n, createElementBlock as l, createVNode as a, unref as u, Fragment as i, renderList as b, toDisplayString as p } from "vue";
2
- import g from "../../../components/DataTable/DataTable.vue.js";
1
+ import { defineComponent as y, openBlock as t, createBlock as f, withCtx as e, createTextVNode as n, createElementBlock as l, createVNode as a, unref as u, Fragment as i, renderList as g, toDisplayString as p } from "vue";
2
+ import k from "../../../components/DataTable/DataTable.vue.js";
3
3
  import c from "../../../components/DataTable/DataTableRow.vue.js";
4
4
  import _ from "../../../components/DataTable/DataTableText.vue.js";
5
- import k from "../../../components/HelpfulLink.vue.js";
6
- import w from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
5
+ import w from "../../../components/HelpfulLink.vue.js";
6
+ import b from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
7
  import { httpHeaders as h } from "../../../data/httpHeaders.js";
8
8
  import x from "../../../components/DataTable/DataTableHeader.vue.js";
9
9
  const H = {
10
10
  key: 0,
11
- class: "max-h-[calc(100%-32px)] overflow-y-auto border-t"
11
+ class: "max-h-[calc(100%-32px)] overflow-y-auto"
12
12
  }, C = {
13
13
  key: 1,
14
14
  class: "text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-sm"
@@ -21,7 +21,7 @@ const H = {
21
21
  const m = (s) => h.find(
22
22
  (r) => r.name.toLowerCase() === s.toLowerCase()
23
23
  );
24
- return (s, r) => (t(), f(w, {
24
+ return (s, r) => (t(), f(b, {
25
25
  class: "overflow-auto",
26
26
  defaultOpen: !1,
27
27
  itemCount: s.headers.length
@@ -31,7 +31,7 @@ const H = {
31
31
  ])),
32
32
  default: e(() => [
33
33
  s.headers.length ? (t(), l("div", H, [
34
- a(g, {
34
+ a(k, {
35
35
  columns: ["minmax(auto, min-content)", "minmax(50%, 1fr)"],
36
36
  scroll: ""
37
37
  }, {
@@ -53,7 +53,7 @@ const H = {
53
53
  ]),
54
54
  _: 1
55
55
  }),
56
- (t(!0), l(i, null, b(s.headers, (o) => (t(), f(c, {
56
+ (t(!0), l(i, null, g(s.headers, (o) => (t(), f(c, {
57
57
  key: o.name,
58
58
  class: "group/row text-c-1"
59
59
  }, {
@@ -62,7 +62,7 @@ const H = {
62
62
  default: e(() => {
63
63
  var d;
64
64
  return [
65
- typeof ((d = m(o.name)) == null ? void 0 : d.url) == "string" ? (t(), f(k, {
65
+ typeof ((d = m(o.name)) == null ? void 0 : d.url) == "string" ? (t(), f(w, {
66
66
  key: 0,
67
67
  class: "decoration-c-3",
68
68
  href: m(o.name).url
@@ -1,51 +1,51 @@
1
- import { useActiveEntities as D } from "../../../store/active-entities.js";
2
- import { specDictionary as f } from "../../../store/import-spec.js";
3
- import { combineRenameDiffs as R, mutateCollectionDiff as d, mutateSecuritySchemeDiff as g, mutateServerDiff as S, mutateTagDiff as T, mutateRequestDiff as M } from "../libs/watch-mode.js";
1
+ import { useActiveEntities as d } from "../../../store/active-entities.js";
2
+ import { specDictionary as p } from "../../../store/import-spec.js";
3
+ import { combineRenameDiffs as g, mutateCollectionDiff as S, mutateSecuritySchemeDiff as T, mutateServerDiff as U, mutateTagDiff as x, mutateRequestDiff as M } from "../libs/watch-mode.js";
4
4
  import { fetchDocument as I, createHash as C } from "@scalar/oas-utils/helpers";
5
- import { parseSchema as O } from "@scalar/oas-utils/transforms";
5
+ import { parseSchema as w } from "@scalar/oas-utils/transforms";
6
6
  import { useToasts as L } from "@scalar/use-toasts";
7
7
  import { useTimeoutPoll as N } from "@vueuse/core";
8
- import U from "microdiff";
9
- import { watch as b } from "vue";
10
- import { useWorkspace as P } from "../../../store/store.js";
11
- const k = 5 * 1e3, q = 60 * 1e3, J = () => {
12
- const { toast: h } = L(), c = D(), o = P(), { activeCollection: s, activeWorkspace: W } = c, { collectionMutators: n } = o, a = (e) => h(`[useOpenApiWatcher] Changes to the ${e} were not applied`, "error"), w = (e) => {
13
- e.path[0] === "info" || e.path[0] === "security" ? d(e, c, o) || a("collection") : e.path[0] === "components" && e.path[1] === "securitySchemes" ? g(e, c, o) || a("securitySchemes") : e.path[0] === "servers" ? S(e, c, o) || a("servers") : e.path[0] === "tags" ? T(e, c, o) || a("tags") : e.path[0] === "paths" && (M(e, c, o) || a("requests"));
14
- }, { pause: p, resume: m } = N(async () => {
15
- var l, v;
16
- const e = (l = s.value) == null ? void 0 : l.documentUrl;
8
+ import b from "microdiff";
9
+ import { watch as P } from "vue";
10
+ import { useWorkspace as k } from "../../../store/store.js";
11
+ const q = 5 * 1e3, G = 60 * 1e3, Q = () => {
12
+ const { toast: h } = L(), c = d(), o = k(), { activeCollection: s, activeWorkspace: n } = c, { collectionMutators: u } = o, r = (e) => h(`[useOpenApiWatcher] Changes to the ${e} were not applied`, "error"), A = (e) => {
13
+ e.path[0] === "info" || e.path[0] === "security" ? S(e, c, o) || r("collection") : e.path[0] === "components" && e.path[1] === "securitySchemes" ? T(e, c, o) || r("securitySchemes") : e.path[0] === "servers" ? U(e, c, o) || r("servers") : e.path[0] === "tags" ? x(e, c, o) || r("tags") : e.path[0] === "paths" && (M(e, c, o) || r("requests"));
14
+ }, { pause: l, resume: m } = N(async () => {
15
+ var v, y, O, W;
16
+ const e = (v = s.value) == null ? void 0 : v.documentUrl;
17
17
  if (!e)
18
18
  return;
19
- const t = f[e];
19
+ const t = p[e];
20
20
  try {
21
- const i = await I(e, (v = W.value) == null ? void 0 : v.proxyUrl, !1), u = C(i);
22
- if (n.edit(s.value.uid, "watchModeStatus", "WATCHING"), t != null && t.hash)
23
- if (t.hash && t.hash !== u) {
24
- const { schema: r } = await O(i), A = U(t.schema, r), y = R(A);
21
+ const a = await I(e, (y = n.value) == null ? void 0 : y.proxyUrl, !1), f = C(a);
22
+ if (u.edit(s.value.uid, "watchModeStatus", "WATCHING"), t != null && t.hash)
23
+ if (t.hash && t.hash !== f) {
24
+ const { schema: i } = await w(a, { proxyUrl: (W = n.value) == null ? void 0 : W.proxyUrl }), E = b(t.schema, i), D = g(E);
25
25
  try {
26
- y.forEach(w), f[e] = {
27
- hash: u,
28
- schema: r
26
+ D.forEach(A), p[e] = {
27
+ hash: f,
28
+ schema: i
29
29
  };
30
- } catch (E) {
31
- console.error("[useOpenApiWatcher] Error:", E);
30
+ } catch (R) {
31
+ console.error("[useOpenApiWatcher] Error:", R);
32
32
  }
33
33
  } else
34
34
  console.log("[useOpenApiWatcher] No changes detected yet…");
35
35
  else {
36
- const { schema: r } = await O(i);
37
- r && (f[e] = {
38
- hash: u,
39
- schema: r
36
+ const { schema: i } = await w(a, { proxyUrl: (O = n.value) == null ? void 0 : O.proxyUrl });
37
+ i && (p[e] = {
38
+ hash: f,
39
+ schema: i
40
40
  });
41
41
  }
42
- } catch (i) {
43
- console.error("[useOpenApiWatcher] Error:", i), console.info("[useOpenApiWatcher] Pausing watcher for 60 seconds"), p(), n.edit(s.value.uid, "watchModeStatus", "ERROR"), h("[useOpenApiWatcher] Unable to fetch the spec file, paused the watcher for 60 seconds", "error"), setTimeout(() => {
42
+ } catch (a) {
43
+ console.error("[useOpenApiWatcher] Error:", a), console.info("[useOpenApiWatcher] Pausing watcher for 60 seconds"), l(), u.edit(s.value.uid, "watchModeStatus", "ERROR"), h("[useOpenApiWatcher] Unable to fetch the spec file, paused the watcher for 60 seconds", "error"), setTimeout(() => {
44
44
  console.info("[useOpenApiWatcher] Resuming watcher"), m();
45
- }, q);
45
+ }, G);
46
46
  }
47
- }, k);
48
- b(
47
+ }, q);
48
+ P(
49
49
  [() => {
50
50
  var e;
51
51
  return (e = s.value) == null ? void 0 : e.documentUrl;
@@ -54,11 +54,11 @@ const k = 5 * 1e3, q = 60 * 1e3, J = () => {
54
54
  return (e = s.value) == null ? void 0 : e.watchMode;
55
55
  }],
56
56
  ([e, t]) => {
57
- e && t ? (console.info(`[useOpenApiWatcher] Watching ${e} …`), m()) : s.value && (p(), n.edit(s.value.uid, "watchModeStatus", "IDLE"));
57
+ e && t ? (console.info(`[useOpenApiWatcher] Watching ${e} …`), m()) : s.value && (l(), u.edit(s.value.uid, "watchModeStatus", "IDLE"));
58
58
  },
59
59
  { immediate: !0 }
60
60
  );
61
61
  };
62
62
  export {
63
- J as useOpenApiWatcher
63
+ Q as useOpenApiWatcher
64
64
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsGeneral.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Settings/SettingsGeneral.vue"],"names":[],"mappings":";AA22BA,wBAMG"}
1
+ {"version":3,"file":"SettingsGeneral.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Settings/SettingsGeneral.vue"],"names":[],"mappings":";AA+2BA,wBAMG"}
@@ -20,6 +20,7 @@ const D = { class: "bg-b-1 h-full w-full overflow-auto" }, G = { class: "ml-auto
20
20
  "kepler"
21
21
  // 'mars',
22
22
  // 'deepSpace',
23
+ // 'laserwave',
23
24
  ], N = ["elysiajs", "fastify"], _ = (x) => ({
24
25
  default: { light: "#fff", dark: "#0f0f0f", accent: "#0099ff" },
25
26
  alternate: { light: "#f9f9f9", dark: "#131313", accent: "#e7e7e7" },
@@ -31,6 +32,7 @@ const D = { class: "bg-b-1 h-full w-full overflow-auto" }, G = { class: "ml-auto
31
32
  kepler: { light: "#f6f6f6", dark: "#0d0f1e", accent: "#7070ff" },
32
33
  mars: { light: "#f2efe8", dark: "#321116", accent: "#c75549" },
33
34
  deepSpace: { light: "#f4f4f5", dark: "#09090b", accent: "#8ab4f8" },
35
+ laserwave: { light: "#f4f2f7", dark: "#27212e", accent: "#ed78c2" },
34
36
  none: { light: "#ffffff", dark: "#000000", accent: "#3b82f6" }
35
37
  })[x] || { light: "#ffffff", dark: "#000000", accent: "#3b82f6" }, T = (x) => {
36
38
  var t;
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.3.18",
21
+ "version": "2.3.20",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -189,20 +189,20 @@
189
189
  "whatwg-mimetype": "^4.0.0",
190
190
  "yaml": "^2.4.5",
191
191
  "zod": "^3.23.8",
192
- "@scalar/components": "0.13.47",
193
- "@scalar/icons": "0.1.3",
194
192
  "@scalar/draggable": "0.1.11",
195
- "@scalar/import": "0.3.13",
193
+ "@scalar/icons": "0.1.3",
194
+ "@scalar/components": "0.13.48",
195
+ "@scalar/openapi-parser": "0.10.15",
196
+ "@scalar/oas-utils": "0.2.131",
197
+ "@scalar/import": "0.3.14",
196
198
  "@scalar/object-utils": "1.1.13",
197
- "@scalar/oas-utils": "0.2.130",
198
199
  "@scalar/openapi-types": "0.2.0",
199
- "@scalar/postman-to-openapi": "0.2.3",
200
- "@scalar/themes": "0.9.86",
200
+ "@scalar/postman-to-openapi": "0.2.4",
201
201
  "@scalar/snippetz": "0.2.19",
202
- "@scalar/types": "0.1.7",
203
- "@scalar/openapi-parser": "0.10.14",
204
- "@scalar/use-codemirror": "0.11.92",
205
- "@scalar/use-hooks": "0.1.40",
202
+ "@scalar/themes": "0.10.0",
203
+ "@scalar/types": "0.1.8",
204
+ "@scalar/use-hooks": "0.1.41",
205
+ "@scalar/use-codemirror": "0.11.93",
206
206
  "@scalar/use-toasts": "0.7.9",
207
207
  "@scalar/use-tooltip": "1.0.6"
208
208
  },