@scalar/nextjs-api-reference 0.4.13 → 0.4.14
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 +9 -0
- package/README.md +3 -1
- package/dist/index.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -46,7 +46,9 @@ const config = {
|
|
|
46
46
|
}
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
We wrote a [detailed integration guide for Next.js](/documentation/nextjs.md).
|
|
50
|
+
|
|
51
|
+
The Next.js handler takes our universal configuration object, [read more about configuration](https://github.com/scalar/scalar/tree/main/documentation/configuration.md) in the core package README.
|
|
50
52
|
|
|
51
53
|
## Themes
|
|
52
54
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ReferenceConfiguration } from '@scalar/api-reference';
|
|
|
3
3
|
/**
|
|
4
4
|
* Next.js adapter for an Api Reference
|
|
5
5
|
*
|
|
6
|
-
* {@link https://github.com/scalar/scalar
|
|
6
|
+
* {@link https://github.com/scalar/scalar/tree/main/documentation/configuration.md Configuration}
|
|
7
7
|
*
|
|
8
8
|
* @params config - the Api Reference config object
|
|
9
9
|
* @params options - reserved for future use to add customization to the response
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"openapi",
|
|
19
19
|
"swagger"
|
|
20
20
|
],
|
|
21
|
-
"version": "0.4.
|
|
21
|
+
"version": "0.4.14",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"next": "^14.1.1",
|
|
39
39
|
"react": "^18.3.1",
|
|
40
|
-
"@scalar/api-reference": "1.24.
|
|
40
|
+
"@scalar/api-reference": "1.24.16"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^20.8.4",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react-dom": "^18.3.1",
|
|
50
50
|
"vite": "^5.2.10",
|
|
51
51
|
"vite-plugin-dts": "^3.6.3",
|
|
52
|
-
"@scalar/api-reference": "1.24.
|
|
52
|
+
"@scalar/api-reference": "1.24.16"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "pnpm types:check && pnpm build-only",
|