@scalar/api-client 2.32.0 → 2.34.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 (114) hide show
  1. package/CHANGELOG.md +52 -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/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  6. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +45 -39
  7. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -1
  8. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +41 -34
  9. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +6 -2
  10. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  11. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +66 -66
  12. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +2 -2
  13. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -1
  14. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +1 -0
  15. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -1
  16. package/dist/v2/features/app/App.vue.d.ts +0 -5
  17. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  18. package/dist/v2/features/app/App.vue.js +57 -60
  19. package/dist/v2/features/app/app-state.d.ts +17 -2
  20. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  21. package/dist/v2/features/app/app-state.js +114 -102
  22. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +1 -1
  23. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
  24. package/dist/v2/features/app/helpers/create-api-client-app.js +2 -4
  25. package/dist/v2/features/app/helpers/routes.d.ts +17 -0
  26. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  27. package/dist/v2/features/app/helpers/routes.js +8 -2
  28. package/dist/v2/features/app/hooks/use-theme.d.ts +14 -0
  29. package/dist/v2/features/app/hooks/use-theme.d.ts.map +1 -1
  30. package/dist/v2/features/app/hooks/use-theme.js +42 -28
  31. package/dist/v2/features/collection/DocumentCollection.vue.js +8 -6
  32. package/dist/v2/features/collection/OperationCollection.vue.js +14 -12
  33. package/dist/v2/features/collection/WorkspaceCollection.vue.js +9 -7
  34. package/dist/v2/features/collection/components/Authentication.vue2.js +19 -17
  35. package/dist/v2/features/collection/components/Cookies.vue.js +10 -8
  36. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts +16 -0
  37. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts.map +1 -0
  38. package/dist/v2/features/collection/components/Editor/Editor.vue.js +7 -0
  39. package/dist/v2/features/collection/components/Editor/Editor.vue2.js +333 -0
  40. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts +19 -0
  41. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts.map +1 -0
  42. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js +78 -0
  43. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue2.js +4 -0
  44. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts +16 -0
  45. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts.map +1 -0
  46. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js +83 -0
  47. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue2.js +4 -0
  48. package/dist/v2/features/collection/components/Editor/helpers/apply-scalar-theme.d.ts +16 -0
  49. package/dist/v2/features/collection/components/Editor/helpers/apply-scalar-theme.d.ts.map +1 -0
  50. package/dist/v2/features/collection/components/Editor/helpers/apply-scalar-theme.js +56 -0
  51. package/dist/v2/features/collection/components/Editor/helpers/configure-language-support.d.ts +7 -0
  52. package/dist/v2/features/collection/components/Editor/helpers/configure-language-support.d.ts.map +1 -0
  53. package/dist/v2/features/collection/components/Editor/helpers/configure-language-support.js +40 -0
  54. package/dist/v2/features/collection/components/Editor/helpers/ensure-monaco-environment.d.ts +6 -0
  55. package/dist/v2/features/collection/components/Editor/helpers/ensure-monaco-environment.d.ts.map +1 -0
  56. package/dist/v2/features/collection/components/Editor/helpers/ensure-monaco-environment.js +23 -0
  57. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts +12 -0
  58. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts.map +1 -0
  59. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js +10 -0
  60. package/dist/v2/features/collection/components/Editor/helpers/get-json-ast-node-from-path.d.ts +14 -0
  61. package/dist/v2/features/collection/components/Editor/helpers/get-json-ast-node-from-path.d.ts.map +1 -0
  62. package/dist/v2/features/collection/components/Editor/helpers/get-json-ast-node-from-path.js +9 -0
  63. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts +11 -0
  64. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts.map +1 -0
  65. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js +5 -0
  66. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts +7 -0
  67. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts.map +1 -0
  68. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js +5 -0
  69. package/dist/v2/features/collection/components/Editor/helpers/get-yaml-node-range-from-path.d.ts +19 -0
  70. package/dist/v2/features/collection/components/Editor/helpers/get-yaml-node-range-from-path.d.ts.map +1 -0
  71. package/dist/v2/features/collection/components/Editor/helpers/get-yaml-node-range-from-path.js +50 -0
  72. package/dist/v2/features/collection/components/Editor/helpers/json-ast.d.ts +12 -0
  73. package/dist/v2/features/collection/components/Editor/helpers/json-ast.d.ts.map +1 -0
  74. package/dist/v2/features/collection/components/Editor/helpers/json-ast.js +24 -0
  75. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-links.d.ts +15 -0
  76. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-links.d.ts.map +1 -0
  77. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-links.js +72 -0
  78. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-path.d.ts +7 -0
  79. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-path.d.ts.map +1 -0
  80. package/dist/v2/features/collection/components/Editor/helpers/json-pointer-path.js +20 -0
  81. package/dist/v2/features/collection/components/Editor/helpers/load-css-variables.d.ts +14 -0
  82. package/dist/v2/features/collection/components/Editor/helpers/load-css-variables.d.ts.map +1 -0
  83. package/dist/v2/features/collection/components/Editor/helpers/load-css-variables.js +21 -0
  84. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts +10 -0
  85. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts.map +1 -0
  86. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js +21 -0
  87. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts +10 -0
  88. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts.map +1 -0
  89. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js +5 -0
  90. package/dist/v2/features/collection/components/Editor/helpers/yaml.worker.d.ts +2 -0
  91. package/dist/v2/features/collection/components/Editor/helpers/yaml.worker.d.ts.map +1 -0
  92. package/dist/v2/features/collection/components/Editor/helpers/yaml.worker.js +11 -0
  93. package/dist/v2/features/collection/components/Editor/hooks/use-editor-markers.d.ts +152 -0
  94. package/dist/v2/features/collection/components/Editor/hooks/use-editor-markers.d.ts.map +1 -0
  95. package/dist/v2/features/collection/components/Editor/hooks/use-editor-markers.js +34 -0
  96. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts +14 -0
  97. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts.map +1 -0
  98. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js +25 -0
  99. package/dist/v2/features/collection/components/Editor/hooks/use-editor.d.ts +39 -0
  100. package/dist/v2/features/collection/components/Editor/hooks/use-editor.d.ts.map +1 -0
  101. package/dist/v2/features/collection/components/Editor/hooks/use-editor.js +153 -0
  102. package/dist/v2/features/collection/components/Editor/index.d.ts +2 -0
  103. package/dist/v2/features/collection/components/Editor/index.d.ts.map +1 -0
  104. package/dist/v2/features/collection/components/Editor/index.js +4 -0
  105. package/dist/v2/features/collection/components/Editor/schemas/openapi-3.1-schema.json.js +25 -0
  106. package/dist/v2/features/collection/components/Environment.vue.js +8 -6
  107. package/dist/v2/features/collection/components/Overview.vue2.js +16 -14
  108. package/dist/v2/features/collection/components/Servers.vue.js +18 -16
  109. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
  110. package/dist/v2/features/collection/components/Settings.vue.js +6 -4
  111. package/dist/v2/features/collection/components/Tabs.vue.js +4 -4
  112. package/dist/v2/features/operation/Operation.vue.js +9 -7
  113. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  114. package/package.json +20 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.34.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#8365](https://github.com/scalar/scalar/pull/8365): feat: store oauth flow refresh tokens on the auth store
