@scalar/api-client 2.18.0 → 2.18.1

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 (30) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/hooks/useClientConfig.js +1 -1
  3. package/dist/hooks/useLayout.js +1 -1
  4. package/dist/hooks/useSidebar.js +1 -1
  5. package/dist/plugins/hooks/usePluginManager.js +1 -1
  6. package/dist/store/active-entities.js +1 -1
  7. package/dist/style.css +1 -1
  8. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  9. package/dist/v2/blocks/operation-block/helpers/get-delimiter.js +0 -2
  10. package/dist/v2/blocks/request-block/helpers/get-request-body-example.js +1 -1
  11. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  12. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +36 -35
  13. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  14. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +17 -17
  15. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +2 -2
  16. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  17. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +130 -122
  18. package/dist/v2/features/app/helpers/routes.d.ts +5 -1
  19. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  20. package/dist/v2/features/modal/Modal.vue.d.ts +1 -1
  21. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  22. package/dist/v2/features/modal/Modal.vue.js +1 -1
  23. package/dist/v2/features/modal/Modal.vue2.js +26 -25
  24. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +3 -3
  25. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
  26. package/dist/v2/features/operation/Operation.vue.d.ts +5 -1
  27. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  28. package/dist/v2/features/operation/Operation.vue.js +22 -20
  29. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  30. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.18.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#7744](https://github.com/scalar/scalar/pull/7744): fix: pass hideClientButton config into client modal
8
+ - [#7743](https://github.com/scalar/scalar/pull/7743): fix: complex auth
9
+ - [#7740](https://github.com/scalar/scalar/pull/7740): fix: filter out readonly properties from requestBody
10
+ - [#7742](https://github.com/scalar/scalar/pull/7742): feat: export auth component + proxy fix
11
+
12
+ #### Updated Dependencies
13
+
14
+ - **@scalar/workspace-store@0.24.7**
15
+ - [#7745](https://github.com/scalar/scalar/pull/7745): fix: add nested array support to references
16
+
17
+ - **@scalar/oas-utils@0.6.17**
18
+
19
+ - **@scalar/sidebar@0.7.10**
20
+
21
+ - **@scalar/components@0.16.20**
22
+
23
+ - **@scalar/postman-to-openapi@0.3.58**
24
+
25
+ - **@scalar/use-codemirror@0.13.14**
26
+
3
27
  ## 2.18.0
4
28
 
5
29
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  import { apiClientConfigurationSchema as o } from "@scalar/types/api-reference";
2
2
  import { inject as i, ref as t } from "vue";
3
- const e = Symbol(), m = () => i(e, t(o.parse({})));
3
+ const e = /* @__PURE__ */ Symbol(), m = () => i(e, t(o.parse({})));
4
4
  export {
5
5
  e as CLIENT_CONFIGURATION_SYMBOL,
6
6
  m as useClientConfig
@@ -1,5 +1,5 @@
1
1
  import { inject as o } from "vue";
2
- const t = Symbol(), s = () => ({
2
+ const t = /* @__PURE__ */ Symbol(), s = () => ({
3
3
  layout: o(t, "desktop")
4
4
  });
5
5
  export {
@@ -5,7 +5,7 @@ const O = ({ layout: t }) => {
5
5
  collapsedSidebarFolders: e,
6
6
  isSidebarOpen: r
7
7
  };
8
- }, p = Symbol(), m = () => {
8
+ }, p = /* @__PURE__ */ Symbol(), m = () => {
9
9
  const t = S(p);
10
10
  if (!t)
11
11
  throw new Error("useSidebar must have injected SIDEBAR_SYMBOL");
@@ -1,6 +1,6 @@
1
1
  import { createPluginManager as n } from "../plugin-manager.js";
2
2
  import { inject as e } from "vue";
3
- const t = Symbol(), i = () => {
3
+ const t = /* @__PURE__ */ Symbol(), i = () => {
4
4
  const r = e(t);
5
5
  return r || n({});
6
6
  };
@@ -105,7 +105,7 @@ const T = ({
105
105
  activeEnvVariables: h,
106
106
  activeWorkspaceRequests: x
107
107
  };
108
- }, R = Symbol(), V = () => {
108
+ }, R = /* @__PURE__ */ Symbol(), V = () => {
109
109
  const a = q(R);
110
110
  if (!a)
111
111
  throw new Error("Active entities store not provided");