@scalar/api-client 2.1.50 → 2.1.52

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 (33) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +1 -1
  3. package/dist/components/IconSelector.vue.js +2 -2
  4. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  5. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  6. package/dist/components/Sidebar/Sidebar.vue2.js +37 -39
  7. package/dist/layouts/App/create-api-client-app.d.ts +1 -0
  8. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  9. package/dist/layouts/Modal/create-api-client-modal.d.ts +2 -0
  10. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  11. package/dist/layouts/Web/create-api-client-web.d.ts +1 -0
  12. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  13. package/dist/libs/create-client.d.ts +2 -0
  14. package/dist/libs/create-client.d.ts.map +1 -1
  15. package/dist/libs/create-client.js +102 -86
  16. package/dist/libs/send-request.d.ts +1 -4
  17. package/dist/libs/send-request.d.ts.map +1 -1
  18. package/dist/libs/send-request.js +107 -104
  19. package/dist/libs/string-template.d.ts.map +1 -1
  20. package/dist/libs/string-template.js +23 -22
  21. package/dist/style.css +1 -1
  22. package/dist/views/Request/Request.vue.js +1 -1
  23. package/dist/views/Request/Request.vue2.js +26 -26
  24. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  25. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +27 -27
  26. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  27. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  28. package/dist/views/Request/RequestSidebar.vue2.js +2 -2
  29. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  30. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +2 -2
  31. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +35 -15
  32. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  33. package/package.json +10 -10
@@ -1,7 +1,7 @@
1
1
  import o from "./Request.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b089a05e"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5ec872aa"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, ref as R, computed as N, watch as X, onMounted as Y, onBeforeUnmount as Z, openBlock as w, createElementBlock as _, Fragment as ee, createElementVNode as te, normalizeClass as V, unref as a, createVNode as c, withCtx as B, createBlock as g, createCommentVNode as I } from "vue";
1
+ import { defineComponent as P, ref as R, computed as V, watch as X, onMounted as Y, onBeforeUnmount as Z, openBlock as b, createElementBlock as _, Fragment as ee, createElementVNode as te, normalizeClass as B, unref as a, createVNode as c, withCtx as N, createBlock as g, createCommentVNode as I } from "vue";
2
2
  import oe from "../../components/ImportCurl/ImportCurlModal.vue.js";
3
3
  import re from "../../components/ViewLayout/ViewLayout.vue.js";
4
4
  import se from "../../components/ViewLayout/ViewLayoutContent.vue.js";
@@ -9,8 +9,8 @@ import ne from "./RequestSubpageHeader.vue.js";
9
9
  import ie from "./ResponseSection/ResponseSection.vue.js";
10
10
  import { useOpenApiWatcher as me } from "./hooks/useOpenApiWatcher.js";
11
11
  import { safeJSON as ce } from "@scalar/object-utils/parse";
12
- import { useToasts as de } from "@scalar/use-toasts";
13
- import { useMediaQuery as ve } from "@vueuse/core";
12
+ import { useBreakpoints as de } from "@scalar/use-hooks/useBreakpoints";
13
+ import { useToasts as ve } from "@scalar/use-toasts";
14
14
  import { useRouter as pe } from "vue-router";
15
15
  import fe from "./RequestSidebar.vue.js";
16
16
  import { ERRORS as ye } from "../../libs/errors.js";
