@scalar/api-client 2.31.3 → 2.33.0

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 (102) hide show
  1. package/CHANGELOG.md +94 -0
  2. package/dist/assets/yaml.worker-CcQnAKCg.js +490 -0
  3. package/dist/style.css +1 -1
  4. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  5. package/dist/v2/features/app/App.vue.d.ts +0 -5
  6. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  7. package/dist/v2/features/app/App.vue.js +57 -60
  8. package/dist/v2/features/app/app-state.d.ts +17 -2
  9. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  10. package/dist/v2/features/app/app-state.js +117 -105
  11. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
  12. package/dist/v2/features/app/helpers/create-api-client-app.js +1 -3
  13. package/dist/v2/features/app/helpers/routes.d.ts +17 -0
  14. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  15. package/dist/v2/features/app/helpers/routes.js +8 -2
  16. package/dist/v2/features/app/hooks/use-theme.d.ts +14 -0
  17. package/dist/v2/features/app/hooks/use-theme.d.ts.map +1 -1
  18. package/dist/v2/features/app/hooks/use-theme.js +42 -28
  19. package/dist/v2/features/collection/DocumentCollection.vue.js +8 -6
  20. package/dist/v2/features/collection/OperationCollection.vue.js +14 -12
  21. package/dist/v2/features/collection/WorkspaceCollection.vue.js +9 -7
  22. package/dist/v2/features/collection/components/Authentication.vue2.js +19 -17
  23. package/dist/v2/features/collection/components/Cookies.vue.js +10 -8
  24. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts +16 -0
  25. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts.map +1 -0
  26. package/dist/v2/features/collection/components/Editor/Editor.vue.js +7 -0
  27. package/dist/v2/features/collection/components/Editor/Editor.vue2.js +333 -0
  28. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts +19 -0
  29. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts.map +1 -0
  30. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js +78 -0
  31. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue2.js +4 -0
  32. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts +16 -0
  33. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts.map +1 -0
  34. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js +83 -0
  35. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue2.js +4 -0
  36. package/dist/v2/features/collection/components/Editor/helpers/apply-scalar-theme.d.ts +16 -0
  37. package/dist/v2/features/collection/components/Editor/helpers/apply-scalar-theme.d.ts.map +1 -0
  38. package/dist/v2/features/collection/components/Editor/helpers/apply-scalar-theme.js +56 -0
  39. package/dist/v2/features/collection/components/Editor/helpers/configure-language-support.d.ts +7 -0
  40. package/dist/v2/features/collection/components/Editor/helpers/configure-language-support.d.ts.map +1 -0
  41. package/dist/v2/features/collection/components/Editor/helpers/configure-language-support.js +40 -0
  42. package/dist/v2/features/collection/components/Editor/helpers/ensure-monaco-environment.d.ts +6 -0
  43. package/dist/v2/features/collection/components/Editor/helpers/ensure-monaco-environment.d.ts.map +1 -0
  44. package/dist/v2/features/collection/components/Editor/helpers/ensure-monaco-environment.js +23 -0
  45. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts +12 -0
  46. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts.map +1 -0
  47. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js +10 -0
  48. package/dist/v2/features/collection/components/Editor/helpers/get-json-ast-node-from-path.d.ts +14 -0
  49. package/dist/v2/features/collection/components/Editor/helpers/get-json-ast-node-from-path.d.ts.map +1 -0
  50. package/dist/v2/features/collection/components/Editor/helpers/get-json-ast-node-from-path.js +9 -0
  51. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts +11 -0
  52. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts.map +1 -0
  53. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js +5 -0
  54. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts +7 -0
  55. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts.map +1 -0
  56. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js +5 -0
  57. package/dist/v2/features/collection/components/Editor/helpers/get-yaml-node-range-from-path.d.ts +19 -0
  58. package/dist/v2/features/collection/components/Editor/helpers/get-yaml-node-range-from-path.d.ts.map +1 -0
  59. package/dist/v2/features/collection/components/Editor/helpers/get-yaml-node-range-from-path.js +50 -0
  60. package/dist/v2/features/collection/components/Editor/helpers/json-ast.d.ts +12 -0
  61. package/dist/v2/features/collection/components/Editor/helpers/json-ast.d.ts.map +1 -0
  62. package/dist/v2/features/collection/components/Editor/helpers/json-ast.js +24 -0
  63. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-links.d.ts +15 -0
  64. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-links.d.ts.map +1 -0
  65. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-links.js +72 -0
  66. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-path.d.ts +7 -0
  67. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-path.d.ts.map +1 -0
  68. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-path.js +20 -0
  69. package/dist/v2/features/collection/components/Editor/helpers/load-css-variables.d.ts +14 -0
  70. package/dist/v2/features/collection/components/Editor/helpers/load-css-variables.d.ts.map +1 -0
  71. package/dist/v2/features/collection/components/Editor/helpers/load-css-variables.js +21 -0
  72. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts +10 -0
  73. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts.map +1 -0
  74. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js +21 -0
  75. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts +10 -0
  76. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts.map +1 -0
  77. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js +5 -0
  78. package/dist/v2/features/collection/components/Editor/helpers/yaml.worker.d.ts +2 -0
  79. package/dist/v2/features/collection/components/Editor/helpers/yaml.worker.d.ts.map +1 -0
  80. package/dist/v2/features/collection/components/Editor/helpers/yaml.worker.js +11 -0
  81. package/dist/v2/features/collection/components/Editor/hooks/use-editor-markers.d.ts +152 -0
  82. package/dist/v2/features/collection/components/Editor/hooks/use-editor-markers.d.ts.map +1 -0
  83. package/dist/v2/features/collection/components/Editor/hooks/use-editor-markers.js +34 -0
  84. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts +14 -0
  85. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts.map +1 -0
  86. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js +25 -0
  87. package/dist/v2/features/collection/components/Editor/hooks/use-editor.d.ts +39 -0
  88. package/dist/v2/features/collection/components/Editor/hooks/use-editor.d.ts.map +1 -0
  89. package/dist/v2/features/collection/components/Editor/hooks/use-editor.js +153 -0
  90. package/dist/v2/features/collection/components/Editor/index.d.ts +2 -0
  91. package/dist/v2/features/collection/components/Editor/index.d.ts.map +1 -0
  92. package/dist/v2/features/collection/components/Editor/index.js +4 -0
  93. package/dist/v2/features/collection/components/Editor/schemas/openapi-3.1-schema.json.js +25 -0
  94. package/dist/v2/features/collection/components/Environment.vue.js +8 -6
  95. package/dist/v2/features/collection/components/Overview.vue2.js +16 -14
  96. package/dist/v2/features/collection/components/Servers.vue.js +18 -16
  97. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
  98. package/dist/v2/features/collection/components/Settings.vue.js +6 -4
  99. package/dist/v2/features/collection/components/Tabs.vue.js +4 -4
  100. package/dist/v2/features/operation/Operation.vue.js +9 -7
  101. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  102. package/package.json +32 -25