8
+
9
+ ### Patch Changes
10
+
11
+ - [#8356](https://github.com/scalar/scalar/pull/8356): fix: make fallback theme reactive
12
+
13
+ #### Updated Dependencies
14
+
15
+ - **@scalar/workspace-store@0.38.0**
16
+ - [#8347](https://github.com/scalar/scalar/pull/8347): chore: export server workspace type
17
+ - [#8365](https://github.com/scalar/scalar/pull/8365): feat: store oauth flow refresh tokens on the auth store
18
+
19
+ - **@scalar/json-magic@0.12.1**
20
+ - [#8357](https://github.com/scalar/scalar/pull/8357): chore: improve performance and memory usage of bundler
21
+
22
+ - **@scalar/components@0.20.2**
23
+ - [#8366](https://github.com/scalar/scalar/pull/8366): fix(components): clean up search components and add snapshots
24
+
25
+ - **@scalar/oas-utils@0.10.1**
26
+
27
+ - **@scalar/sidebar@0.8.2**
28
+
29
+ - **@scalar/openapi-parser@0.25.1**
30
+
31
+ - **@scalar/use-codemirror@0.14.2**
32
+
33
+ ## 2.33.0
34
+
35
+ ### Minor Changes
36
+
37
+ - [#8266](https://github.com/scalar/scalar/pull/8266): support operation level authentication and servers
38
+
39
+ ### Patch Changes
40
+
41
+ #### Updated Dependencies
42
+
43
+ - **@scalar/workspace-store@0.37.0**
44
+ - [#8266](https://github.com/scalar/scalar/pull/8266): support operation level authentication and servers
45
+
46
+ - **@scalar/oas-utils@0.10.0**
47
+ - [#8266](https://github.com/scalar/scalar/pull/8266): support operation level authentication and servers
48
+
49
+ - **@scalar/sidebar@0.8.1**
50
+
51
+ - **@scalar/components@0.20.1**
52
+
53
+ - **@scalar/use-codemirror@0.14.1**
54
+
3
55
  ## 2.32.0
4
56
 
5
57
  ### Minor Changes