@scalar/api-client 2.19.3 → 2.20.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 (62) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/dist/style.css +1 -1
  3. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +0 -9
  4. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  5. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +126 -67
  6. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +6 -0
  7. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  8. package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
  9. package/dist/v2/blocks/operation-block/components/Header.vue2.js +25 -24
  10. package/dist/v2/blocks/operation-block/helpers/build-request-cookie-header.d.ts +1 -1
  11. package/dist/v2/blocks/operation-block/helpers/build-request-cookie-header.d.ts.map +1 -1
  12. package/dist/v2/blocks/operation-block/helpers/build-request-cookie-header.js +1 -1
  13. package/dist/v2/blocks/operation-block/helpers/build-request.d.ts.map +1 -1
  14. package/dist/v2/blocks/operation-block/helpers/build-request.js +44 -41
  15. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.d.ts +42 -0
  16. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.d.ts.map +1 -0
  17. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.js +31 -0
  18. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.d.ts +66 -0
  19. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.d.ts.map +1 -0
  20. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.js +43 -0
  21. package/dist/v2/blocks/operation-block/helpers/send-request.d.ts +1 -0
  22. package/dist/v2/blocks/operation-block/helpers/send-request.d.ts.map +1 -1
  23. package/dist/v2/blocks/operation-block/helpers/send-request.js +40 -38
  24. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  25. package/dist/v2/blocks/request-block/RequestBlock.vue.js +2 -2
  26. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +34 -33
  27. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +3 -1
  28. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  29. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +28 -28
  30. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
  31. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +31 -22
  32. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  33. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +6 -0
  34. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  35. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  36. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +24 -23
  37. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts +2 -3
  38. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts.map +1 -1
  39. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.js +2 -2
  40. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +20 -20
  41. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +2 -2
  42. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +5 -0
  43. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  44. package/dist/v2/components/sidebar/Sidebar.vue.js +60 -54
  45. package/dist/v2/features/app/app-events.d.ts.map +1 -1
  46. package/dist/v2/features/app/app-events.js +53 -42
  47. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  48. package/dist/v2/features/app/app-state.js +72 -72
  49. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  50. package/dist/v2/features/app/components/AppSidebar.vue.js +1 -1
  51. package/dist/v2/features/app/components/AppSidebar.vue2.js +84 -76
  52. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  53. package/dist/v2/features/collection/DocumentCollection.vue.js +82 -43
  54. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  55. package/dist/v2/features/operation/Operation.vue.js +2 -3
  56. package/dist/v2/features/operation/helpers/combine-params.d.ts +2 -2
  57. package/dist/v2/features/operation/helpers/combine-params.d.ts.map +1 -1
  58. package/dist/v2/features/operation/helpers/combine-params.js +11 -10
  59. package/dist/v2/workspace-events.d.ts.map +1 -1
  60. package/dist/v2/workspace-events.js +12 -6
  61. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  62. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,59 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.20.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#7888](https://github.com/scalar/scalar/pull/7888): fix: more robust parameter upsert and deletion
8
+ - [#7889](https://github.com/scalar/scalar/pull/7889): fix: only attach the body to methods that allow
9
+
10
+ #### Updated Dependencies
11
+
12
+ - **@scalar/workspace-store@0.26.1**
13
+ - [#7888](https://github.com/scalar/scalar/pull/7888): fix: more robust parameter upsert and deletion
14
+
15
+ - **@scalar/oas-utils@0.6.26**
16
+
17
+ - **@scalar/sidebar@0.7.19**
18
+
19
+ - **@scalar/components@0.16.29**
20
+
21
+ - **@scalar/use-codemirror@0.13.23**
22
+
23
+ ## 2.20.0
24
+
25
+ ### Minor Changes
26
+
27
+ - [#7866](https://github.com/scalar/scalar/pull/7866): feat: save, revert and history support
28
+
29
+ ### Patch Changes
30
+
31
+ - [#7886](https://github.com/scalar/scalar/pull/7886): fix: cancel request when navigating away from operation page
32
+ - [#7884](https://github.com/scalar/scalar/pull/7884): fix: sync state when rebuilding sidebar
33
+
34
+ #### Updated Dependencies
35
+
36
+ - **@scalar/sidebar@0.7.18**
37
+ - [#7866](https://github.com/scalar/scalar/pull/7866): feat: support custom icon per entry
38
+
39
+ - **@scalar/workspace-store@0.26.0**
40
+ - [#7866](https://github.com/scalar/scalar/pull/7866): feat: history per operation support
41
+ - [#7886](https://github.com/scalar/scalar/pull/7886): fix: unpack proxy when we pop history items
42
+
43
+ - **@scalar/snippetz@0.6.7**
44
+ - [#7866](https://github.com/scalar/scalar/pull/7866): chore: expose har types
45
+
46
+ - **@scalar/types@0.5.9**
47
+ - [#7866](https://github.com/scalar/scalar/pull/7866): chore: expose har types
48
+
49
+ - **@scalar/oas-utils@0.6.25**
50
+
51
+ - **@scalar/openapi-parser@0.24.3**
52
+
53
+ - **@scalar/components@0.16.28**
54
+
55
+ - **@scalar/use-codemirror@0.13.22**
56
+
3
57
  ## 2.19.3
4
58
 
5
59
  ### Patch Changes