@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.
|
|
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.
|
|
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.
|
|
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.
|
|
21
|
+
"version": "2.32.0",
|
|
22
22
|
"engines": {
|
|
23
|
-
"node": ">=
|
|
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/
|
|
331
|
-
"@scalar/
|
|
332
|
-
"@scalar/
|
|
333
|
-
"@scalar/
|
|
334
|
-
"@scalar/
|
|
335
|
-
"@scalar/
|
|
336
|
-
"@scalar/
|
|
337
|
-
"@scalar/
|
|
338
|
-
"@scalar/
|
|
339
|
-
"@scalar/
|
|
340
|
-
"@scalar/openapi-types": "0.
|
|
341
|
-
"@scalar/
|
|
342
|
-
"@scalar/
|
|
343
|
-
"@scalar/
|
|
344
|
-
"@scalar/
|
|
345
|
-
"@scalar/
|
|
346
|
-
"@scalar/use-
|
|
347
|
-
"@scalar/
|
|
348
|
-
"@scalar/workspace-store": "0.
|
|
349
|
-
"@scalar/use-
|
|
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/
|
|
365
|
-
"@scalar/
|
|
366
|
-
"@scalar/pre-post-request-scripts": "0.
|
|
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",
|