@scalar/api-client 2.36.2 → 2.37.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,26 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.37.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#8426](https://github.com/scalar/scalar/pull/8426): feat: sync with source flow with conflict resolution
8
+
9
+ ### Patch Changes
10
+
11
+ #### Updated Dependencies
12
+
13
+ - **@scalar/workspace-store@0.40.0**
14
+ - [#8426](https://github.com/scalar/scalar/pull/8426): feat: interact with the original and intermediate documents
15
+
16
+ - **@scalar/oas-utils@0.10.6**
17
+
18
+ - **@scalar/sidebar@0.8.7**
19
+
20
+ - **@scalar/components@0.20.7**
21
+
22
+ - **@scalar/use-codemirror@0.14.7**
23
+
3
24
  ## 2.36.2
4
25
 
5
26
  ### 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.36.2", T = "application/json", C = "*/*", a = (n, s, o) => ({
4
+ const l = "2.37.0", T = "application/json", C = "*/*", a = (n, s, o) => ({
5
5
  name: n,
6
6
  defaultValue: s,
7
7
  isOverridden: o.has(n.toLowerCase())
@@ -84,7 +84,7 @@ const V = {
84
84
  )
85
85
  )), g = t(
86
86
  () => b(a(e.options)?.hiddenClients)
87
- ), x = "2.36.2";
87
+ ), x = "2.37.0";
88
88
  return (n, o) => e.path && e.method && e.exampleName && r.value ? (m(), C(c(R), {
89
89
  key: 0,
90
90
  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.2";
36
+ }, v = "2.37.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,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.36.2",
21
+ "version": "2.37.0",
22
22
  "engines": {
23
23
  "node": ">=22"
24
24
  },
@@ -340,26 +340,26 @@
340
340
  "whatwg-mimetype": "4.0.0",
341
341
  "yaml": "^2.8.0",
342
342
  "zod": "^4.3.5",
343
- "@scalar/components": "0.20.6",
344
343
  "@scalar/analytics-client": "1.1.0",
345
- "@scalar/helpers": "0.4.1",
346
344
  "@scalar/draggable": "0.4.0",
345
+ "@scalar/components": "0.20.7",
347
346
  "@scalar/icons": "0.6.0",
347
+ "@scalar/helpers": "0.4.1",
348
348
  "@scalar/import": "0.5.2",
349
349
  "@scalar/json-magic": "0.12.3",
350
+ "@scalar/oas-utils": "0.10.6",
350
351
  "@scalar/object-utils": "1.3.2",
351
352
  "@scalar/openapi-parser": "0.25.3",
352
- "@scalar/openapi-types": "0.6.0",
353
- "@scalar/snippetz": "0.7.4",
354
- "@scalar/sidebar": "0.8.6",
353
+ "@scalar/postman-to-openapi": "0.5.2",
354
+ "@scalar/sidebar": "0.8.7",
355
355
  "@scalar/themes": "0.15.0",
356
+ "@scalar/openapi-types": "0.6.0",
356
357
  "@scalar/types": "0.7.3",
357
- "@scalar/oas-utils": "0.10.5",
358
- "@scalar/postman-to-openapi": "0.5.2",
359
- "@scalar/use-codemirror": "0.14.6",
358
+ "@scalar/use-codemirror": "0.14.7",
360
359
  "@scalar/use-hooks": "0.4.0",
361
- "@scalar/workspace-store": "0.39.2",
362
- "@scalar/use-toasts": "0.10.0"
360
+ "@scalar/workspace-store": "0.40.0",
361
+ "@scalar/use-toasts": "0.10.0",
362
+ "@scalar/snippetz": "0.7.4"
363
363
  },
364
364
  "devDependencies": {
365
365
  "@tailwindcss/vite": "^4.1.18",
@@ -376,7 +376,7 @@
376
376
  "vitest": "4.0.16",
377
377
  "@scalar/build-tooling": "0.5.0",
378
378
  "@scalar/galaxy": "0.6.0",
379
- "@scalar/pre-post-request-scripts": "0.3.6"
379
+ "@scalar/pre-post-request-scripts": "0.3.7"
380
380
  },
381
381
  "scripts": {
382
382
  "build": "scalar-build-vite",