package/CHANGELOG.md CHANGED
@@ -1,5 +1,99 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.33.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#8266](https://github.com/scalar/scalar/pull/8266): support operation level authentication and servers
8
+
9
+ ### Patch Changes
10
+
11
+ #### Updated Dependencies
12
+
13
+ - **@scalar/workspace-store@0.37.0**
14
+ - [#8266](https://github.com/scalar/scalar/pull/8266): support operation level authentication and servers
15
+
16
+ - **@scalar/oas-utils@0.10.0**
17
+ - [#8266](https://github.com/scalar/scalar/pull/8266): support operation level authentication and servers
18
+
19
+ - **@scalar/sidebar@0.8.1**
20
+
21
+ - **@scalar/components@0.20.1**
22
+
23
+ - **@scalar/use-codemirror@0.14.1**
24
+
25
+ ## 2.32.0
26
+
27
+ ### Minor Changes
28
+
29
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
30
+
31
+ ### Patch Changes
32
+
33
+ #### Updated Dependencies
34
+
35
+ - **@scalar/workspace-store@0.36.0**
36
+ - [#8340](https://github.com/scalar/scalar/pull/8340): feat: support navigation options on server store
37
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
38
+ - [#8340](https://github.com/scalar/scalar/pull/8340): chore: disable perf logs by default
39
+
40
+ - **@scalar/postman-to-openapi@0.5.0**
41
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
42
+
43
+ - **@scalar/analytics-client@1.1.0**
44
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
45
+
46
+ - **@scalar/openapi-parser@0.25.0**
47
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
48
+
49
+ - **@scalar/use-codemirror@0.14.0**
50
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
51
+
52
+ - **@scalar/openapi-types@0.6.0**
53
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
54
+
55
+ - **@scalar/object-utils@1.3.0**
56
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
57
+
58
+ - **@scalar/components@0.20.0**
59
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
60
+
61
+ - **@scalar/json-magic@0.12.0**
62
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
63
+
64
+ - **@scalar/use-toasts@0.10.0**
65
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
66
+
67
+ - **@scalar/draggable@0.4.0**
68
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
69
+
70
+ - **@scalar/oas-utils@0.9.0**
71
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
72
+
73
+ - **@scalar/use-hooks@0.4.0**
74
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
75
+
76
+ - **@scalar/snippetz@0.7.0**
77
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
78
+
79
+ - **@scalar/helpers@0.3.0**
80
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
81
+
82
+ - **@scalar/sidebar@0.8.0**
83
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
84
+
85
+ - **@scalar/import@0.5.0**
86
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
87
+
88
+ - **@scalar/themes@0.15.0**
89
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
90
+
91
+ - **@scalar/icons@0.6.0**
92
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
93
+
94
+ - **@scalar/types@0.7.0**
95
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
96
+
3
97
  ## 2.31.3
4
98
 
5
99
  ### Patch Changes