@scalar/api-client 2.31.3 → 2.32.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,77 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.32.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
8
+
9
+ ### Patch Changes
10
+
11
+ #### Updated Dependencies
12
+
13
+ - **@scalar/workspace-store@0.36.0**
14
+ - [#8340](https://github.com/scalar/scalar/pull/8340): feat: support navigation options on server store
15
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
16
+ - [#8340](https://github.com/scalar/scalar/pull/8340): chore: disable perf logs by default
17
+
18
+ - **@scalar/postman-to-openapi@0.5.0**
19
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
20
+
21
+ - **@scalar/analytics-client@1.1.0**
22
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
23
+
24
+ - **@scalar/openapi-parser@0.25.0**
25
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
26
+
27
+ - **@scalar/use-codemirror@0.14.0**
28
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
29
+
30
+ - **@scalar/openapi-types@0.6.0**
31
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
32
+
33
+ - **@scalar/object-utils@1.3.0**
34
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
35
+
36
+ - **@scalar/components@0.20.0**
37
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
38
+
39
+ - **@scalar/json-magic@0.12.0**
40
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
41
+
42
+ - **@scalar/use-toasts@0.10.0**
43
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
44
+
45
+ - **@scalar/draggable@0.4.0**
46
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
47
+
48
+ - **@scalar/oas-utils@0.9.0**
49
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
50
+
51
+ - **@scalar/use-hooks@0.4.0**
52
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
53
+
54
+ - **@scalar/snippetz@0.7.0**
55
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
56
+
57
+ - **@scalar/helpers@0.3.0**
58
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
59
+
60
+ - **@scalar/sidebar@0.8.0**
61
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
62
+
63
+ - **@scalar/import@0.5.0**
64
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
65
+
66
+ - **@scalar/themes@0.15.0**
67
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
68
+
69
+ - **@scalar/icons@0.6.0**
70
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
71
+
72
+ - **@scalar/types@0.7.0**
73
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
74
+
3
75
  ## 2.31.3
4
76
 
5
77
  ### Patch Changes
@@ -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.31.3", T = "application/json", C = "*/*", a = (n, s, o) => ({
4
+ const l = "2.32.0", T = "application/json", C = "*/*", a = (n, s, o) => ({
5
5
  name: n,
6
6
  defaultValue: s,
7
7
  isOverridden: o.has(n.toLowerCase())
@@ -81,7 +81,7 @@ const P = {
81
81
  )
82
82
  )), x = t(
83
83
  () => b(a(e.options)?.hiddenClients)
84
- ), g = "2.31.3";
84
+ ), g = "2.32.0";
85
85
  return (n, o) => e.path && e.method && e.exampleName && r.value ? (m(), C(c(V), {
86
86
  key: 0,
87
87
  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.31.3";
36
+ }, v = "2.32.0";
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,9 +18,9 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.31.3",
21
+ "version": "2.32.0",
22
22
  "engines": {
23
- "node": ">=20"
23
+ "node": ">=22"
24
24
  },
25
25
  "type": "module",
26
26
  "main": "dist/index.js",
@@ -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/analytics-client": "1.0.1",
331
- "@scalar/components": "0.19.15",
332
- "@scalar/draggable": "0.3.0",
333
- "@scalar/icons": "0.5.3",
334
- "@scalar/import": "0.4.55",
335
- "@scalar/helpers": "0.2.18",
336
- "@scalar/oas-utils": "0.8.3",
337
- "@scalar/json-magic": "0.11.7",
338
- "@scalar/object-utils": "1.2.32",
339
- "@scalar/openapi-parser": "0.24.17",
340
- "@scalar/openapi-types": "0.5.4",
341
- "@scalar/sidebar": "0.7.46",
342
- "@scalar/themes": "0.14.3",
343
- "@scalar/types": "0.6.10",
344
- "@scalar/postman-to-openapi": "0.4.10",
345
- "@scalar/use-codemirror": "0.13.50",
346
- "@scalar/use-toasts": "0.9.1",
347
- "@scalar/snippetz": "0.6.19",
348
- "@scalar/workspace-store": "0.35.3",
349
- "@scalar/use-hooks": "0.3.7"
330
+ "@scalar/components": "0.20.0",
331
+ "@scalar/draggable": "0.4.0",
332
+ "@scalar/helpers": "0.3.0",
333
+ "@scalar/analytics-client": "1.1.0",
334
+ "@scalar/icons": "0.6.0",
335
+ "@scalar/import": "0.5.0",
336
+ "@scalar/json-magic": "0.12.0",
337
+ "@scalar/object-utils": "1.3.0",
338
+ "@scalar/openapi-parser": "0.25.0",
339
+ "@scalar/oas-utils": "0.9.0",
340
+ "@scalar/openapi-types": "0.6.0",
341
+ "@scalar/postman-to-openapi": "0.5.0",
342
+ "@scalar/sidebar": "0.8.0",
343
+ "@scalar/snippetz": "0.7.0",
344
+ "@scalar/themes": "0.15.0",
345
+ "@scalar/types": "0.7.0",
346
+ "@scalar/use-hooks": "0.4.0",
347
+ "@scalar/use-codemirror": "0.14.0",
348
+ "@scalar/workspace-store": "0.36.0",
349
+ "@scalar/use-toasts": "0.10.0"
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
- "@scalar/build-tooling": "0.4.1",
366
- "@scalar/pre-post-request-scripts": "0.2.9"
364
+ "@scalar/build-tooling": "0.5.0",
365
+ "@scalar/galaxy": "0.6.0",
366
+ "@scalar/pre-post-request-scripts": "0.3.0"
367
367
  },
368
368
  "scripts": {
369
369
  "build": "scalar-build-vite",