@@ -20,10 +20,10 @@ const Ae = /* @__PURE__ */ P({
20
20
  emits: ["newTab"],
21
21
  setup(Se) {
22
22
  var E;
23
- const M = Re(), { toast: b } = de(), {
23
+ const T = Re(), { toast: w } = ve(), {
24
24
  activeCollection: S,
25
25
  activeExample: d,
26
- activeEnvironment: T,
26
+ activeEnvironment: M,
27
27
  activeRequest: q,
28
28
  activeWorkspace: s,
29
29
  activeServer: A,
@@ -36,29 +36,29 @@ const Ae = /* @__PURE__ */ P({
36
36
  serverMutators: j,
37
37
  servers: D,
38
38
  events: v
39
- } = M, u = R(!((E = s.value) != null && E.isReadOnly)), O = R(), e = R(), h = R(""), F = pe(), Q = N(
39
+ } = T, u = R(!((E = s.value) != null && E.isReadOnly)), k = R(), e = R(), h = R(""), F = pe(), Q = V(
40
40
  () => x.findLast((o) => {
41
41
  var t;
42
42
  return o.request.uid === ((t = d.value) == null ? void 0 : t.uid);
43
43
  })
44
- ), z = ve("(max-width: 800px)");
45
- X(z, (o) => u.value = !o);
46
- const U = N(
44
+ ), { mediaQueries: z } = de();
45
+ X(z.md, (o) => u.value = o);
46
+ const O = V(
47
47
  () => {
48
48
  var o, t;
49
49
  return (L.value ? (o = S.value) == null ? void 0 : o.selectedSecuritySchemeUids : (t = q.value) == null ? void 0 : t.selectedSecuritySchemeUids) ?? [];
50
50
  }
51
- ), k = async () => {
51
+ ), U = async () => {
52
52
  var f;
53
53
  if (!q.value || !d.value || !S.value)
54
54
  return;
55
- const o = ce.parse(((f = T.value) == null ? void 0 : f.value) || "{}");
55
+ const o = ce.parse(((f = M.value) == null ? void 0 : f.value) || "{}");
56
56
  o.error && console.error("INVALID ENVIRONMENT!");
57
57
  const t = o.error || typeof o.data != "object" ? {} : o.data ?? {}, r = s.value.cookies.map((y) => H[y]), [n, i] = ue({
58
58
  auth: S.value.auth,
59
59
  request: q.value,
60
60
  example: d.value,
61
- selectedSecuritySchemeUids: U.value,
61
+ selectedSecuritySchemeUids: O.value,
62
62
  proxy: s.value.proxyUrl ?? "",
63
63
  environment: t,
64
64
  globalCookies: r,
@@ -67,19 +67,19 @@ const Ae = /* @__PURE__ */ P({
67
67
  server: A.value
68
68
  });
69
69
  if (n) {
70
- b(n.message, "error");
70
+ w(n.message, "error");
71
71
  return;
72
72
  }
73
- O.value = i.controller;
73
+ k.value = i.controller;
74
74
  const [m, p] = await i.sendRequest();
75
- m ? b(m.message, "error") : x.push(p);
75
+ m ? w(m.message, "error") : x.push(p);
76
76
  }, J = async () => {
77
77
  var o;
78
- return (o = O.value) == null ? void 0 : o.abort(ye.REQUEST_ABORTED);
78
+ return (o = k.value) == null ? void 0 : o.abort(ye.REQUEST_ABORTED);
79
79
  };
80
80
  Y(() => {
81
- v.executeRequest.on(k), v.cancelRequest.on(J);
82
- }), me(), Z(() => v.executeRequest.off(k));
81
+ v.executeRequest.on(U), v.cancelRequest.on(J);
82
+ }), me(), Z(() => v.executeRequest.off(U));
83
83
  function G({ requestName: o }) {
84
84
  var r, n, i, m;
85
85
  if (!e.value) return;
@@ -113,9 +113,9 @@ const Ae = /* @__PURE__ */ P({
113
113
  function K(o) {
114
114
  e.value = ae(o), l.show();
115
115
  }
116
- return (o, t) => (w(), _(ee, null, [
116
+ return (o, t) => (b(), _(ee, null, [
117
117
  te("div", {
118
- class: V(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative overflow-hidden", {
118
+ class: B(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative overflow-hidden", {
119
119
  "!mr-0 !mb-0 !border-0": a(s).isReadOnly
120
120
  }])
121
121
  }, [
@@ -127,21 +127,21 @@ const Ae = /* @__PURE__ */ P({
127
127
  onImportCurl: K
128
128
  }, null, 8, ["modelValue", "isReadonly"]),
129
129
  c(re, null, {
130
- default: B(() => [
130
+ default: N(() => [
131
131
  c(fe, {
132
132
  isReadonly: a(s).isReadOnly,
133
133
  showSidebar: u.value,
134
134
  onNewTab: t[2] || (t[2] = (r) => o.$emit("newTab", r)),
135
135
  "onUpdate:showSidebar": t[3] || (t[3] = (r) => u.value = r)
136
136
  }, null, 8, ["isReadonly", "showSidebar"]),
137
- a(d) ? (w(), g(se, {
137
+ a(d) ? (b(), g(se, {
138
138
  key: 0,
139
- class: V(["flex-1", [u.value ? "sidebar-active-hide-layout" : ""]])
139
+ class: B(["flex-1", [u.value ? "sidebar-active-hide-layout" : ""]])
140
140
  }, {
141
- default: B(() => {
141
+ default: N(() => {
142
142
  var r;
143
143
  return [
144
- c(le, { selectedSecuritySchemeUids: U.value }, null, 8, ["selectedSecuritySchemeUids"]),
144
+ c(le, { selectedSecuritySchemeUids: O.value }, null, 8, ["selectedSecuritySchemeUids"]),
145
145
  c(ie, {
146
146
  response: (r = Q.value) == null ? void 0 : r.response
147
147
  }, null, 8, ["response"])
@@ -153,7 +153,7 @@ const Ae = /* @__PURE__ */ P({
153
153
  _: 1
154
154
  })
155
155
  ], 2),
156
- e.value ? (w(), g(oe, {
156
+ e.value ? (b(), g(oe, {
157
157
  key: 0,
158
158
  parsedCurl: e.value,
159
159
  state: a(l),
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AAyEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAK9E,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,uBAAuB,CAAA;CAAE,CAAC;;AA8JrD,wBAOG"}
1
+ {"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AA2EA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAK9E,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,uBAAuB,CAAA;CAAE,CAAC;;AAiKrD,wBAOG"}
@@ -1,43 +1,43 @@
1
- import { defineComponent as l, computed as f, openBlock as t, createBlock as p, unref as n, withCtx as i, createElementVNode as c, createVNode as d, createElementBlock as o, toDisplayString as s, createCommentVNode as r } from "vue";
2
- import { ScalarTooltip as b, ScalarIcon as u } from "@scalar/components";
3
- const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 p-2 text-xxs leading-5 text-c-1" }, _ = {
1
+ import { defineComponent as p, computed as d, openBlock as t, createBlock as b, unref as c, withCtx as a, createElementVNode as m, createVNode as u, createElementBlock as o, toDisplayString as i, createCommentVNode as s } from "vue";
2
+ import { ScalarTooltip as x, ScalarIcon as h } from "@scalar/components";
3
+ const _ = { class: "pl-1 pr-1.5 py-[9px]" }, g = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 p-2 text-xxs leading-5 text-c-1" }, k = {
4
4
  key: 0,
5
5
  class: "flex items-center text-c-2"
6
- }, g = { key: 0 }, k = {
6
+ }, y = { key: 0 }, w = {
7
7
  key: 1,
8
8
  class: "before:content-['·'] before:block before:mx-[0.5ch] flex"
9
- }, y = {
9
+ }, v = {
10
10
  key: 2,
11
11
  class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
12
- }, w = {
12
+ }, C = {
13
13
  key: 3,
14
14
  class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
15
- }, v = {
15
+ }, B = {
16
16
  key: 4,
17
17
  class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
18
- }, C = {
18
+ }, I = {
19
19
  key: 1,
20
20
  class: "leading-snug text-pretty text-sm",
21
21
  style: { maxWidth: "16rem" }
22
- }, T = /* @__PURE__ */ l({
22
+ }, V = /* @__PURE__ */ p({
23
23
  __name: "RequestTableTooltip",
24
24
  props: {
25
25
  item: {}
26
26
  },
27
- setup(a) {
28
- const e = a, m = f(
29
- () => e.item.type || e.item.format || e.item.minimum || e.item.maximum || e.item.default
27
+ setup(l) {
28
+ const e = l, r = (n) => n !== void 0, f = d(
29
+ () => e.item.type || e.item.format || r(e.item.minimum) || r(e.item.maximum) || r(e.item.default)
30
30
  );
31
- return (B, I) => (t(), p(n(b), {
31
+ return (n, N) => (t(), b(c(x), {
32
32
  align: "start",
33
33
  class: "w-full",
34
34
  delay: 0,
35
35
  side: "left",
36
36
  triggerClass: "before:absolute before:content-[''] before:bg-gradient-to-r before:from-transparent before:to-b-1 before:min-h-[calc(100%-4px)] before:pointer-events-none before:right-[23px] before:top-0.5 before:w-3 absolute h-full right-0"
37
37
  }, {
38
- trigger: i(() => [
39
- c("div", x, [
40
- d(n(u), {
38
+ trigger: a(() => [
39
+ m("div", _, [
40
+ u(c(h), {
41
41
  class: "text-c-3 group-hover/info:text-c-1",
42
42
  icon: "Info",
43
43
  size: "sm",
@@ -45,16 +45,16 @@ const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-
45
45
  })
46
46
  ])
47
47
  ]),
48
- content: i(() => [
49
- c("div", h, [
50
- m.value ? (t(), o("div", _, [
51
- e.item.type ? (t(), o("span", g, s(e.item.type), 1)) : r("", !0),
52
- e.item.format ? (t(), o("span", k, s(e.item.format), 1)) : r("", !0),
53
- e.item.minimum ? (t(), o("span", y, "min: " + s(e.item.minimum), 1)) : r("", !0),
54
- e.item.maximum ? (t(), o("span", w, "max: " + s(e.item.maximum), 1)) : r("", !0),
55
- e.item.default ? (t(), o("span", v, "default: " + s(e.item.default), 1)) : r("", !0)
56
- ])) : r("", !0),
57
- e.item.description ? (t(), o("span", C, s(e.item.description), 1)) : r("", !0)
48
+ content: a(() => [
49
+ m("div", g, [
50
+ f.value ? (t(), o("div", k, [
51
+ e.item.type ? (t(), o("span", y, i(e.item.type), 1)) : s("", !0),
52
+ e.item.format ? (t(), o("span", w, i(e.item.format), 1)) : s("", !0),
53
+ r(e.item.minimum) ? (t(), o("span", v, "min: " + i(e.item.minimum), 1)) : s("", !0),
54
+ r(e.item.maximum) ? (t(), o("span", C, "max: " + i(e.item.maximum), 1)) : s("", !0),
55
+ r(e.item.default) ? (t(), o("span", B, "default: " + i(e.item.default), 1)) : s("", !0)
56
+ ])) : s("", !0),
57
+ e.item.description ? (t(), o("span", I, i(e.item.description), 1)) : s("", !0)
58
58
  ])
59
59
  ]),
60
60
  _: 1
@@ -62,5 +62,5 @@ const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-
62
62
  }
63
63
  });
64
64
  export {
65
- T as default
65
+ V as default
66
66
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebar.vue"],"names":[],"mappings":"AAmaA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;;;;cAKqC,MAAM;aAAO,MAAM;;;;;;cAAnB,MAAM;aAAO,MAAM;;;;AAgoB1D,wBAOG"}
1
+ {"version":3,"file":"RequestSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebar.vue"],"names":[],"mappings":"AAmaA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;;;;cAKqC,MAAM;aAAO,MAAM;;;;;;cAAnB,MAAM;aAAO,MAAM;;;;AAioB1D,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestSidebar.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3c33a096"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-955ea3a0"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -181,7 +181,7 @@ const Ve = {
181
181
  thickness: "2.25"
182
182
  })) : (a(), d(o(De), {
183
183
  key: 1,
184
- class: "text-sidebar-c-2 size-3.5 stroke-[2.25] group-hover:hidden",
184
+ class: "min-w-3.5 text-sidebar-c-2 size-3.5 stroke-2 group-hover:hidden",
185
185
  src: s["x-scalar-icon"] || "interface-content-folder"
186
186
  }, null, 8, ["src"])),
187
187
  i("div", {
@@ -193,7 +193,7 @@ const Ve = {
193
193
  class: "text-c-3 hidden text-sm group-hover:block",
194
194
  icon: "ChevronRight",
195
195
  size: "sm",
196
- thickness: "2.5"
196
+ thickness: "2"
197
197
  })
198
198
  ], 2)
199
199
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseBodyRaw.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyRaw.vue"],"names":[],"mappings":"AAuCA,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,wBAAwB,CAAA;AAK/E,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,GAAG,CAAA;IACZ,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B,CAAC;;AA2EF,wBAOG"}
1
+ {"version":3,"file":"ResponseBodyRaw.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyRaw.vue"],"names":[],"mappings":"AAyGA,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,wBAAwB,CAAA;AAM/E,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,GAAG,CAAA;IACZ,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B,CAAC;;AAyGF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ResponseBodyRaw.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b7d4ba6e"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-641bbcf9"]]);
5
5
  export {
6
- r as default
6
+ a as default
7
7
  };
@@ -1,26 +1,46 @@
1
- import { defineComponent as t, ref as a, openBlock as c, createBlock as l, unref as u } from "vue";
2
- import { ScalarCodeBlock as p } from "@scalar/components";
3
- import { useCodeMirror as s } from "@scalar/use-codemirror";
4
- const d = /* @__PURE__ */ t({
1
+ import { defineComponent as d, ref as p, toRef as s, openBlock as f, createElementBlock as m, createElementVNode as o, unref as c, createVNode as y } from "vue";
2
+ import { ScalarIcon as C } from "@scalar/components";
3
+ import { useCodeMirror as g } from "@scalar/use-codemirror";
4
+ import { useClipboard as b } from "@scalar/use-hooks/useClipboard";
5
+ const _ = { class: "relative" }, v = { class: "scalar-code-copy" }, x = /* @__PURE__ */ d({
5
6
  __name: "ResponseBodyRaw",
6
7
  props: {
7
8
  content: {},
8
9
  language: {}
9
10
  },
10
- setup(o) {
11
- const e = o, r = a(null);
12
- return s({
13
- codeMirrorRef: r,
11
+ setup(l) {
12
+ const r = l, n = p(null), { copyToClipboard: a } = b(), { codeMirror: i } = g({
13
+ codeMirrorRef: n,
14
14
  readOnly: !0,
15
15
  lineNumbers: !0,
16
- content: e.content,
17
- language: e.language
18
- }), (n, g) => (c(), l(u(p), {
19
- content: n.content,
20
- lang: n.language
21
- }, null, 8, ["content", "lang"]));
16
+ content: s(() => r.content),
17
+ language: s(() => r.language),
18
+ forceFoldGutter: !0
19
+ }), u = () => {
20
+ var t;
21
+ return ((t = i.value) == null ? void 0 : t.state.doc.toString()) || "";
22
+ };
23
+ return (t, e) => (f(), m("div", _, [
24
+ o("div", v, [
25
+ o("button", {
26
+ class: "copy-button",
27
+ type: "button",
28
+ onClick: e[0] || (e[0] = (R) => c(a)(u()))
29
+ }, [
30
+ e[1] || (e[1] = o("span", { class: "sr-only" }, "Copy content", -1)),
31
+ y(c(C), {
32
+ icon: "Clipboard",
33
+ size: "md"
34
+ })
35
+ ])
36
+ ]),
37
+ o("div", {
38
+ ref_key: "codeMirrorRef",
39
+ ref: n
40
+ }, null, 512)
41
+ ]));
22
42
  }
23
43
  });
24
44
  export {
25
- d as default
45
+ x as default
26
46
  };
@@ -16,7 +16,7 @@ const B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, w = {
16
16
  a.commandPalette.emit({ commandName: "Create Request" });
17
17
  }, y = (i) => {
18
18
  i != null && i.createNew && v.name === "request" && f();
19
- }, h = "2.1.50";
19
+ }, h = "2.1.52";
20
20
  return b(() => a.hotKeys.on(y)), C(() => a.hotKeys.off(y)), (i, e) => (l(), n("div", B, [
21
21
  o("div", {
22
22
  class: k(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.1.50",
21
+ "version": "2.1.52",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -155,19 +155,19 @@
155
155
  "whatwg-mimetype": "^4.0.0",
156
156
  "yaml": "^2.4.5",
157
157
  "zod": "^3.23.8",
158
- "@scalar/icons": "0.1.1",
158
+ "@scalar/components": "0.12.72",
159
159
  "@scalar/draggable": "0.1.7",
160
- "@scalar/components": "0.12.70",
161
- "@scalar/import": "0.1.1",
162
- "@scalar/openapi-parser": "0.8.9",
163
- "@scalar/oas-utils": "0.2.76",
160
+ "@scalar/icons": "0.1.2",
161
+ "@scalar/import": "0.1.2",
162
+ "@scalar/oas-utils": "0.2.77",
164
163
  "@scalar/object-utils": "1.1.12",
164
+ "@scalar/openapi-parser": "0.8.10",
165
165
  "@scalar/openapi-types": "0.1.5",
166
- "@scalar/types": "0.0.19",
167
- "@scalar/use-codemirror": "0.11.37",
168
166
  "@scalar/themes": "0.9.48",
169
- "@scalar/use-hooks": "0.1.0",
167
+ "@scalar/types": "0.0.19",
168
+ "@scalar/use-codemirror": "0.11.39",
170
169
  "@scalar/use-toasts": "0.7.7",
170
+ "@scalar/use-hooks": "0.1.1",
171
171
  "@scalar/use-tooltip": "1.0.4"
172
172
  },
173
173
  "devDependencies": {
@@ -182,7 +182,7 @@
182
182
  "tailwindcss": "^3.4.4",
183
183
  "tailwindcss-color-mix": "^0.0.8",
184
184
  "type-fest": "^4.20.0",
185
- "vite": "^5.4.9",
185
+ "vite": "^5.4.10",
186
186
  "vite-svg-loader": "^5.1.0",
187
187
  "vitest": "^1.6.0",
188
188
  "@scalar/build-tooling": "0.1.12",