@scalar/api-client 2.29.3 → 2.29.4

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 CHANGED
@@ -1,5 +1,28 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.29.4
4
+
5
+ ### Patch Changes
6
+
7
+ #### Updated Dependencies
8
+
9
+ - **@scalar/types@0.6.8**
10
+ - [#8274](https://github.com/scalar/scalar/pull/8274): feat(agent): add config to hide search api
11
+
12
+ - **@scalar/oas-utils@0.6.48**
13
+
14
+ - **@scalar/openapi-parser@0.24.15**
15
+
16
+ - **@scalar/snippetz@0.6.17**
17
+
18
+ - **@scalar/workspace-store@0.34.4**
19
+
20
+ - **@scalar/components@0.19.10**
21
+
22
+ - **@scalar/sidebar@0.7.41**
23
+
24
+ - **@scalar/use-codemirror@0.13.45**
25
+
3
26
  ## 2.29.3
4
27
 
5
28
  ### Patch Changes
@@ -54,6 +54,7 @@ export declare const useClientConfig: () => Ref<{
54
54
  agent?: {
55
55
  key?: string | undefined;
56
56
  disabled?: boolean | undefined;
57
+ hideAddApi?: boolean | undefined;
57
58
  } | undefined;
58
59
  }, {
59
60
  hideClientButton: boolean;
@@ -107,6 +108,7 @@ export declare const useClientConfig: () => Ref<{
107
108
  agent?: {
108
109
  key?: string | undefined;
109
110
  disabled?: boolean | undefined;
111
+ hideAddApi?: boolean | undefined;
110
112
  } | undefined;
111
113
  } | {
112
114
  hideClientButton: boolean;
@@ -160,6 +162,7 @@ export declare const useClientConfig: () => Ref<{
160
162
  agent?: {
161
163
  key?: string | undefined;
162
164
  disabled?: boolean | undefined;
165
+ hideAddApi?: boolean | undefined;
163
166
  } | undefined;
164
167
  }>;
165
168
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyF,CAAA"}
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"}
@@ -1,7 +1,7 @@
1
1
  import { canMethodHaveBody as m } from "@scalar/helpers/http/can-method-have-body";
2
2
  import { getResolvedRef as r } from "@scalar/workspace-store/helpers/get-resolved-ref";
3
3
  import { isElectron as y } from "../../../../libs/electron.js";
4
- const l = "2.29.3", T = "application/json", C = "*/*", a = (n, s, o) => ({
4
+ const l = "2.29.4", T = "application/json", C = "*/*", a = (n, s, o) => ({
5
5
  name: n,
6
6
  defaultValue: s,
7
7
  isOverridden: o.has(n.toLowerCase())
@@ -74,7 +74,7 @@ const A = {
74
74
  )
75
75
  )), S = n(
76
76
  () => w(o(e.options)?.hiddenClients)
77
- ), y = "2.29.3";
77
+ ), y = "2.29.4";
78
78
  return (t, a) => e.path && e.method && e.exampleName && c.value ? (l(), k(u(N), {
79
79
  key: 0,
80
80
  activeEnvironment: e.workspaceStore.workspace["x-scalar-active-environment"],
@@ -33,7 +33,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
33
33
  }));
34
34
  }, f = (u) => {
35
35
  u?.createNew && g.name === "request" && p();
36
- }, v = "2.29.3";
36
+ }, v = "2.29.4";
37
37
  return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (u, e) => (l(), n("div", W, [
38
38
  s("div", {
39
39
  class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.29.3",
21
+ "version": "2.29.4",
22
22
  "engines": {
23
23
  "node": ">=20"
24
24
  },
@@ -327,26 +327,26 @@
327
327
  "whatwg-mimetype": "4.0.0",
328
328
  "yaml": "^2.8.0",
329
329
  "zod": "^4.3.5",
330
+ "@scalar/components": "0.19.10",
330
331
  "@scalar/analytics-client": "1.0.1",
331
- "@scalar/components": "0.19.9",
332
- "@scalar/helpers": "0.2.16",
333
332
  "@scalar/draggable": "0.3.0",
334
333
  "@scalar/icons": "0.5.3",
335
334
  "@scalar/import": "0.4.53",
335
+ "@scalar/helpers": "0.2.16",
336
336
  "@scalar/json-magic": "0.11.5",
337
+ "@scalar/oas-utils": "0.6.48",
338
+ "@scalar/openapi-parser": "0.24.15",
337
339
  "@scalar/object-utils": "1.2.30",
338
- "@scalar/oas-utils": "0.6.47",
339
- "@scalar/openapi-parser": "0.24.14",
340
340
  "@scalar/openapi-types": "0.5.3",
341
341
  "@scalar/postman-to-openapi": "0.4.8",
342
- "@scalar/sidebar": "0.7.40",
343
- "@scalar/snippetz": "0.6.16",
342
+ "@scalar/sidebar": "0.7.41",
343
+ "@scalar/snippetz": "0.6.17",
344
344
  "@scalar/themes": "0.14.0",
345
- "@scalar/types": "0.6.7",
345
+ "@scalar/use-codemirror": "0.13.45",
346
+ "@scalar/types": "0.6.8",
346
347
  "@scalar/use-hooks": "0.3.7",
347
- "@scalar/use-toasts": "0.9.1",
348
- "@scalar/use-codemirror": "0.13.44",
349
- "@scalar/workspace-store": "0.34.3"
348
+ "@scalar/workspace-store": "0.34.4",
349
+ "@scalar/use-toasts": "0.9.1"
350
350
  },
351
351
  "devDependencies": {
352
352
  "@tailwindcss/vite": "^4.1.18",
@@ -361,9 +361,9 @@
361
361
  "vite": "^7.3.1",
362
362
  "vite-svg-loader": "5.1.0",
363
363
  "vitest": "4.0.16",
364
- "@scalar/galaxy": "0.5.16",
365
364
  "@scalar/build-tooling": "0.4.1",
366
- "@scalar/pre-post-request-scripts": "0.2.3"
365
+ "@scalar/galaxy": "0.5.16",
366
+ "@scalar/pre-post-request-scripts": "0.2.4"
367
367
  },
368
368
  "scripts": {
369
369
  "build": "scalar-build-vite",