@scalar/api-client 2.23.0 → 2.23.3

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 (95) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/dist/style.css +1 -1
  3. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +13 -3
  4. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  5. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +68 -68
  6. package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts.map +1 -1
  7. package/dist/v2/blocks/operation-block/helpers/build-request-parameters.js +54 -53
  8. package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts +5 -3
  9. package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts.map +1 -1
  10. package/dist/v2/blocks/operation-block/helpers/build-request-security.js +1 -1
  11. package/dist/v2/blocks/operation-block/helpers/build-request.d.ts +3 -2
  12. package/dist/v2/blocks/operation-block/helpers/build-request.d.ts.map +1 -1
  13. package/dist/v2/blocks/operation-block/index.d.ts +2 -1
  14. package/dist/v2/blocks/operation-block/index.d.ts.map +1 -1
  15. package/dist/v2/blocks/operation-block/index.js +7 -4
  16. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts +3 -2
  17. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
  18. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
  19. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts +3 -2
  20. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts.map +1 -1
  21. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.d.ts.map +1 -1
  22. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +78 -78
  23. package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.d.ts +2 -2
  24. package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.d.ts.map +1 -1
  25. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts +3 -2
  26. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
  27. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.d.ts +2 -2
  28. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.d.ts.map +1 -1
  29. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +8 -5
  30. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  31. package/dist/v2/blocks/request-block/RequestBlock.vue.js +2 -2
  32. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +4 -4
  33. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts.map +1 -1
  34. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.js +49 -45
  35. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  36. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +63 -51
  37. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  38. package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +2 -2
  39. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +4 -2
  40. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  41. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +18 -181
  42. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  43. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +118 -107
  44. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +3 -2
  45. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  46. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +30 -33
  47. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +11 -178
  48. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  49. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +107 -110
  50. package/dist/v2/blocks/scalar-auth-selector-block/helpers/auth-options.d.ts.map +1 -1
  51. package/dist/v2/blocks/scalar-auth-selector-block/helpers/auth-options.js +5 -29
  52. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts +6 -0
  53. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -0
  54. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +85 -0
  55. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts +9 -0
  56. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts.map +1 -0
  57. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.js +15 -0
  58. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +3 -2
  59. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  60. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +23 -0
  61. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -0
  62. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +2 -2
  63. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -1
  64. package/dist/v2/blocks/scalar-auth-selector-block/index.js +4 -6
  65. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  66. package/dist/v2/features/app/App.vue.js +51 -42
  67. package/dist/v2/features/app/app-state.d.ts +1 -1
  68. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  69. package/dist/v2/features/app/app-state.js +40 -38
  70. package/dist/v2/features/app/helpers/routes.d.ts +1 -1
  71. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  72. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  73. package/dist/v2/features/collection/components/Authentication.vue.js +1 -1
  74. package/dist/v2/features/collection/components/Authentication.vue2.js +14 -11
  75. package/dist/v2/features/import-listener/helpers/import-document-to-workspace.d.ts.map +1 -1
  76. package/dist/v2/features/import-listener/helpers/import-document-to-workspace.js +3 -1
  77. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  78. package/dist/v2/features/modal/Modal.vue.js +1 -1
  79. package/dist/v2/features/modal/Modal.vue2.js +14 -12
  80. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  81. package/dist/v2/features/operation/Operation.vue.js +44 -35
  82. package/dist/v2/features/operation/helpers/get-selected-security.d.ts +3 -5
  83. package/dist/v2/features/operation/helpers/get-selected-security.d.ts.map +1 -1
  84. package/dist/v2/workspace-events.d.ts.map +1 -1
  85. package/dist/v2/workspace-events.js +116 -109
  86. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  87. package/package.json +17 -17
  88. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.d.ts +0 -2
  89. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.d.ts.map +0 -1
  90. package/dist/v2/blocks/scalar-auth-selector-block/helpers/convert-security-scheme-secrets.d.ts +0 -8
  91. package/dist/v2/blocks/scalar-auth-selector-block/helpers/convert-security-scheme-secrets.d.ts.map +0 -1
  92. package/dist/v2/blocks/scalar-auth-selector-block/helpers/convert-security-scheme-secrets.js +0 -33
  93. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-auth-config.d.ts +0 -7
  94. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-auth-config.d.ts.map +0 -1
  95. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-auth-config.js +0 -13
@@ -1,8 +1,8 @@
1
- import { defineComponent as W, ref as w, useId as D, watch as I, nextTick as N, onBeforeMount as E, onBeforeUnmount as F, computed as d, toValue as U, withDirectives as k, createElementBlock as u, openBlock as m, createElementVNode as s, unref as o, createVNode as l, withCtx as V, vShow as b } from "vue";
2
- import { addScalarClassesToHeadless as A, ScalarTeleportRoot as $ } from "@scalar/components";
1
+ import { defineComponent as W, ref as w, useId as D, watch as I, nextTick as N, onBeforeMount as E, onBeforeUnmount as F, computed as u, toValue as U, withDirectives as k, createElementBlock as d, openBlock as m, createElementVNode as s, unref as o, createVNode as l, withCtx as V, vShow as b } from "vue";
2
+ import { addScalarClassesToHeadless as $, ScalarTeleportRoot as A } from "@scalar/components";
3
3
  import { ScalarToasts as z } from "@scalar/use-toasts";
