@scalar/api-client 2.37.0 → 2.38.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 (46) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/style.css +1 -1
  3. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  4. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +87 -78
  5. package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
  6. package/dist/v2/blocks/operation-block/components/Header.vue2.js +5 -5
  7. package/dist/v2/blocks/operation-block/helpers/response-cache.d.ts +30 -0
  8. package/dist/v2/blocks/operation-block/helpers/response-cache.d.ts.map +1 -0
  9. package/dist/v2/blocks/operation-block/helpers/response-cache.js +12 -0
  10. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  11. package/dist/v2/blocks/request-block/RequestBlock.vue.js +2 -2
  12. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +83 -80
  13. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  14. package/dist/v2/blocks/request-block/components/RequestBody.vue.js +2 -2
  15. package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +65 -61
  16. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts +3 -1
  17. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts.map +1 -1
  18. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js +42 -32
  19. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  20. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.d.ts +4 -7
  21. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.d.ts.map +1 -1
  22. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +27 -7
  23. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +2 -0
  24. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  25. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +23 -21
  26. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  27. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +19 -14
  28. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -1
  29. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +72 -66
  30. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +4 -4
  31. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -1
  32. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
  33. package/dist/v2/components/sidebar/SidebarMenu.vue.js +24 -22
  34. package/dist/v2/features/app/app-events.js +2 -2
  35. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts +1 -1
  36. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js +3 -3
  37. package/dist/v2/features/collection/components/Form.vue.d.ts +1 -0
  38. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
  39. package/dist/v2/features/collection/components/Form.vue.js +23 -23
  40. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  41. package/dist/v2/features/collection/components/Servers.vue.js +5 -4
  42. package/dist/v2/features/operation/Operation.vue.js +1 -1
  43. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
  44. package/dist/v2/features/settings/components/Section.vue.js +10 -10
  45. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  46. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.38.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#8468](https://github.com/scalar/scalar/pull/8468): fix: example extraction, environment navigation and general UI fixes
8
+ - [#8451](https://github.com/scalar/scalar/pull/8451): fix(api-client): default-close auth when not required
9
+
10
+ #### Updated Dependencies
11
+
12
+ - **@scalar/workspace-store@0.40.2**
13
+ - [#8468](https://github.com/scalar/scalar/pull/8468): fix: ignore response examples when generating navigation
14
+
15
+ - **@scalar/openapi-parser@0.25.4**
16
+ - [#8448](https://github.com/scalar/scalar/pull/8448): fix parser validation for unused path parameters
17
+
18
+ - **@scalar/components@0.20.9**
19
+ - [#8453](https://github.com/scalar/scalar/pull/8453): refactor: remove @ts-expect-error from ScalarTextArea
20
+
21
+ - **@scalar/oas-utils@0.10.8**
22
+
23
+ - **@scalar/sidebar@0.8.9**
24
+
25
+ - **@scalar/use-codemirror@0.14.9**
26
+
27
+ ## 2.38.0
28
+
29
+ ### Minor Changes
30
+
31
+ - [#8444](https://github.com/scalar/scalar/pull/8444): feat: cache last response for an example
32
+
33
+ ### Patch Changes
34
+
35
+ - [#8424](https://github.com/scalar/scalar/pull/8424): fix(api-client): persist oauth credentials location
36
+ - [#8428](https://github.com/scalar/scalar/pull/8428): fix: overflow issues for mac app version
37
+ - [#8447](https://github.com/scalar/scalar/pull/8447): fix: propagate schema to request body form-data table
38
+
39
+ #### Updated Dependencies
40
+
41
+ - **@scalar/workspace-store@0.40.1**
42
+ - [#8424](https://github.com/scalar/scalar/pull/8424): feat: export XScalarCredentialsLocation
43
+ - [#8445](https://github.com/scalar/scalar/pull/8445): fix: generate unique id for models
44
+
45
+ - **@scalar/oas-utils@0.10.7**
46
+
47
+ - **@scalar/sidebar@0.8.8**
48
+
49
+ - **@scalar/components@0.20.8**
50
+
51
+ - **@scalar/use-codemirror@0.14.8**
52
+
3
53
  ## 2.37.0
4
54
 
5
55
  ### Minor Changes