@scalar/api-client 2.5.7 → 2.5.9

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,25 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.5.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [979139e]
8
+ - Updated dependencies [aaf90bf]
9
+ - @scalar/oas-utils@0.4.6
10
+ - @scalar/components@0.14.10
11
+ - @scalar/postman-to-openapi@0.3.9
12
+ - @scalar/use-codemirror@0.12.11
13
+
14
+ ## 2.5.8
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [291f09d]
19
+ - @scalar/openapi-parser@0.18.0
20
+ - @scalar/import@0.4.11
21
+ - @scalar/oas-utils@0.4.5
22
+
3
23
  ## 2.5.7
4
24
 
5
25
  ### Patch Changes
@@ -2,4 +2,5 @@ export * from './useKeyMap';
2
2
  export * from './useFileDialog';
3
3
  export * from './useLayout';
4
4
  export { useResponseBody } from './useResponseBody';
5
+ export { useSidebar } from './useSidebar';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA"}
@@ -2,10 +2,12 @@ import { keyMap as r } from "./useKeyMap.js";
2
2
  import { useFileDialog as s } from "./useFileDialog.js";
3
3
  import { LAYOUT_SYMBOL as f, useLayout as m } from "./useLayout.js";
4
4
  import { useResponseBody as x } from "./useResponseBody.js";
5
+ import { useSidebar as i } from "./useSidebar.js";
5
6
  export {
6
7
  f as LAYOUT_SYMBOL,
7
8
  r as keyMap,
8
9
  s as useFileDialog,
9
10
  m as useLayout,
10
- x as useResponseBody
11
+ x as useResponseBody,
12
+ i as useSidebar
11
13
  };
@@ -34,7 +34,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
34
34
  }));
35
35
  }, k = (o) => {
36
36
  o != null && o.createNew && g.name === "request" && f();
37
- }, w = "2.5.7";
37
+ }, w = "2.5.9";
38
38
  return R(() => a.hotKeys.on(k)), v(() => a.hotKeys.off(k)), (o, e) => (u(), i("div", W, [
39
39
  s("div", {
40
40
  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.5.7",
21
+ "version": "2.5.9",
22
22
  "engines": {
23
23
  "node": ">=20"
24
24
  },
@@ -204,23 +204,23 @@
204
204
  "whatwg-mimetype": "^4.0.0",
205
205
  "yaml": "^2.4.5",
206
206
  "zod": "3.24.1",
207
- "@scalar/components": "0.14.9",
208
207
  "@scalar/draggable": "0.2.0",
209
- "@scalar/icons": "0.4.3",
208
+ "@scalar/components": "0.14.10",
210
209
  "@scalar/helpers": "0.0.4",
211
- "@scalar/import": "0.4.10",
212
- "@scalar/oas-utils": "0.4.5",
213
- "@scalar/openapi-parser": "0.17.0",
210
+ "@scalar/icons": "0.4.3",
211
+ "@scalar/import": "0.4.11",
214
212
  "@scalar/object-utils": "1.2.1",
213
+ "@scalar/openapi-parser": "0.18.0",
215
214
  "@scalar/openapi-types": "0.3.3",
216
- "@scalar/postman-to-openapi": "0.3.8",
217
- "@scalar/use-codemirror": "0.12.10",
218
- "@scalar/types": "0.2.3",
215
+ "@scalar/postman-to-openapi": "0.3.9",
216
+ "@scalar/snippetz": "0.3.1",
217
+ "@scalar/oas-utils": "0.4.6",
219
218
  "@scalar/themes": "0.13.3",
219
+ "@scalar/types": "0.2.3",
220
+ "@scalar/use-codemirror": "0.12.11",
220
221
  "@scalar/use-hooks": "0.2.2",
221
222
  "@scalar/use-toasts": "0.8.0",
222
- "@scalar/use-tooltip": "1.1.0",
223
- "@scalar/snippetz": "0.3.1"
223
+ "@scalar/use-tooltip": "1.1.0"
224
224
  },
225
225
  "devDependencies": {
226
226
  "@tailwindcss/vite": "^4.1.7",