4
4
  import { useFocusTrap as H } from "@vueuse/integrations/useFocusTrap";
5
- import { mergeAuthConfig as L } from "../../blocks/scalar-auth-selector-block/helpers/merge-auth-config.js";
5
+ import { mergeSecurity as L } from "../../blocks/scalar-auth-selector-block/helpers/merge-security.js";
6
6
  import { initializeModalEvents as M } from "./modal-events.js";
7
7
  import O from "../operation/Operation.vue.js";
8
8
  import { getActiveEnvironment as R } from "../../helpers/get-active-environment.js";
@@ -57,21 +57,23 @@ const P = { class: "scalar scalar-app" }, J = { class: "scalar-container" }, Q =
57
57
  (a) => {
58
58
  g.value = a, a ? y({ checkCanFocusTrap: () => N() }) : S();
59
59
  }
60
- ), E(() => A()), F(() => S());
61
- const p = 288, c = d(
60
+ ), E(() => $()), F(() => S());
61
+ const p = 288, c = u(
62
62
  () => e.workspaceStore?.workspace?.["x-scalar-sidebar-width"] ?? p
63
- ), T = (a) => e.workspaceStore?.update("x-scalar-sidebar-width", a), h = d(
63
+ ), T = (a) => e.workspaceStore?.update("x-scalar-sidebar-width", a), h = u(
64
64
  () => R(e.workspaceStore, e.document.value)
65
- ), C = d(
65
+ ), C = u(
66
66
  () => L(
67
67
  e.document.value?.components?.securitySchemes,
68
- U(e.options)?.authentication?.securitySchemes
68
+ U(e.options)?.authentication?.securitySchemes,
69
+ e.workspaceStore.auth,
70
+ e.document.value?.["x-scalar-navigation"]?.name ?? ""
69
71
  )
70
72
  );
