@scalar/api-client-react 1.2.30 → 1.2.31

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,13 @@
1
1
  # @scalar/api-client-react
2
2
 
3
+ ## 1.2.31
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [8c7bad8]
8
+ - @scalar/api-client@2.3.31
9
+ - @scalar/types@0.1.14
10
+
3
11
  ## 1.2.30
4
12
 
5
13
  ### Patch Changes
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsxs as f, jsx as m } from "react/jsx-runtime";
3
- import { createContext as x, useRef as A, useSyncExternalStore as S, useEffect as u, useContext as v } from "react";
3
+ import { useContext as x, useRef as A, useSyncExternalStore as S, useEffect as u, createContext as v } from "react";
4
4
  import { clientStore as n } from "./client-store.js";
5
5
  /* empty css */
6
- const C = x(null);
6
+ const C = v(null);
7
7
  let p = !1;
8
8
  const s = {}, b = ({ children: d, initialRequest: c, configuration: i = {} }) => {
9
9
  var a;
@@ -36,7 +36,7 @@ const s = {}, b = ({ children: d, initialRequest: c, configuration: i = {} }) =>
36
36
  ),
37
37
  d
38
38
  ] });
39
- }, j = () => v(C);
39
+ }, j = () => x(C);
40
40
  export {
41
41
  b as ApiClientModalProvider,
42
42
  j as useApiClientModal
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "testing",
20
20
  "react"
21
21
  ],
22
- "version": "1.2.30",
22
+ "version": "1.2.31",
23
23
  "engines": {
24
24
  "node": ">=18"
25
25
  },
@@ -40,8 +40,8 @@
40
40
  "module": "./dist/index.js",
41
41
  "dependencies": {
42
42
  "vue": "^3.5.12",
43
- "@scalar/api-client": "2.3.30",
44
- "@scalar/types": "0.1.13"
43
+ "@scalar/api-client": "2.3.31",
44
+ "@scalar/types": "0.1.14"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/react": "^19.0.1",
@@ -52,7 +52,7 @@
52
52
  "react-dom": "^19.0.0",
53
53
  "rollup-preserve-directives": "^1.1.1",
54
54
  "vite": "^5.4.10",
55
- "@scalar/build-tooling": "0.1.18"
55
+ "@scalar/build-tooling": "0.1.19"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "react": "^18.0.0 || ^19.0.0"