@scalar/api-client 2.23.0 → 2.23.3

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 (95) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/dist/style.css +1 -1
  3. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +13 -3
  4. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  5. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +68 -68
  6. package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts.map +1 -1
  7. package/dist/v2/blocks/operation-block/helpers/build-request-parameters.js +54 -53
  8. package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts +5 -3
  9. package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts.map +1 -1
  10. package/dist/v2/blocks/operation-block/helpers/build-request-security.js +1 -1
  11. package/dist/v2/blocks/operation-block/helpers/build-request.d.ts +3 -2
  12. package/dist/v2/blocks/operation-block/helpers/build-request.d.ts.map +1 -1
  13. package/dist/v2/blocks/operation-block/index.d.ts +2 -1
  14. package/dist/v2/blocks/operation-block/index.d.ts.map +1 -1
  15. package/dist/v2/blocks/operation-block/index.js +7 -4
  16. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts +3 -2
  17. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
  18. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
  19. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts +3 -2
  20. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts.map +1 -1
  21. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.d.ts.map +1 -1
  22. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +78 -78
  23. package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.d.ts +2 -2
  24. package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.d.ts.map +1 -1
  25. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts +3 -2
  26. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
  27. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.d.ts +2 -2
  28. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.d.ts.map +1 -1
  29. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +8 -5
  30. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  31. package/dist/v2/blocks/request-block/RequestBlock.vue.js +2 -2
  32. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +4 -4
  33. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts.map +1 -1
  34. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.js +49 -45
  35. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  36. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +63 -51
  37. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  38. package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +2 -2
  39. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +4 -2
  40. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  41. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +18 -181
  42. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  43. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +118 -107
  44. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +3 -2
  45. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  46. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +30 -33
  47. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +11 -178
  48. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  49. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +107 -110
  50. package/dist/v2/blocks/scalar-auth-selector-block/helpers/auth-options.d.ts.map +1 -1
  51. package/dist/v2/blocks/scalar-auth-selector-block/helpers/auth-options.js +5 -29
  52. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts +6 -0
  53. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -0
  54. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +85 -0
  55. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts +9 -0
  56. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts.map +1 -0
  57. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.js +15 -0
  58. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +3 -2
  59. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  60. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +23 -0
  61. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -0
  62. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +2 -2
  63. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -1
  64. package/dist/v2/blocks/scalar-auth-selector-block/index.js +4 -6
  65. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  66. package/dist/v2/features/app/App.vue.js +51 -42
  67. package/dist/v2/features/app/app-state.d.ts +1 -1
  68. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  69. package/dist/v2/features/app/app-state.js +40 -38
  70. package/dist/v2/features/app/helpers/routes.d.ts +1 -1
  71. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  72. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  73. package/dist/v2/features/collection/components/Authentication.vue.js +1 -1
  74. package/dist/v2/features/collection/components/Authentication.vue2.js +14 -11
  75. package/dist/v2/features/import-listener/helpers/import-document-to-workspace.d.ts.map +1 -1
  76. package/dist/v2/features/import-listener/helpers/import-document-to-workspace.js +3 -1
  77. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  78. package/dist/v2/features/modal/Modal.vue.js +1 -1
  79. package/dist/v2/features/modal/Modal.vue2.js +14 -12
  80. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  81. package/dist/v2/features/operation/Operation.vue.js +44 -35
  82. package/dist/v2/features/operation/helpers/get-selected-security.d.ts +3 -5
  83. package/dist/v2/features/operation/helpers/get-selected-security.d.ts.map +1 -1
  84. package/dist/v2/workspace-events.d.ts.map +1 -1
  85. package/dist/v2/workspace-events.js +116 -109
  86. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  87. package/package.json +17 -17
  88. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.d.ts +0 -2
  89. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.d.ts.map +0 -1
  90. package/dist/v2/blocks/scalar-auth-selector-block/helpers/convert-security-scheme-secrets.d.ts +0 -8
  91. package/dist/v2/blocks/scalar-auth-selector-block/helpers/convert-security-scheme-secrets.d.ts.map +0 -1
  92. package/dist/v2/blocks/scalar-auth-selector-block/helpers/convert-security-scheme-secrets.js +0 -33
  93. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-auth-config.d.ts +0 -7
  94. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-auth-config.d.ts.map +0 -1
  95. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-auth-config.js +0 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,70 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.23.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#8035](https://github.com/scalar/scalar/pull/8035): fix: correctly resolve and validate refs
8
+ - [#8033](https://github.com/scalar/scalar/pull/8033): fix: add failsafe to incorrect array parameter style
9
+ - [#8043](https://github.com/scalar/scalar/pull/8043): fix: :deep selector for bun build
10
+
11
+ #### Updated Dependencies
12
+
13
+ - **@scalar/workspace-store@0.28.3**
14
+ - [#8035](https://github.com/scalar/scalar/pull/8035): fix: correctly resolve and validate refs
15
+ - [#8034](https://github.com/scalar/scalar/pull/8034): fix: allow setting servers which dont exist in the document (from the config)
16
+
17
+ - **@scalar/oas-utils@0.6.34**
18
+
19
+ - **@scalar/sidebar@0.7.27**
20
+
21
+ - **@scalar/components@0.17.4**
22
+
23
+ - **@scalar/use-codemirror@0.13.31**
24
+
25
+ ## 2.23.2
26
+
27
+ ### Patch Changes
28
+
29
+ - [#8027](https://github.com/scalar/scalar/pull/8027): feat(agent): add client side request tool
30
+
31
+ ## 2.23.1
32
+
33
+ ### Patch Changes
34
+
35
+ - [#8016](https://github.com/scalar/scalar/pull/8016): feat: move history and auth into their own store
36
+ - [#7992](https://github.com/scalar/scalar/pull/7992): feat: hide code snippets without clients
37
+
38
+ #### Updated Dependencies
39
+
40
+ - **@scalar/workspace-store@0.28.2**
41
+ - [#8016](https://github.com/scalar/scalar/pull/8016): feat: move history and auth into their own store
42
+
43
+ - **@scalar/helpers@0.2.11**
44
+ - [#8016](https://github.com/scalar/scalar/pull/8016): feat: move history and auth into their own store
45
+
46
+ - **@scalar/oas-utils@0.6.33**
47
+
48
+ - **@scalar/sidebar@0.7.26**
49
+
50
+ - **@scalar/components@0.17.3**
51
+
52
+ - **@scalar/import@0.4.48**
53
+
54
+ - **@scalar/json-magic@0.9.6**
55
+
56
+ - **@scalar/object-utils@1.2.25**
57
+
58
+ - **@scalar/openapi-parser@0.24.7**
59
+
60
+ - **@scalar/postman-to-openapi@0.4.3**
61
+
62
+ - **@scalar/types@0.6.2**
63
+
64
+ - **@scalar/use-codemirror@0.13.30**
65
+
66
+ - **@scalar/snippetz@0.6.11**
67
+
3
68
  ## 2.23.0
4
69
 
5
70
  ### Minor Changes