@scalar/api-client 2.20.2 → 2.21.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 (80) hide show
  1. package/CHANGELOG.md +49 -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 +56 -59
  5. package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts.map +1 -1
  6. package/dist/v2/blocks/operation-block/helpers/build-request-parameters.js +52 -51
  7. package/dist/v2/blocks/operation-block/helpers/de-serialize-parameter.d.ts +4 -0
  8. package/dist/v2/blocks/operation-block/helpers/de-serialize-parameter.d.ts.map +1 -0
  9. package/dist/v2/blocks/operation-block/helpers/de-serialize-parameter.js +23 -0
  10. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.d.ts.map +1 -1
  11. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.js +24 -23
  12. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  13. package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts +2 -8
  14. package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts.map +1 -1
  15. package/dist/v2/blocks/response-block/ResponseBlock.vue.js +2 -2
  16. package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +57 -60
  17. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -1
  18. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.js +61 -41
  19. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +0 -3
  20. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
  21. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
  22. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue2.js +31 -34
  23. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts +3 -3
  24. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  25. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js +2 -2
  26. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue2.js +26 -20
  27. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts +4 -2
  28. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts.map +1 -1
  29. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.js +39 -33
  30. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  31. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  32. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +64 -64
  33. package/dist/v2/blocks/scalar-address-bar-block/hooks/use-loading-animation.d.ts +1 -0
  34. package/dist/v2/blocks/scalar-address-bar-block/hooks/use-loading-animation.d.ts.map +1 -1
  35. package/dist/v2/blocks/scalar-address-bar-block/hooks/use-loading-animation.js +12 -11
  36. package/dist/v2/components/code-input/CodeInput.vue.d.ts +152 -95
  37. package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
  38. package/dist/v2/components/code-input/CodeInput.vue.js +2 -2
  39. package/dist/v2/components/code-input/CodeInput.vue2.js +87 -99
  40. package/dist/v2/features/app/App.vue.d.ts +3 -0
  41. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  42. package/dist/v2/features/app/App.vue.js +43 -42
  43. package/dist/v2/features/app/app-events.d.ts +1 -3
  44. package/dist/v2/features/app/app-events.d.ts.map +1 -1
  45. package/dist/v2/features/app/app-events.js +37 -43
  46. package/dist/v2/features/app/app-state.d.ts +0 -2
  47. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  48. package/dist/v2/features/app/app-state.js +87 -90
  49. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
  50. package/dist/v2/features/app/helpers/create-api-client-app.js +14 -8
  51. package/dist/v2/features/app/index.d.ts +1 -0
  52. package/dist/v2/features/app/index.d.ts.map +1 -1
  53. package/dist/v2/features/app/index.js +11 -7
  54. package/dist/v2/features/command-palette/{components/TheCommandPalette.vue.d.ts → TheCommandPalette.vue.d.ts} +3 -3
  55. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +1 -0
  56. package/dist/v2/features/command-palette/TheCommandPalette.vue.js +7 -0
  57. package/dist/v2/features/command-palette/TheCommandPalette.vue2.js +152 -0
  58. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +9 -2
  59. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +1 -1
  60. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +61 -55
  61. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts +2 -2
  62. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts.map +1 -1
  63. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js +1 -1
  64. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue2.js +26 -26
  65. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts.map +1 -1
  66. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js +30 -24
  67. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +240 -151
  68. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +1 -1
  69. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +114 -102
  70. package/dist/v2/features/operation/Operation.vue.js +1 -1
  71. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  72. package/package.json +11 -16
  73. package/dist/v2/features/command-palette/components/TheCommandPalette.vue.d.ts.map +0 -1
  74. package/dist/v2/features/command-palette/components/TheCommandPalette.vue.js +0 -7
  75. package/dist/v2/features/command-palette/components/TheCommandPalette.vue2.js +0 -172
  76. package/dist/v2/features/command-palette/components/index.d.ts +0 -2
  77. package/dist/v2/features/command-palette/components/index.d.ts.map +0 -1
  78. package/dist/v2/features/command-palette/components/index.js +0 -4
  79. package/dist/v2/features/command-palette/types.d.ts +0 -83
  80. package/dist/v2/features/command-palette/types.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.21.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#7925](https://github.com/scalar/scalar/pull/7925): fix: allow collapsing documents
8
+ - [#7926](https://github.com/scalar/scalar/pull/7926): Make V2 command palette extensible and improve types
9
+
10
+ #### Updated Dependencies
11
+
12
+ - **@scalar/workspace-store@0.27.1**
13
+ - [#7926](https://github.com/scalar/scalar/pull/7926): Make V2 command palette extensible and improve types
14
+
15
+ - **@scalar/oas-utils@0.6.29**
16
+
17
+ - **@scalar/sidebar@0.7.22**
18
+
19
+ - **@scalar/components@0.16.32**
20
+
21
+ - **@scalar/use-codemirror@0.13.26**
22
+
23
+ ## 2.21.0
24
+
25
+ ### Minor Changes
26
+
27
+ - [#7897](https://github.com/scalar/scalar/pull/7897): feat: cancel request and stop streaming responses
28
+
29
+ ### Patch Changes
30
+
31
+ - [#7906](https://github.com/scalar/scalar/pull/7906): feat: remove parsing from codeinput and move to getExample
32
+
33
+ #### Updated Dependencies
34
+
35
+ - **@scalar/workspace-store@0.27.0**
36
+ - [#7906](https://github.com/scalar/scalar/pull/7906): feat: remove parsing from codeinput and move to getExample
37
+ - [#7905](https://github.com/scalar/scalar/pull/7905): feat: support loading files on the store
38
+
39
+ - **@scalar/json-magic@0.9.4**
40
+ - [#7922](https://github.com/scalar/scalar/pull/7922): fix: resolve $ref entries inside arrays (e.g. oneOf, allOf) in prefixInternalRefRecursive
41
+
42
+ - **@scalar/oas-utils@0.6.28**
43
+
44
+ - **@scalar/sidebar@0.7.21**
45
+
46
+ - **@scalar/openapi-parser@0.24.5**
47
+
48
+ - **@scalar/components@0.16.31**
49
+
50
+ - **@scalar/use-codemirror@0.13.25**
51
+
3
52
  ## 2.20.2
4
53
 
5
54
  ### Patch Changes