@scalar/api-client 2.22.1 → 2.22.2
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 +50 -0
- package/dist/hooks/useClientConfig.d.ts +6 -3
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +23 -29
- 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 +45 -43
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +0 -6
- package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.js +1 -1
- package/dist/v2/components/code-input/CodeInput.vue2.js +50 -63
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +0 -3
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +55 -53
- package/dist/v2/features/app/app-state.d.ts.map +1 -1
- package/dist/v2/features/app/app-state.js +33 -28
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue2.js +137 -127
- package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/TheCommandPalette.vue.js +1 -1
- package/dist/v2/features/command-palette/TheCommandPalette.vue2.js +6 -6
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +2 -2
- 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 +60 -56
- package/dist/v2/features/operation/Operation.vue.js +1 -1
- package/dist/v2/features/search/hooks/use-search-index.d.ts +3 -7
- package/dist/v2/features/search/hooks/use-search-index.d.ts.map +1 -1
- package/dist/v2/features/search/hooks/use-search-index.js +12 -18
- package/dist/v2/features/search/index.d.ts +1 -2
- package/dist/v2/features/search/index.d.ts.map +1 -1
- package/dist/v2/features/search/index.js +2 -4
- package/dist/v2/features/search/types.d.ts +1 -1
- package/dist/v2/features/search/types.d.ts.map +1 -1
- package/dist/v2/helpers/handle-hotkeys.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +54 -52
- package/package.json +17 -17
- package/dist/v2/features/search/components/SearchButton.vue.d.ts +0 -12
- package/dist/v2/features/search/components/SearchButton.vue.d.ts.map +0 -1
- package/dist/v2/features/search/components/SearchButton.vue.js +0 -71
- package/dist/v2/features/search/components/SearchButton.vue2.js +0 -4
- package/dist/v2/features/search/components/SearchModal.vue.d.ts +0 -11
- package/dist/v2/features/search/components/SearchModal.vue.d.ts.map +0 -1
- package/dist/v2/features/search/components/SearchModal.vue.js +0 -7
- package/dist/v2/features/search/components/SearchModal.vue2.js +0 -102
- package/dist/v2/features/search/components/SearchResult.vue.d.ts +0 -10
- package/dist/v2/features/search/components/SearchResult.vue.d.ts.map +0 -1
- package/dist/v2/features/search/components/SearchResult.vue.js +0 -80
- package/dist/v2/features/search/components/SearchResult.vue2.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,55 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.22.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7998](https://github.com/scalar/scalar/pull/7998): Made the inputs to useCommandPalette state reactive
|
|
8
|
+
- [#7988](https://github.com/scalar/scalar/pull/7988): feat: restore old client search
|
|
9
|
+
- [#8002](https://github.com/scalar/scalar/pull/8002): feat(agent): add inline agent chat
|
|
10
|
+
- [#7784](https://github.com/scalar/scalar/pull/7784): fix: resolve oauth2 relative URLs against relative server URLs
|
|
11
|
+
- [#7971](https://github.com/scalar/scalar/pull/7971): fix: improve sidebar click behavior
|
|
12
|
+
|
|
13
|
+
#### Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- **@scalar/types@0.6.1**
|
|
16
|
+
- [#8000](https://github.com/scalar/scalar/pull/8000): fix(agent): change enabled flag to disabled
|
|
17
|
+
- [#7995](https://github.com/scalar/scalar/pull/7995): feat: enable/disable agent scalar
|
|
18
|
+
|
|
19
|
+
- **@scalar/workspace-store@0.28.0**
|
|
20
|
+
- [#7970](https://github.com/scalar/scalar/pull/7970): feat: update sidebar when docuemnt title changes
|
|
21
|
+
- [#7988](https://github.com/scalar/scalar/pull/7988): feat: restore old client search
|
|
22
|
+
- [#7963](https://github.com/scalar/scalar/pull/7963): feat: unify is-object helpers
|
|
23
|
+
|
|
24
|
+
- **@scalar/sidebar@0.7.24**
|
|
25
|
+
- [#7988](https://github.com/scalar/scalar/pull/7988): feat: restore old client search
|
|
26
|
+
|
|
27
|
+
- **@scalar/use-hooks@0.3.7**
|
|
28
|
+
- [#7977](https://github.com/scalar/scalar/pull/7977): chore(use-hooks): update tailwind merge to v3.4.0
|
|
29
|
+
|
|
30
|
+
- **@scalar/openapi-parser@0.24.6**
|
|
31
|
+
- [#7963](https://github.com/scalar/scalar/pull/7963): feat: unify is-object helpers
|
|
32
|
+
|
|
33
|
+
- **@scalar/json-magic@0.9.5**
|
|
34
|
+
- [#7963](https://github.com/scalar/scalar/pull/7963): feat: unify is-object helpers
|
|
35
|
+
|
|
36
|
+
- **@scalar/helpers@0.2.10**
|
|
37
|
+
- [#7963](https://github.com/scalar/scalar/pull/7963): feat: unify is-object helpers
|
|
38
|
+
|
|
39
|
+
- **@scalar/oas-utils@0.6.31**
|
|
40
|
+
|
|
41
|
+
- **@scalar/snippetz@0.6.10**
|
|
42
|
+
|
|
43
|
+
- **@scalar/components@0.17.1**
|
|
44
|
+
|
|
45
|
+
- **@scalar/import@0.4.47**
|
|
46
|
+
|
|
47
|
+
- **@scalar/object-utils@1.2.24**
|
|
48
|
+
|
|
49
|
+
- **@scalar/postman-to-openapi@0.4.2**
|
|
50
|
+
|
|
51
|
+
- **@scalar/use-codemirror@0.13.28**
|
|
52
|
+
|
|
3
53
|
## 2.22.1
|
|
4
54
|
|
|
5
55
|
### Patch Changes
|
|
@@ -52,7 +52,8 @@ export declare const useClientConfig: () => Ref<{
|
|
|
52
52
|
content?: string | Record<string, any> | import("zod/v4/core").$InferOuterFunctionType<import("zod").ZodTuple<readonly [], null>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>> | null | undefined;
|
|
53
53
|
} | undefined;
|
|
54
54
|
agent?: {
|
|
55
|
-
key
|
|
55
|
+
key?: string | undefined;
|
|
56
|
+
disabled?: boolean | undefined;
|
|
56
57
|
} | undefined;
|
|
57
58
|
}, {
|
|
58
59
|
hideClientButton: boolean;
|
|
@@ -104,7 +105,8 @@ export declare const useClientConfig: () => Ref<{
|
|
|
104
105
|
content?: string | Record<string, any> | import("zod/v4/core").$InferOuterFunctionType<import("zod").ZodTuple<readonly [], null>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>> | null | undefined;
|
|
105
106
|
} | undefined;
|
|
106
107
|
agent?: {
|
|
107
|
-
key
|
|
108
|
+
key?: string | undefined;
|
|
109
|
+
disabled?: boolean | undefined;
|
|
108
110
|
} | undefined;
|
|
109
111
|
} | {
|
|
110
112
|
hideClientButton: boolean;
|
|
@@ -156,7 +158,8 @@ export declare const useClientConfig: () => Ref<{
|
|
|
156
158
|
content?: string | Record<string, any> | import("zod/v4/core").$InferOuterFunctionType<import("zod").ZodTuple<readonly [], null>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>> | null | undefined;
|
|
157
159
|
} | undefined;
|
|
158
160
|
agent?: {
|
|
159
|
-
key
|
|
161
|
+
key?: string | undefined;
|
|
162
|
+
disabled?: boolean | undefined;
|
|
160
163
|
} | undefined;
|
|
161
164
|
}>;
|
|
162
165
|
//# sourceMappingURL=useClientConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClientConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useClientConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAgC,MAAM,6BAA6B,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAe,MAAM,KAAK,CAAA;AAE9D,eAAO,MAAM,2BAA2B,EAAe,YAAY,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAA;AAEhG,0DAA0D;AAC1D,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"useClientConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useClientConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAgC,MAAM,6BAA6B,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAe,MAAM,KAAK,CAAA;AAE9D,eAAO,MAAM,2BAA2B,EAAe,YAAY,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAA;AAEhG,0DAA0D;AAC1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyF,CAAA"}
|