@scalar/api-client-react 1.0.110 → 1.1.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,16 @@
1
1
  # @scalar/api-client-react
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 63350ce: chore: react 19 upgrade minor bump
8
+
9
+ ### Patch Changes
10
+
11
+ - 90529fc: chore: upgrade to react 19
12
+ - @scalar/api-client@2.2.20
13
+
3
14
  ## 1.0.110
4
15
 
5
16
  ### Patch Changes
package/README.md CHANGED
@@ -11,6 +11,11 @@
11
11
  npm install @scalar/api-client-react
12
12
  ```
13
13
 
14
+ ## Compatibility
15
+
16
+ This package is compatible with React 19 and is untested on React 18. If you want guaranteed React 18 support please use
17
+ version `1.0.107` of this package.
18
+
14
19
  ## Usage
15
20
 
16
21
  First we need to add the provider, you should add it in the highest place you have a unique spec.
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "testing",
20
20
  "react"
21
21
  ],
22
- "version": "1.0.110",
22
+ "version": "1.1.0",
23
23
  "engines": {
24
24
  "node": ">=18"
25
25
  },
@@ -40,22 +40,22 @@
40
40
  "module": "./dist/index.js",
41
41
  "dependencies": {
42
42
  "vue": "^3.5.12",
43
- "@scalar/api-client": "2.2.19"
43
+ "@scalar/api-client": "2.2.20"
44
44
  },
45
45
  "devDependencies": {
46
- "@types/react": "^18.2.60",
47
- "@types/react-dom": "^18.2.19",
48
- "@vitejs/plugin-react": "^4.2.1",
46
+ "@types/react": "^19.0.1",
47
+ "@types/react-dom": "^19.0.2",
48
+ "@vitejs/plugin-react": "^4.3.4",
49
49
  "path": "^0.12.7",
50
- "react": "^18.3.1",
51
- "react-dom": "^18.3.1",
50
+ "react": "^19.0.0",
51
+ "react-dom": "^19.0.0",
52
52
  "rollup-preserve-directives": "^1.1.1",
53
53
  "vite": "^5.4.10",
54
- "vite-plugin-dts": "^3.6.3",
54
+ "vite-plugin-dts": "^4.3.0",
55
55
  "@scalar/build-tooling": "0.1.12"
56
56
  },
57
57
  "peerDependencies": {
58
- "react": "^18.0.0 || ^19.0.0"
58
+ "react": "^19.0.0"
59
59
  },
60
60
  "scripts": {
61
61
  "build": "pnpm types:check && pnpm build-only",