71
73
  return x({
72
74
  sidebarWidth: c,
73
75
  environment: h
74
- }), (a, t) => k((m(), u("div", P, [
76
+ }), (a, t) => k((m(), d("div", P, [
75
77
  s("div", J, [
76
78
  s("div", {
77
79
  id: o(f),
@@ -83,10 +85,10 @@ const P = { class: "scalar scalar-app" }, J = { class: "scalar-container" }, Q =
83
85
  role: "dialog",
84
86
  tabindex: "-1"
85
87
  }, [
86
- l(o($), null, {
88
+ l(o(A), null, {
87
89
  default: V(() => [
88
90
  l(o(z)),
89
- e.document.value && e.path?.value && e.method?.value ? (m(), u("main", X, [
91
+ e.document.value && e.path?.value && e.method?.value ? (m(), d("main", X, [
90
92
  l(o(G), {
91
93
  modelValue: n.value,
92
94
  "onUpdate:modelValue": t[0] || (t[0] = (i) => n.value = i),
@@ -126,7 +128,7 @@ const P = { class: "scalar scalar-app" }, J = { class: "scalar-container" }, Q =
126
128
  securitySchemes: C.value,
127
129
  workspaceStore: e.workspaceStore
128
130
  }, null, 8, ["document", "documentSlug", "environment", "eventBus", "exampleName", "method", "options", "path", "plugins", "securitySchemes", "workspaceStore"])
129
- ])) : (m(), u("div", Y, [...t[3] || (t[3] = [
131
+ ])) : (m(), d("div", Y, [...t[3] || (t[3] = [
130
132
  s("span", { class: "text-c-3" }, "No document selected", -1)
131
133
  ])]))
132
134
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"AAiMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAElE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAM/D;;;;;;;GAOG;;IAGC,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;;IAD/B,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;;AAHnC,wBAwPC"}
1
+ {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"AA8MA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAElE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAM/D;;;;;;;GAOG;;IAGC,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;;IAD/B,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;;AAHnC,wBAkRC"}
@@ -1,15 +1,15 @@
1
- import { defineComponent as y, computed as n, toValue as o, onMounted as S, createBlock as x, createElementBlock as k, openBlock as c, unref as i, createElementVNode as g } from "vue";
2
- import { getResolvedRef as s } from "@scalar/workspace-store/helpers/get-resolved-ref";
1
+ import { defineComponent as y, computed as n, toValue as r, onMounted as f, createBlock as g, createElementBlock as k, openBlock as l, unref as i, createElementVNode as x } from "vue";
2
+ import { getResolvedRef as m } from "@scalar/workspace-store/helpers/get-resolved-ref";
3
3
  import { mapHiddenClientsConfig as C } from "../modal/helpers/map-hidden-clients-config.js";
4
- import { combineParams as B } from "./helpers/combine-params.js";
5
- import { getSelectedServer as w } from "./helpers/get-selected-server.js";
4
+ import { combineParams as w } from "./helpers/combine-params.js";
5
+ import { getSelectedServer as B } from "./helpers/get-selected-server.js";
6
6
  import { getServers as U } from "../../helpers/get-servers.js";
7
- import p from "../../blocks/operation-block/OperationBlock.vue.js";
7
+ import N from "../../blocks/operation-block/OperationBlock.vue.js";
8
8
  const b = {
9
9
  key: 1,
10
10
  class: "flex h-full w-full items-center justify-center"
11
- }, N = {}, $ = /* @__PURE__ */ y({
12
- ...N,
11
+ }, V = {}, K = /* @__PURE__ */ y({
12
+ ...V,
13
13
  __name: "Operation",
14
14
  props: {
15
15
  documentSlug: {},
@@ -27,20 +27,20 @@ const b = {
27
27
  options: {}
28
28
  },
29
29
  setup(e) {
30
- const u = n(() => e.path ? s(e.document?.paths?.[e.path]) : null), l = n(() => {
30
+ const u = n(() => e.path ? m(e.document?.paths?.[e.path]) : null), c = n(() => {
31
31
  if (!e.path || !e.method)
32
32
  return null;
33
- const t = s(e.document?.paths?.[e.path]?.[e.method]);
33
+ const t = m(e.document?.paths?.[e.path]?.[e.method]);
34
34
  if (!t)
35
35
  return null;
36
36
  if (!u.value)
37
37
  return t;
38
- const a = B(
38
+ const a = w(
39
39
  u.value.parameters,
40
40
  t.parameters
41
41
  );
42
42
  return { ...t, parameters: a };
43
- }), m = n(() => [
43
+ }), s = n(() => [
44
44
  ...(e.workspaceStore.workspace?.["x-scalar-cookies"] ?? []).map((t) => ({
45
45
  ...t,
46
46
  location: "workspace"
@@ -49,58 +49,67 @@ const b = {
49
49
  ...t,
50
50
  location: "document"
51
51
  }))
52
- ]), r = n(() => {
53
- const t = o(e.options)?.servers ?? l.value?.servers ?? u.value?.servers ?? e.document?.servers;
52
+ ]), o = n(() => {
53
+ const t = r(e.options)?.servers ?? c.value?.servers ?? u.value?.servers ?? e.document?.servers;
54
54
  return U(t, {
55
- baseServerUrl: o(e.options)?.baseServerURL,
55
+ baseServerUrl: r(e.options)?.baseServerURL,
56
56
  documentUrl: e.document?.["x-scalar-original-source-url"]
57
57
  });
58
58
  }), d = n(
59
- () => w(e.document, r.value)
59
+ () => B(e.document, o.value)
60
60
  );
61
- S(() => {
62
- typeof e.document?.["x-scalar-selected-server"] > "u" && r.value?.[0]?.url && e.eventBus.emit("server:update:selected", { url: r.value[0].url });
61
+ f(() => {
62
+ typeof e.document?.["x-scalar-selected-server"] > "u" && o.value?.[0]?.url && e.eventBus.emit("server:update:selected", { url: o.value[0].url });
63
63
  });
64
- const v = n(() => e.document?.["x-scalar-set-operation-security"] ? {
64
+ const h = n(() => e.document?.["x-scalar-set-operation-security"] ? {
65
65
  type: "operation",
66
66
  path: e.path ?? "",
67
67
  method: e.method ?? "get"
68
68
  } : {
69
69
  type: "document"
70
- }), h = n(
71
- () => C(o(e.options)?.hiddenClients)
72
- ), f = "2.23.0";
73
- return (t, a) => e.path && e.method && e.exampleName && l.value ? (c(), x(i(p), {
70
+ }), v = n(
71
+ () => C(r(e.options)?.hiddenClients)
72
+ ), S = "2.23.3";
73
+ return (t, a) => e.path && e.method && e.exampleName && c.value ? (l(), g(i(N), {
74
74
  key: 0,
75
- appVersion: i(f),
76
- authMeta: v.value,
75
+ appVersion: i(S),
76
+ authMeta: h.value,
77
77
  documentSecurity: e.document?.security ?? [],
78
- documentSelectedSecurity: e.document?.["x-scalar-selected-security"],
78
+ documentSelectedSecurity: e.workspaceStore.auth.getAuthSelectedSchemas({
79
+ type: "document",
80
+ documentName: e.documentSlug
81
+ }),
79
82
  documentUrl: e.document?.["x-scalar-original-source-url"],
80
83
  environment: e.environment,
81
84
  eventBus: e.eventBus,
82
85
  exampleKey: e.exampleName,
83
- globalCookies: m.value,
84
- hideClientButton: o(e.options)?.hideClientButton ?? !1,
85
- history: [],
86
- httpClients: h.value,
86
+ globalCookies: s.value,
87
+ hideClientButton: r(e.options)?.hideClientButton ?? !1,
88
+ history: e.workspaceStore.history.getHistory(e.documentSlug, e.path, e.method),
89
+ httpClients: v.value,
87
90
  layout: e.layout,
88
91
  method: e.method,
89
- operation: l.value,
92
+ operation: c.value,
93
+ operationSelectedSecurity: e.workspaceStore.auth.getAuthSelectedSchemas({
94
+ type: "operation",
95
+ documentName: e.documentSlug,
96
+ path: e.path,
97
+ method: e.method
98
+ }),
90
99
  path: e.path,
91
100
  plugins: e.plugins,
92
101
  proxyUrl: e.workspaceStore.workspace["x-scalar-active-proxy"] ?? "",
93
102
  securitySchemes: e.securitySchemes,
94
103
  selectedClient: e.workspaceStore.workspace["x-scalar-default-client"],
95
104
  server: d.value,
96
- servers: r.value,
105
+ servers: o.value,
97
106
  setOperationSecurity: e.document?.["x-scalar-set-operation-security"] ?? !1,
98
- "onUpdate:servers": a[0] || (a[0] = (V) => e.eventBus.emit("ui:route:page", { name: "document.servers" }))
99
- }, null, 8, ["appVersion", "authMeta", "documentSecurity", "documentSelectedSecurity", "documentUrl", "environment", "eventBus", "exampleKey", "globalCookies", "hideClientButton", "httpClients", "layout", "method", "operation", "path", "plugins", "proxyUrl", "securitySchemes", "selectedClient", "server", "servers", "setOperationSecurity"])) : (c(), k("div", b, [...a[1] || (a[1] = [
100
- g("span", { class: "text-c-3" }, "Select an operation to view details", -1)
107
+ "onUpdate:servers": a[0] || (a[0] = (M) => e.eventBus.emit("ui:route:page", { name: "document.servers" }))
108
+ }, null, 8, ["appVersion", "authMeta", "documentSecurity", "documentSelectedSecurity", "documentUrl", "environment", "eventBus", "exampleKey", "globalCookies", "hideClientButton", "history", "httpClients", "layout", "method", "operation", "operationSelectedSecurity", "path", "plugins", "proxyUrl", "securitySchemes", "selectedClient", "server", "servers", "setOperationSecurity"])) : (l(), k("div", b, [...a[1] || (a[1] = [
109
+ x("span", { class: "text-c-3" }, "Select an operation to view details", -1)
101
110
  ])]));
102
111
  }
103
112
  });
104
113
  export {
105
- $ as default
114
+ K as default
106
115
  };
@@ -1,10 +1,8 @@
1
- import type { OpenApiDocument, OperationObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
1
+ import type { SelectedSecurity } from '@scalar/workspace-store/entities/auth';
2
+ import type { OpenApiDocument } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
2
3
  /**
3
4
  * Get the selected security for an operation or document,
4
5
  * Defaults to the first requirement if no selection is made and you pass in requirements
5
6
  */
6
- export declare const getSelectedSecurity: (documentSelectedSecurity: OpenApiDocument["x-scalar-selected-security"], operationSelectedSecurity: OperationObject["x-scalar-selected-security"], securityRequirements?: NonNullable<OpenApiDocument["security"]>, setOperationSecurity?: boolean) => {
7
- selectedIndex: number;
8
- selectedSchemes: import("@scalar/workspace-store/schemas/v3.1/strict/security-requirement").SecurityRequirementObject[];
9
- };
7
+ export declare const getSelectedSecurity: (documentSelectedSecurity: SelectedSecurity | undefined, operationSelectedSecurity: SelectedSecurity | undefined, securityRequirements?: NonNullable<OpenApiDocument["security"]>, setOperationSecurity?: boolean) => SelectedSecurity;
10
8
  //# sourceMappingURL=get-selected-security.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-selected-security.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/operation/helpers/get-selected-security.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,8DAA8D,CAAA;AAIpH;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAC9B,0BAA0B,eAAe,CAAC,4BAA4B,CAAC,EACvE,2BAA2B,eAAe,CAAC,4BAA4B,CAAC,EACxE,uBAAsB,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,CAAM,EACnE,8BAA4B;;;CA6B7B,CAAA"}
1
+ {"version":3,"file":"get-selected-security.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/operation/helpers/get-selected-security.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAA;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8DAA8D,CAAA;AAInG;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAC9B,0BAA0B,gBAAgB,GAAG,SAAS,EACtD,2BAA2B,gBAAgB,GAAG,SAAS,EACvD,uBAAsB,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,CAAM,EACnE,8BAA4B,KAC3B,gBA4BF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-events.d.ts","sourceRoot":"","sources":["../../src/v2/workspace-events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAkB,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAE3G,OAAO,EAAE,KAAK,GAAG,EAAY,MAAM,KAAK,CAAA;AAExC,KAAK,IAAI,CAAC,CAAC,SAAS,MAAM,kBAAkB,IAAI,OAAO,CAAC;IACtD,eAAe,EAAE,CACf,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAC3B,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAA;IAClF,cAAc,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzE,CAAC,CAAA;AAEF,KAAK,KAAK,GAAG;KACV,GAAG,IAAI,MAAM,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;CAC9C,CAAA;AA6BD;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,EAC/C,QAAQ,EACR,KAAK,EACL,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,KAAK,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACjC,KAAK,EAAE,KAAK,CAAA;CACb,QAyPA"}
1
+ {"version":3,"file":"workspace-events.d.ts","sourceRoot":"","sources":["../../src/v2/workspace-events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAkB,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAE3G,OAAO,EAAE,KAAK,GAAG,EAAY,MAAM,KAAK,CAAA;AAExC,KAAK,IAAI,CAAC,CAAC,SAAS,MAAM,kBAAkB,IAAI,OAAO,CAAC;IACtD,eAAe,EAAE,CACf,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAC3B,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAA;IAClF,cAAc,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzE,CAAC,CAAA;AAEF,KAAK,KAAK,GAAG;KACV,GAAG,IAAI,MAAM,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;CAC9C,CAAA;AA6BD;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,EAC/C,QAAQ,EACR,KAAK,EACL,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,KAAK,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACjC,KAAK,EAAE,KAAK,CAAA;CACb,QAgQA"}
@@ -1,203 +1,210 @@
1
- import { generateClientMutators as p } from "@scalar/workspace-store/mutators";
2
- import { computed as c } from "vue";
3
- const r = (a, i, t) => async (o) => {
4
- const n = await t[a]?.onBeforeExecute?.(o) ?? o;
5
- return await i(n), await t[a]?.onAfterExecute?.(n), n;
1
+ import { generateClientMutators as i } from "@scalar/workspace-store/mutators";
2
+ import { computed as p } from "vue";
3
+ const r = (t, c, a) => async (o) => {
4
+ const n = await a[t]?.onBeforeExecute?.(o) ?? o;
5
+ return await c(n), await a[t]?.onAfterExecute?.(n), n;
6
6
  };
7
7
  function l({
8
- eventBus: a,
9
- store: i,
10
- hooks: t
8
+ eventBus: t,
9
+ store: c,
10
+ hooks: a
11
11
  }) {
12
- const o = c(() => p(i.value)), n = ({ collectionType: e }) => e === "document" ? o.value.active() : o.value.workspace();
13
- a.on(
12
+ const o = p(() => i(c.value)), n = ({ collectionType: e }) => e === "document" ? o.value.active() : o.value.workspace();
13
+ t.on(
14
14
  "workspace:update:active-proxy",
15
- (e) => r("workspace:update:active-proxy", o.value.workspace().workspace.updateActiveProxy, t)(e)
16
- ), a.on(
15
+ (e) => r("workspace:update:active-proxy", o.value.workspace().workspace.updateActiveProxy, a)(e)
16
+ ), t.on(
17
17
  "workspace:update:color-mode",
18
- (e) => r("workspace:update:color-mode", o.value.workspace().workspace.updateColorMode, t)(e)
19
- ), a.on(
18
+ (e) => r("workspace:update:color-mode", o.value.workspace().workspace.updateColorMode, a)(e)
19
+ ), t.on(
20
20
  "workspace:update:theme",
21
- (e) => r("workspace:update:theme", o.value.workspace().workspace.updateTheme, t)(e)
22
- ), a.on(
21
+ (e) => r("workspace:update:theme", o.value.workspace().workspace.updateTheme, a)(e)
22
+ ), t.on(
23
23
  "workspace:update:selected-client",
24
24
  (e) => r(
25
25
  "workspace:update:selected-client",
26
26
  o.value.workspace().workspace.updateSelectedClient,
27
- t
27
+ a
28
28
  )(e)
29
- ), a.on(
29
+ ), t.on(
30
30
  "document:update:icon",
31
- (e) => r("document:update:icon", o.value.active().document.updateDocumentIcon, t)(e)
32
- ), a.on(
31
+ (e) => r("document:update:icon", o.value.active().document.updateDocumentIcon, a)(e)
32
+ ), t.on(
33
33
  "document:update:info",
34
- (e) => r("document:update:info", o.value.active().document.updateDocumentInfo, t)(e)
35
- ), a.on(
34
+ (e) => r("document:update:info", o.value.active().document.updateDocumentInfo, a)(e)
35
+ ), t.on(
36
36
  "document:toggle:security",
37
- (e) => r("document:toggle:security", o.value.active().document.toggleSecurity, t)(e)
38
- ), a.on(
37
+ (e) => r("document:toggle:security", o.value.active().document.toggleSecurity, a)(e)
38
+ ), t.on(
39
39
  "document:update:watch-mode",
40
- (e) => r("document:update:watch-mode", o.value.active().document.updateWatchMode, t)(e)
41
- ), a.on(
40
+ (e) => r("document:update:watch-mode", o.value.active().document.updateWatchMode, a)(e)
41
+ ), t.on(
42
42
  "document:create:empty-document",
43
- (e) => r("document:create:empty-document", o.value.active().document.createEmptyDocument, t)(e)
44
- ), a.on(
43
+ (e) => r("document:create:empty-document", o.value.active().document.createEmptyDocument, a)(e)
44
+ ), t.on(
45
45
  "document:delete:document",
46
- (e) => r("document:delete:document", o.value.active().document.deleteDocument, t)(e)
47
- ), a.on(
46
+ (e) => r("document:delete:document", o.value.active().document.deleteDocument, a)(e)
47
+ ), t.on(
48
48
  "environment:upsert:environment",
49
- (e) => r("environment:upsert:environment", n(e).environment.upsertEnvironment, t)(e)
50
- ), a.on(
49
+ (e) => r("environment:upsert:environment", n(e).environment.upsertEnvironment, a)(e)
50
+ ), t.on(
51
51
  "environment:delete:environment",
52
- (e) => r("environment:delete:environment", n(e).environment.deleteEnvironment, t)(e)
53
- ), a.on(
52
+ (e) => r("environment:delete:environment", n(e).environment.deleteEnvironment, a)(e)
53
+ ), t.on(
54
54
  "environment:upsert:environment-variable",
55
55
  (e) => r(
56
56
  "environment:upsert:environment-variable",
57
57
  n(e).environment.upsertEnvironmentVariable,
58
- t
58
+ a
59
59
  )(e)
60
- ), a.on(
60
+ ), t.on(
61
61
  "environment:delete:environment-variable",
62
62
  (e) => r(
63
63
  "environment:delete:environment-variable",
64
64
  n(e).environment.deleteEnvironmentVariable,
65
- t
65
+ a
66
66
  )(e)
67
- ), a.on("cookie:upsert:cookie", async (e) => {
68
- await r("cookie:upsert:cookie", n(e).cookie.upsertCookie, t)(e);
69
- }), a.on("cookie:delete:cookie", async (e) => {
70
- await r("cookie:delete:cookie", n(e).cookie.deleteCookie, t)(e);
71
- }), a.on(
67
+ ), t.on("cookie:upsert:cookie", async (e) => {
68
+ await r("cookie:upsert:cookie", n(e).cookie.upsertCookie, a)(e);
69
+ }), t.on("cookie:delete:cookie", async (e) => {
70
+ await r("cookie:delete:cookie", n(e).cookie.deleteCookie, a)(e);
71
+ }), t.on(
72
72
  "auth:delete:security-scheme",
73
- (e) => r("auth:delete:security-scheme", o.value.active().auth.deleteSecurityScheme, t)(e)
74
- ), a.on(
73
+ (e) => r("auth:delete:security-scheme", o.value.active().auth.deleteSecurityScheme, a)(e)
74
+ ), t.on(
75
75
  "auth:update:active-index",
76
- (e) => r("auth:update:active-index", o.value.active().auth.updateSelectedAuthTab, t)(e)
77
- ), a.on(
76
+ (e) => r("auth:update:active-index", o.value.active().auth.updateSelectedAuthTab, a)(e)
77
+ ), t.on(
78
78
  "auth:update:security-scheme",
79
- (e) => r("auth:update:security-scheme", o.value.active().auth.updateSecurityScheme, t)(e)
80
- ), a.on(
79
+ (e) => r("auth:update:security-scheme", o.value.active().auth.updateSecurityScheme, a)(e)
80
+ ), t.on(
81
81
  "auth:update:selected-scopes",
82
- (e) => r("auth:update:selected-scopes", o.value.active().auth.updateSelectedScopes, t)(e)
83
- ), a.on(
82
+ (e) => r("auth:update:selected-scopes", o.value.active().auth.updateSelectedScopes, a)(e)
83
+ ), t.on(
84
84
  "auth:update:selected-security-schemes",
85
85
  (e) => r(
86
86
  "auth:update:selected-security-schemes",
87
87
  o.value.active().auth.updateSelectedSecuritySchemes,
88
- t
88
+ a
89
89
  )(e)
90
- ), a.on(
90
+ ), t.on(
91
+ "auth:update:security-scheme-secrets",
92
+ (e) => r(
93
+ "auth:update:security-scheme-secrets",
94
+ o.value.active().auth.updateSecuritySchemeSecrets,
95
+ a
96
+ )(e)
97
+ ), t.on(
91
98
  "server:add:server",
92
- (e) => r("server:add:server", o.value.active().server.addServer, t)(e)
93
- ), a.on(
99
+ (e) => r("server:add:server", o.value.active().server.addServer, a)(e)
100
+ ), t.on(
94
101
  "server:update:server",
95
- (e) => r("server:update:server", o.value.active().server.updateServer, t)(e)
96
- ), a.on(
102
+ (e) => r("server:update:server", o.value.active().server.updateServer, a)(e)
103
+ ), t.on(
97
104
  "server:delete:server",
98
- (e) => r("server:delete:server", o.value.active().server.deleteServer, t)(e)
99
- ), a.on(
105
+ (e) => r("server:delete:server", o.value.active().server.deleteServer, a)(e)
106
+ ), t.on(
100
107
  "server:update:variables",
101
- (e) => r("server:update:variables", o.value.active().server.updateServerVariables, t)(e)
102
- ), a.on(
108
+ (e) => r("server:update:variables", o.value.active().server.updateServerVariables, a)(e)
109
+ ), t.on(
103
110
  "server:update:selected",
104
- (e) => r("server:update:selected", o.value.active().server.updateSelectedServer, t)(e)
105
- ), a.on(
111
+ (e) => r("server:update:selected", o.value.active().server.updateSelectedServer, a)(e)
112
+ ), t.on(
106
113
  "operation:create:operation",
107
- (e) => r("operation:create:operation", o.value.active().operation.createOperation, t)(e)
108
- ), a.on(
114
+ (e) => r("operation:create:operation", o.value.active().operation.createOperation, a)(e)
115
+ ), t.on(
109
116
  "operation:update:pathMethod",
110
117
  (e) => r(
111
118
  "operation:update:pathMethod",
112
119
  o.value.active().operation.updateOperationPathMethod,
113
- t
120
+ a
114
121
  )(e)
115
- ), a.on(
122
+ ), t.on(
116
123
  "operation:update:summary",
117
- (e) => r("operation:update:summary", o.value.active().operation.updateOperationSummary, t)(e)
118
- ), a.on(
124
+ (e) => r("operation:update:summary", o.value.active().operation.updateOperationSummary, a)(e)
125
+ ), t.on(
119
126
  "operation:delete:operation",
120
- (e) => r("operation:delete:operation", o.value.active().operation.deleteOperation, t)(e)
121
- ), a.on(
127
+ (e) => r("operation:delete:operation", o.value.active().operation.deleteOperation, a)(e)
128
+ ), t.on(
122
129
  "operation:delete:example",
123
- (e) => r("operation:delete:example", o.value.active().operation.deleteOperationExample, t)(e)
124
- ), a.on(
130
+ (e) => r("operation:delete:example", o.value.active().operation.deleteOperationExample, a)(e)
131
+ ), t.on(
125
132
  "operation:upsert:parameter",
126
- (e) => r("operation:upsert:parameter", o.value.active().operation.upsertOperationParameter, t)(e)
127
- ), a.on(
133
+ (e) => r("operation:upsert:parameter", o.value.active().operation.upsertOperationParameter, a)(e)
134
+ ), t.on(
128
135
  "operation:update:extra-parameters",
129
136
  (e) => r(
130
137
  "operation:update:extra-parameters",
131
138
  o.value.active().operation.updateOperationExtraParameters,
132
- t
139
+ a
133
140
  )(e)
134
- ), a.on(
141
+ ), t.on(
135
142
  "operation:delete:parameter",
136
- (e) => r("operation:delete:parameter", o.value.active().operation.deleteOperationParameter, t)(e)
137
- ), a.on(
143
+ (e) => r("operation:delete:parameter", o.value.active().operation.deleteOperationParameter, a)(e)
144
+ ), t.on(
138
145
  "operation:delete-all:parameters",
139
146
  (e) => r(
140
147
  "operation:delete-all:parameters",
141
148
  o.value.active().operation.deleteAllOperationParameters,
142
- t
149
+ a
143
150
  )(e)
144
- ), a.on(
151
+ ), t.on(
145
152
  "operation:update:requestBody:contentType",
146
153
  (e) => r(
147
154
  "operation:update:requestBody:contentType",
148
155
  o.value.active().operation.updateOperationRequestBodyContentType,
149
- t
156
+ a
150
157
  )(e)
151
- ), a.on(
158
+ ), t.on(
152
159
  "operation:update:requestBody:value",
153
160
  (e) => r(
154
161
  "operation:update:requestBody:value",
155
162
  o.value.active().operation.updateOperationRequestBodyExample,
156
- t
163
+ a
157
164
  )(e)
158
- ), a.on(
165
+ ), t.on(
159
166
  "operation:update:requestBody:formValue",
160
167
  (e) => r(
161
168
  "operation:update:requestBody:formValue",
162
169
  o.value.active().operation.updateOperationRequestBodyFormValue,
163
- t
170
+ a
164
171
  )(e)
165
- ), a.on(
172
+ ), t.on(
166
173
  "operation:reload:history",
167
- (e) => r("operation:reload:history", o.value.active().operation.reloadOperationHistory, t)(e)
168
- ), a.on(
174
+ (e) => r("operation:reload:history", o.value.active().operation.reloadOperationHistory, a)(e)
175
+ ), t.on(
169
176
  "tag:create:tag",
170
- (e) => r("tag:create:tag", o.value.active().tag.createTag, t)(e)
171
- ), a.on(
177
+ (e) => r("tag:create:tag", o.value.active().tag.createTag, a)(e)
178
+ ), t.on(
172
179
  "tag:delete:tag",
173
- (e) => r("tag:delete:tag", o.value.active().tag.deleteTag, t)(e)
174
- ), a.on(
180
+ (e) => r("tag:delete:tag", o.value.active().tag.deleteTag, a)(e)
181
+ ), t.on(
175
182
  "tabs:add:tab",
176
- (e) => r("tabs:add:tab", o.value.workspace().tabs.addTab, t)(e)
177
- ), a.on(
183
+ (e) => r("tabs:add:tab", o.value.workspace().tabs.addTab, a)(e)
184
+ ), t.on(
178
185
  "tabs:close:tab",
179
- (e) => r("tabs:close:tab", o.value.workspace().tabs.closeTab, t)(e)
180
- ), a.on(
186
+ (e) => r("tabs:close:tab", o.value.workspace().tabs.closeTab, a)(e)
187
+ ), t.on(
181
188
  "tabs:close:other-tabs",
182
- (e) => r("tabs:close:other-tabs", o.value.workspace().tabs.closeOtherTabs, t)(e)
183
- ), a.on(
189
+ (e) => r("tabs:close:other-tabs", o.value.workspace().tabs.closeOtherTabs, a)(e)
190
+ ), t.on(
184
191
  "tabs:focus:tab",
185
- (e) => r("tabs:focus:tab", o.value.workspace().tabs.focusTab, t)(e)
186
- ), a.on(
192
+ (e) => r("tabs:focus:tab", o.value.workspace().tabs.focusTab, a)(e)
193
+ ), t.on(
187
194
  "tabs:focus:tab-last",
188
- (e) => r("tabs:focus:tab-last", o.value.workspace().tabs.focusLastTab, t)(e)
189
- ), a.on(
195
+ (e) => r("tabs:focus:tab-last", o.value.workspace().tabs.focusLastTab, a)(e)
196
+ ), t.on(
190
197
  "tabs:navigate:previous",
191
- (e) => r("tabs:navigate:previous", o.value.workspace().tabs.navigatePreviousTab, t)(e)
192
- ), a.on(
198
+ (e) => r("tabs:navigate:previous", o.value.workspace().tabs.navigatePreviousTab, a)(e)
199
+ ), t.on(
193
200
  "tabs:navigate:next",
194
- (e) => r("tabs:navigate:next", o.value.workspace().tabs.navigateNextTab, t)(e)
195
- ), a.on(
201
+ (e) => r("tabs:navigate:next", o.value.workspace().tabs.navigateNextTab, a)(e)
202
+ ), t.on(
196
203
  "tabs:update:tabs",
197
- (e) => r("tabs:update:tabs", o.value.workspace().tabs.updateTabs, t)(e)
198
- ), a.on(
204
+ (e) => r("tabs:update:tabs", o.value.workspace().tabs.updateTabs, a)(e)
205
+ ), t.on(
199
206
  "hooks:on:request:complete",
200
- (e) => r("hooks:on:request:complete", o.value.active().operation.addResponseToHistory, t)(e)
207
+ (e) => r("hooks:on:request:complete", o.value.active().operation.addResponseToHistory, a)(e)
201
208
  );
202
209
  }
203
210
  export {
@@ -33,7 +33,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
33
33
  }));
34
34
  }, f = (u) => {
35
35
  u?.createNew && g.name === "request" && p();
36
- }, v = "2.23.0";
36
+ }, v = "2.23.3";
37
37
  return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (u, e) => (l(), n("div", W, [
38
38
  s("div", {
39
39
  class: y(["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.23.0",
21
+ "version": "2.23.3",
22
22
  "engines": {
23
23
  "node": ">=20"
24
24
  },
@@ -326,26 +326,26 @@
326
326
  "whatwg-mimetype": "4.0.0",
327
327
  "yaml": "^2.8.0",
328
328
  "zod": "^4.3.5",
329
- "@scalar/analytics-client": "1.0.1",
330
329
  "@scalar/draggable": "0.3.0",
331
- "@scalar/components": "0.17.2",
332
- "@scalar/helpers": "0.2.10",
330
+ "@scalar/components": "0.17.4",
331
+ "@scalar/analytics-client": "1.0.1",
333
332
  "@scalar/icons": "0.5.2",
334
- "@scalar/json-magic": "0.9.5",
335
- "@scalar/oas-utils": "0.6.32",
336
- "@scalar/object-utils": "1.2.24",
337
- "@scalar/import": "0.4.47",
338
- "@scalar/openapi-parser": "0.24.6",
333
+ "@scalar/import": "0.4.48",
334
+ "@scalar/json-magic": "0.9.6",
335
+ "@scalar/helpers": "0.2.11",
336
+ "@scalar/oas-utils": "0.6.34",
337
+ "@scalar/object-utils": "1.2.25",
338
+ "@scalar/openapi-parser": "0.24.7",
339
+ "@scalar/sidebar": "0.7.27",
339
340
  "@scalar/openapi-types": "0.5.3",
340
- "@scalar/sidebar": "0.7.25",
341
- "@scalar/snippetz": "0.6.10",
341
+ "@scalar/snippetz": "0.6.11",
342
+ "@scalar/postman-to-openapi": "0.4.3",
342
343
  "@scalar/themes": "0.14.0",
343
- "@scalar/types": "0.6.1",
344
- "@scalar/postman-to-openapi": "0.4.2",
345
- "@scalar/use-codemirror": "0.13.29",
344
+ "@scalar/types": "0.6.2",
346
345
  "@scalar/use-hooks": "0.3.7",
346
+ "@scalar/use-codemirror": "0.13.31",
347
347
  "@scalar/use-toasts": "0.9.1",
348
- "@scalar/workspace-store": "0.28.1"
348
+ "@scalar/workspace-store": "0.28.3"
349
349
  },
350
350
  "devDependencies": {
351
351
  "@tailwindcss/vite": "^4.1.18",
@@ -360,8 +360,8 @@
360
360
  "vite": "^7.3.1",
361
361
  "vite-svg-loader": "5.1.0",
362
362
  "vitest": "4.0.16",
363
- "@scalar/build-tooling": "0.4.1",
364
- "@scalar/galaxy": "0.5.12"
363
+ "@scalar/galaxy": "0.5.12",
364
+ "@scalar/build-tooling": "0.4.1"
365
365
  },
366
366
  "scripts": {
367
367
  "build": "scalar-build-vite",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=operation-to-har.bench.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operation-to-har.bench.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.ts"],"names":[],"mappings":""}