@scalar/nestjs-api-reference 0.5.6 → 0.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/README.md CHANGED
@@ -13,7 +13,7 @@ This middleware provides an easy way to render a beautiful API reference based o
13
13
 
14
14
  ## Community
15
15
 
16
- We are API nerds. You too? Let’s chat on Discord: <https://discord.gg/scalar>
16
+ We are API nerds. You too? Let's chat on Discord: <https://discord.gg/scalar>
17
17
 
18
18
  ## License
19
19
 
package/dist/index.cjs CHANGED
@@ -114,7 +114,7 @@ function apiReference(options) {
114
114
  <!DOCTYPE html>
115
115
  <html>
116
116
  <head>
117
- <title>Scalar API Reference</title>
117
+ <title>${options.title || "Scalar API Reference"}</title>
118
118
  <meta charset="utf-8" />
119
119
  <meta
120
120
  name="viewport"
package/dist/index.js CHANGED
@@ -88,7 +88,7 @@ function apiReference(options) {
88
88
  <!DOCTYPE html>
89
89
  <html>
90
90
  <head>
91
- <title>Scalar API Reference</title>
91
+ <title>${options.title || "Scalar API Reference"}</title>
92
92
  <meta charset="utf-8" />
93
93
  <meta
94
94
  name="viewport"
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "git+https://github.com/scalar/scalar.git",
11
11
  "directory": "integrations/nestjs"
12
12
  },
13
- "version": "0.5.6",
13
+ "version": "0.5.9",
14
14
  "engines": {
15
15
  "node": ">=20"
16
16
  },
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "module": "dist/index.js",
36
36
  "dependencies": {
37
- "@scalar/types": "0.2.5"
37
+ "@scalar/types": "0.2.8"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@nestjs/common": "^11.0.16",
@@ -47,8 +47,8 @@
47
47
  "supertest": "^6.3.3",
48
48
  "tsup": "^8.3.5",
49
49
  "vite": "5.4.19",
50
- "vitest": "^1.6.0",
51
- "@scalar/api-reference": "1.32.0"
50
+ "vitest": "^1.6.1",
51
+ "@scalar/api-reference": "1.32.6"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "tsup ./src/index.ts --format esm,cjs --dts",