@scalar/api-client 2.34.1 → 2.36.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.
- package/CHANGELOG.md +88 -0
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js +88 -80
- package/dist/v2/blocks/operation-block/helpers/build-request-body.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-body.js +28 -27
- package/dist/v2/blocks/operation-block/helpers/de-serialize-parameter.js +6 -4
- package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.d.ts +16 -0
- package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.js +17 -0
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +90 -84
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js +47 -42
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js +76 -50
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +65 -59
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +57 -42
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +44 -41
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +50 -44
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +41 -35
- package/dist/v2/features/app/app-events.d.ts +5 -2
- package/dist/v2/features/app/app-events.d.ts.map +1 -1
- package/dist/v2/features/app/app-events.js +58 -44
- package/dist/v2/features/app/app-state.d.ts.map +1 -1
- package/dist/v2/features/app/app-state.js +82 -80
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +2 -2
- package/dist/v2/features/app/components/AppSidebar.vue2.js +78 -76
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.js +34 -30
- package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.js +73 -45
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/DocumentCollection.vue.js +20 -20
- package/dist/v2/features/collection/OperationCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/OperationCollection.vue.js +7 -7
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +5 -4
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +1 -1
- package/dist/v2/features/collection/components/Authentication.vue2.js +84 -66
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/LabelInput.vue.js +2 -2
- package/dist/v2/features/collection/components/LabelInput.vue2.js +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +5 -0
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js +131 -96
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +25 -0
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +1 -1
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +42 -36
- package/dist/v2/features/operation/Operation.vue.js +1 -1
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +8 -5
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +44 -45
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,93 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.36.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#8403](https://github.com/scalar/scalar/pull/8403): Persist auth url and token url in local storage
|
|
8
|
+
- [#8402](https://github.com/scalar/scalar/pull/8402): Fix raw binary request bodies so uploaded files are sent correctly and code samples show file references.
|
|
9
|
+
- [#8398](https://github.com/scalar/scalar/pull/8398): fix code snippet HAR request URL generation to URL-encode substituted path parameter values, matching request sending behavior.
|
|
10
|
+
- [#8386](https://github.com/scalar/scalar/pull/8386): feat: app drag region for macos
|
|
11
|
+
- [#8408](https://github.com/scalar/scalar/pull/8408): Use the secret oauth urls before the default flow urls
|
|
12
|
+
- [#8407](https://github.com/scalar/scalar/pull/8407): Fix conditional rendering for token URL
|
|
13
|
+
|
|
14
|
+
#### Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- **@scalar/workspace-store@0.39.1**
|
|
17
|
+
- [#8393](https://github.com/scalar/scalar/pull/8393): fix: correctly update active tab on tab close event
|
|
18
|
+
- [#8403](https://github.com/scalar/scalar/pull/8403): Persist auth url and token url in local storage
|
|
19
|
+
|
|
20
|
+
- **@scalar/snippetz@0.7.3**
|
|
21
|
+
- [#8404](https://github.com/scalar/scalar/pull/8404): Preserve duplicate query parameters in generated code snippets. php/guzzle: preserve duplicate query parameters as arrays.
|
|
22
|
+
|
|
23
|
+
- **@scalar/sidebar@0.8.5**
|
|
24
|
+
- [#8386](https://github.com/scalar/scalar/pull/8386): feat: add spacer slot to sidebar
|
|
25
|
+
|
|
26
|
+
- **@scalar/oas-utils@0.10.4**
|
|
27
|
+
|
|
28
|
+
- **@scalar/components@0.20.5**
|
|
29
|
+
|
|
30
|
+
- **@scalar/use-codemirror@0.14.5**
|
|
31
|
+
|
|
32
|
+
## 2.36.0
|
|
33
|
+
|
|
34
|
+
### Minor Changes
|
|
35
|
+
|
|
36
|
+
- [#8396](https://github.com/scalar/scalar/pull/8396): feat: preselect correct authentication for document and operation
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- [#8394](https://github.com/scalar/scalar/pull/8394): chore: rollback export document button
|
|
41
|
+
|
|
42
|
+
## 2.35.0
|
|
43
|
+
|
|
44
|
+
### Minor Changes
|
|
45
|
+
|
|
46
|
+
- [#8349](https://github.com/scalar/scalar/pull/8349): feat: support operation example rename
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- [#8336](https://github.com/scalar/scalar/pull/8336): fix: layout with z-index and add support for mobile
|
|
51
|
+
- [#8269](https://github.com/scalar/scalar/pull/8269): fix: prevent requests with empty path parameters
|
|
52
|
+
- [#8262](https://github.com/scalar/scalar/pull/8262): fix: serialize array query params as repeated params
|
|
53
|
+
- [#8253](https://github.com/scalar/scalar/pull/8253): feat(api-reference): support propertyNames enum for additionalProperties
|
|
54
|
+
- [#8392](https://github.com/scalar/scalar/pull/8392): feat: support document download
|
|
55
|
+
|
|
56
|
+
#### Updated Dependencies
|
|
57
|
+
|
|
58
|
+
- **@scalar/workspace-store@0.39.0**
|
|
59
|
+
- [#8372](https://github.com/scalar/scalar/pull/8372): fix: avoid inlining $ref path parameters during path parameter sync
|
|
60
|
+
- [#8349](https://github.com/scalar/scalar/pull/8349): feat: support operation example rename
|
|
61
|
+
- [#8336](https://github.com/scalar/scalar/pull/8336): fix: sidebar title update and detect delete operaitons for proxy
|
|
62
|
+
- [#8253](https://github.com/scalar/scalar/pull/8253): feat(api-reference): support propertyNames enum for additionalProperties
|
|
63
|
+
|
|
64
|
+
- **@scalar/openapi-parser@0.25.2**
|
|
65
|
+
- [#8359](https://github.com/scalar/scalar/pull/8359): fix(openapi-parser): replace $dynamicRef with $ref in v3.2 schema for AJV compatibility
|
|
66
|
+
|
|
67
|
+
- **@scalar/helpers@0.4.0**
|
|
68
|
+
- [#8336](https://github.com/scalar/scalar/pull/8336): feat: support flushing any pending operations
|
|
69
|
+
|
|
70
|
+
- **@scalar/oas-utils@0.10.3**
|
|
71
|
+
- [#8253](https://github.com/scalar/scalar/pull/8253): feat(api-reference): support propertyNames enum for additionalProperties
|
|
72
|
+
|
|
73
|
+
- **@scalar/sidebar@0.8.4**
|
|
74
|
+
|
|
75
|
+
- **@scalar/components@0.20.4**
|
|
76
|
+
|
|
77
|
+
- **@scalar/import@0.5.1**
|
|
78
|
+
|
|
79
|
+
- **@scalar/json-magic@0.12.2**
|
|
80
|
+
|
|
81
|
+
- **@scalar/object-utils@1.3.1**
|
|
82
|
+
|
|
83
|
+
- **@scalar/postman-to-openapi@0.5.1**
|
|
84
|
+
|
|
85
|
+
- **@scalar/types@0.7.2**
|
|
86
|
+
|
|
87
|
+
- **@scalar/use-codemirror@0.14.4**
|
|
88
|
+
|
|
89
|
+
- **@scalar/snippetz@0.7.2**
|
|
90
|
+
|
|
3
91
|
## 2.34.1
|
|
4
92
|
|
|
5
93
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"AAyEA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { defineComponent as n, createElementBlock as t, openBlock as o, normaliz
|
|
|
2
2
|
import { useBindCx as a } from "@scalar/components";
|
|
3
3
|
const u = {
|
|
4
4
|
key: 0,
|
|
5
|
-
class: "request-response-header bg-b-1 -mb-1/2 sticky top-0 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none"
|
|
5
|
+
class: "request-response-header bg-b-1 -mb-1/2 sticky top-0 z-1 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none"
|
|
6
6
|
}, b = /* @__PURE__ */ n({
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
__name: "ViewLayoutSection",
|